Hazelcast IMAP Entry Listener notification Ordering

54 views
Skip to first unread message

amit gupta

unread,
Oct 16, 2020, 1:25:11 AM10/16/20
to Hazelcast
Hi All,

I have few questions regarding the order of notifications delivered to an entry listener as a when Add/Modify/Delete operations performed on an IMAP.
  • Does Hazelcast guarantee that notification to a listener will deliver in the same order as an operation performed on IMAP pertaining to the same key?
  • Does Ancy/Sync client play a role here to guarantee the ordered delivery as mentioned in the point above?
Regards,
Amit

amit gupta

unread,
Oct 19, 2020, 10:12:09 AM10/19/20
to Hazelcast
Let me rephrase this again...
  • I want to know if the Entry listener client receives the notification in the same order as operations are performed on an IMAP e.g. if operations are performed in the order of Add/Update/Delete then Listener will also get the notification in the same order. Is this guaranteed based on the key?
  • Is this dependent on factors like whether we use Sync/Async client?
Any help regarding this is well appreciated.

Regards,
Amit

amit gupta

unread,
Oct 20, 2020, 6:54:27 AM10/20/20
to Hazelcast
Let me rephrase this again...
  • I want to know if the Entry listener client receives the notification in the same order as operations are performed on an IMAP e.g. if operations are performed in the order of Add/Update/Delete then Listener will also get the notification in the same order. Is this guaranteed based on the key?
  • Is this dependent on factors like whether we use Sync/Async client?
Any help regarding this is well appreciated

Neil Stevenson

unread,
Oct 20, 2020, 7:01:06 AM10/20/20
to Hazelcast
Hi

 If there are two updates to key X, it is guaranteed that the client gets them in the order they occurred for that key.

 If there is an update to key X and to key Y, it is not guaranteed which one the clients gets first, as for instance, these updates could have happened on different servers

 Use of aysnc/sync won't affect this.


Neil

amit gupta

unread,
Oct 20, 2020, 7:14:24 AM10/20/20
to haze...@googlegroups.com
Thank you so much Neil!

This message contains confidential information and is intended only for the individuals named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required, please request a hard-copy version. -Hazelcast

--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/87327d5d-8b7a-47c4-8f93-457853c1e73an%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages