3 ms·
> If I have to scale a service to N instances where each of them cache the same type of data. Actually, they don't. If you're scaling a multi-user system to m
by illumin8 8y ago
> If I have to scale a service to N instances where each of them cache the same type of data.
Actually, they don't. If you're scaling a multi-user system to millions of users across hundreds/thousands of instances of your micro-service, they're likely to cache different data because different user sessions will be handled by each instance of your app. So, local caching in each micro-service is valuable. You just need to set an upper limit on how much memory to consume.