monstache
monstache copied to clipboard
Further understanding of the worker mode
As the document said: monstache will hash the id of each document using consistent hashing so that each id is handled by only one of the available workers.
And my question is: Do these three processes subscribe to the same change stream?
If positive, MongoDB would presumably send three events to the three worker processes, and then they use consistent hashing to determine whether this document should be handled by the current worker, do I understand it correctly?
Any responses would be thankful. ^_^