globalMap concurrency

mercredi 26 novembre 2014

Should I be afraid of concurrency in the globalMap?

As in:



Channel1 creates/updates globalMap key "A".

Channel1 routes message to Channel2.



Before Channel2 can read globalMap key "A", another message was sent to Channel1, which updated the globalMap key "A" and therefore Channel2 is now reading that updated key (wrong information).



Would appreciate any help.





globalMap concurrency

0 commentaires:

Enregistrer un commentaire