Re:You Want Modules, Not Microservices
by jiggawatts on Tuesday January 03, 2023 @05:55PM
(#34239319)
Most web sites I've seen in industry have just two servers, and only for active-active availability. Because of this, cache locality makes very little difference, because both nodes need to cache common data anyway.
Cache locality starts making a difference when you have over ten servers, and a significant fraction of the data is cacheable.
For "transactional" Enterprise CRUD apps, often there is very little that can be cached due to consistency concerns.
Re:You Want Modules, Not Microservices
by closeparen on Tuesday January 03, 2023 @11:28PM
(#34242049)
I don't see the affinity between microservices and locality. Any kind of distributed storage, including cache, is going to include a choice about how data are partitioned, ordered, and indexed. If you want certain records to be in memory on the same nodes, you should not need a separate cache cluster to accomplish that, let alone a separate cache service implementation.
But I don't have to now.