3 ms·
Cache and Sessions Both running in-memory speed up an application, but you can survive both being nuked (minus potentially logging everyone out).
by ChocolateGod 2y ago
Cache and Sessions
Both running in-memory speed up an application, but you can survive both being nuked (minus potentially logging everyone out).
- hinkley 2y agoNo. Cache protects your other services from peak traffic. Which often leads to wrong sizing of those services to reap efficiency gains. Autoscaling can’t necessarily keep up with that sort of problem. Remember how I mentioned circuit breakers? The only time we had trouble with memcached was when we set the max memory a little too high and it restarted due to lack of memory. Which of course likes to happen during high traffic. Not fixing those would have resulted in a metastable situation.
- marklubi 2y agoPub/Sub is a huge use case for me