Open rvanzon opened 10 years ago
Hi,
I am using pm2 with multiple instances (-i max). Because node-orm2 uses memory-caching this causes problems because it's not shared between the different instances.
Is it possible to use Redis for caching? Or what would be the best way to add this?
I'd recommend using the DB cache. If using Postgres, just increase the cache size in the postgresql.conf.
Hi,
I am using pm2 with multiple instances (-i max). Because node-orm2 uses memory-caching this causes problems because it's not shared between the different instances.
Is it possible to use Redis for caching? Or what would be the best way to add this?