otm:ordering_of_messages

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
otm:ordering_of_messages [2011/06/27 05:16]
aspectscript
otm:ordering_of_messages [2011/06/27 06:15]
aspectscript
Line 1: Line 1:
 ====== Controlling Message Causality ====== ====== Controlling Message Causality ======
  
-{{ :otm:ajax.png?530x270 |}}+{{ :otm:ajax.png?533x270 |}}
  
 A Web application can send several Ajax requests to different servers. However, the application can retrieve and process the server responses in an arbitrary order; meaning that this application may behave nondeterministically due to the lack of control of the causality between Ajax requests and server responses. For example, the figure shows that if a WebApp sends A Web application can send several Ajax requests to different servers. However, the application can retrieve and process the server responses in an arbitrary order; meaning that this application may behave nondeterministically due to the lack of control of the causality between Ajax requests and server responses. For example, the figure shows that if a WebApp sends
Line 13: Line 13:
  
   * [[otm/ordering_of_messages/Discard Early|Discard Early]]. The Discard Early strategy discards early server responses. This example illustrates how to define and use the discard early strategy to show correctly the first posts of a thread in a forum.   * [[otm/ordering_of_messages/Discard Early|Discard Early]]. The Discard Early strategy discards early server responses. This example illustrates how to define and use the discard early strategy to show correctly the first posts of a thread in a forum.
 +
 +Using WeCa, 
  
 Go [[../weca|WeCa home]]. Go [[../weca|WeCa home]].
  • otm/ordering_of_messages.txt
  • Last modified: 2011/06/27 06:19
  • by aspectscript