16 ms·
Redis is slow?
by bionhoward 2y ago
Redis is slow?
- kermatt 2y agoI wish there was more context around that statement in his post. Redis while not having some of the features he mentions in [1] (i.e. SQL), when used for what it excels at is usually not considered "slow". As an in-memory data structure server, a common use case is to use it for where some operations in a typical RDBMS are slow. [1] https://youtu.be/fZbwD1gzjLk?t=2018 https://youtu.be/fZbwD1gzjLk?t=2018
- senderista 2y agoYes. 1. It is single-threaded, which severely limits throughput for a single instance. 2. All communication must go over a socket, which severely impacts latency for use cases where it could otherwise run in-process.
- breadwinner 2y agoWhat is the better alternative?
- bdangubic 2y agodepends on your use case. also, for most redis is fast enough which is why it is wildly popular
- yla92 2y agoDo checkout https://www.dragonflydb.io https://www.dragonflydb.io . It's also mentioned in the review!
- CRConrad 2y agoI'm so tired of these Web pages that look like iPhone screens.
- lmwnshn 2y agoSlow is relative, but you might want to check out Garnet [0] for ideas. Previous discussion at [1], current compatibility at [2]. [0] https://www.microsoft.com/en-us/research/blog/introducing-garnet-an-open-source-next-generation-faster-cache-store-for-accelerating-applications-and-services/ https://www.microsoft.com/en-us/research/blog/introducing-ga... [1] https://news.ycombinator.com/item?id=39752504 https://news.ycombinator.com/item?id=39752504 [2] https://microsoft.github.io/garnet/docs/commands/api-compatibility https://microsoft.github.io/garnet/docs/commands/api-compati...