Message buffering
AjaxSync pays regard to service crashes and network outages.
If a client calls a function and cannot reach the AjaxSync server for any reason, it places the call into a buffer queue and delivers it as soon as the connection is re-established, And if the AjaxSync server cannot reach one of the registered call receivers for any reason, it places the call into a buffer queue and delivers it as soon as the connection is re-established,
This mechanism reminds strongly on Mail Transfer Agents (MTA's). Like that mechanism, AjaxSync uses timeouts if the outage duration is too long. Unlike the MTA mechanism, timeouts are highly configurable: each single call can have a different client (from caller to server) and server (from server to destination client) timeout.
|