3 ms·
Our use case for redis is strictly in-memory cache only, basically what it was originally designed for. It’s used solely with the caveat that it cannot be trust
by ComputerGuru 9y ago
Our use case for redis is strictly in-memory cache only, basically what it was originally designed for. It’s used solely with the caveat that it cannot be trusted as a source of truth, that its data may disappear at any time, that the data is local to the node it is running under, etc.
For us, redis takes the place of IPC and “persistence” by not sharing lifetimes with its consumers, ie while redis May go down and our microservices restart all the time, the two have separate lifetimes and redis being around between the two bridges the temporal gap.
Using redis to store structured data is ineffective once you need something even remotely structured, requiring too many commands to perform what should be an atomic operation.