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
otm:ordering_of_messages [2011/06/27 05:15]
aspectscript
otm:ordering_of_messages [2011/06/27 06:19] (current)
aspectscript
Line 1: Line 1:
 ====== Controlling Message Causality ====== ====== Controlling Message Causality ======
  
-{{ :otm:ajax.png?525x270 |}}+{{ :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, which combines [[en.wikipedia.org/wiki/Aspect-oriented_programming|aspects]] and [[http://en.wikipedia.org/wiki/Vector_clock|message ordering strategies]], we develop these strategies.
  
 Go [[../weca|WeCa home]]. Go [[../weca|WeCa home]].
  • otm/ordering_of_messages.1309162548.txt.gz
  • Last modified: 2011/06/27 05:15
  • by aspectscript