Re: [Architecture] Cluster message replay

2013-07-12 Thread Srinath Perera
Hi Azeez, If it is sequential, when a node has left and rejoined, he can get the missing messages (Ok well given they are stored somewhere). Might be useful with deployments etc. But if we do not have a usecase, then no need. --Srinath On Fri, Jul 12, 2013 at 2:44 PM, Afkham Azeez

Re: [Architecture] Cluster message replay

2013-07-06 Thread Afkham Azeez
I have implemented a simple replay mechanism based on message UUIDs. On Thu, Jul 4, 2013 at 5:44 PM, Afkham Azeez az...@wso2.com wrote: There could be a situation where when a cluster message is sent, a member momentarily leaves the cluster, but joins immediately. This generally could

Re: [Architecture] Cluster message replay

2013-07-06 Thread Afkham Azeez
Yes, each cluster message has a UUID, and at the receiver, duplicates are eliminated. Azeez On Sat, Jul 6, 2013 at 5:25 PM, Sriskandarajah Suhothayan s...@wso2.comwrote: On Jul 4, 2013 6:39 PM, Isuru Haththotuwa isu...@wso2.com wrote: Hi, On Thu, Jul 4, 2013 at 5:44 PM, Afkham Azeez

[Architecture] Cluster message replay

2013-07-04 Thread Afkham Azeez
There could be a situation where when a cluster message is sent, a member momentarily leaves the cluster, but joins immediately. This generally could happen when the nodes slow down under load, or due to intermittent network failures. However, this could lead to failures because crucial cluster

Re: [Architecture] Cluster message replay

2013-07-04 Thread Isuru Haththotuwa
Hi, On Thu, Jul 4, 2013 at 5:44 PM, Afkham Azeez az...@wso2.com wrote: There could be a situation where when a cluster message is sent, a member momentarily leaves the cluster, but joins immediately. This generally could happen when the nodes slow down under load, or due to intermittent

Re: [Architecture] Cluster message replay

2013-07-04 Thread Afkham Azeez
On Thu, Jul 4, 2013 at 6:38 PM, Isuru Haththotuwa isu...@wso2.com wrote: Hi, On Thu, Jul 4, 2013 at 5:44 PM, Afkham Azeez az...@wso2.com wrote: There could be a situation where when a cluster message is sent, a member momentarily leaves the cluster, but joins immediately. This generally

Re: [Architecture] Cluster message replay

2013-07-04 Thread Paul Fremantle
Some systems (e.g. MQTT) allow for the last message on any given topic to be retained and then replayed to any new subscriber. This model can work well: it encourages the design of a topic space where you just need to know the last message (i.e. the latest state of that particular resource). Paul

Re: [Architecture] Cluster message replay

2013-07-04 Thread Afkham Azeez
On Fri, Jul 5, 2013 at 12:24 AM, Pulasthi Supun pulas...@wso2.com wrote: Hi, On Thu, Jul 4, 2013 at 8:00 PM, Paul Fremantle p...@wso2.com wrote: Some systems (e.g. MQTT) allow for the last message on any given topic to be retained and then replayed to any new subscriber. This model can