3 ms·
There are obvious reasons for needing networking access, but even when you don't need it: 1) Redis is much more memory efficient than your average programming
by antirez 15y ago
There are obvious reasons for needing networking access, but even when you don't need it:
1) Redis is much more memory efficient than your average programming language.
2) Redis handles persistence and replication for you. Not a joke.
3) Accessing data with atomic operations on complex data types from your application using multiple threads can create more problems.
4) Your application is free of doing other stuff if you use a non blocking client, if you are asking Redis to do computationally intensive tasks.
5) There is no easy way to model Redis sorted sets, in many very high level languages, at the same speed, without writing a C extension.
- rarrrrrr 15y agoAnother benefit I run into is sidestepping the GIL in Python or Ruby. Instead of using multiple threads to manipulate data in-process, use multiple processes to manipulate the data in Redis.