3 ms·
> And since it's not like there's a huge penalty for using Redis There is compared to shared memory. If you actually need to scale and don't have an in-memory
by qes 7y ago
> And since it's not like there's a huge penalty for using Redis
There is compared to shared memory.
If you actually need to scale and don't have an in-memory cache layer over Redis you're likely going to get hurt.
- core-questions 7y agoThe real solution here is to simply write your code with an appropriate amount of abstractions, and then start with the simplest / cheapest backend that fits your needs. When it comes time to add Redis, or shared memory, or both, only a small amount of your code needs to be adjusted for the new backing store.