hapijs / catbox-memory

Memory adapter for catbox
Other
33 stars 30 forks source link

Seems not to be cluster-proof #44

Closed gxapplications closed 7 years ago

gxapplications commented 7 years ago

When using this cache in cluster mode under PM2 (for hapi-rate-limit usage, in my case). I clearly see that the cache is not shared between my 4 instances. Well, because I suppose it's pure memory, its limited to the process. It should be logical, but not told anywhere...

Am I right or there is a problem about this? Specific configuration? If this cache cannot be cross-instance for cluster mode, I suggest to tell this in the main description of the module. I suppose some other catbox are cross-instance.

hueniverse commented 7 years ago

It is not shared by multiple instances. Feel free to suggest language to make this clearer as it will never support this use case.

lock[bot] commented 4 years ago

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.