3 ms·
I'm really surprised that the pendulum has swung so far in the other direction that people are recommending not to use Redis. Sure, don't introduce a data stor
by dimgl 2y ago
I'm really surprised that the pendulum has swung so far in the other direction that people are recommending not to use Redis.
Sure, don't introduce a data store into your stack unless you need it. But if you had to introduce one, Redis still seems like one of the best to introduce? It has fantastic data structures (like sorted sets, hash maps), great performance, robust key expiry, low communication overhead, low runtime overhead... I mean, the list goes on.
- esafak 2y agoI'd like to draw attention to its probabilistic data structures, in particular: HyperLogLog, Bloom filter, Cuckoo filter, t-digest, Top-K, Count-min sketch https://redis.io/docs/latest/develop/data-types/probabilistic/ https://redis.io/docs/latest/develop/data-types/probabilisti...
- dimgl 2y agoThis is wild, I had no idea it even had this.
- ks2048 2y agoYeah, my first thought was, “I don’t need redis, but I want redis”.
- hot_gril 2y agoOr a simple KV cache, which is pretty often something you need. Sure you can use Postgres for this if you really don't want another dep, but Redis or Memcached is better suited for it and probably cheaper.