node-orm2
node-orm2 copied to clipboard
Custom cache like Redis
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?
#287
I'd recommend using the DB cache. If using Postgres, just increase the cache size in the postgresql.conf.