4 ms·
Does anyone know of a similar cache that lets you restrict memory usage by “customer” for example? I used redis scripting to implement this use case in redis, i
by marktangotango 7y ago
Does anyone know of a similar cache that lets you restrict memory usage by “customer” for example? I used redis scripting to implement this use case in redis, it really feels like a hack though.
- derekperkins 7y agoSeems like you would just instantiate separate caches per customer if that's what you're looking for.
- hinkley 7y agoCaches generally sit above the auth system. Sharing them between customers is a catastrophe waiting to happen. We spend a lot of time here in postmortems asking what they hell were they thinking. This is a great opportunity to ask pre-catastrophe.
- hinkley 7y agoWhy are you sharing caches between customers?
- marktangotango 7y agoWhy would anyone do that? https://en.wikipedia.org/wiki/Principle_of_charity https://en.wikipedia.org/wiki/Principle_of_charity