Speed
- Written in ANSI C
- Pipelining
- MultiBulkCommands
- epoll >= 1.1
- Benchmarks
Redis takes the whole dataset in memory and
writes asynchronously to disk in order to be very fast, you have the best of both worlds: hyper-speed and
persistence for your data.
Establishing a new connection to a Redis Server is
simple and
fast nothing more that a TCP three way handshake. There is no authentication or other handshake involved (
Google Group: Can we use connection pool in Redis?) You can read more about the way Redis clients communicate with servers in the
Protocol Specification.
On most commodity hardware it takes about 45 seconds to restore a 2 GB database, without fancy RAID. This can give you some kind of feeling about the order of magnitude of the time needed to load data when you restart the server, so restarting a server is fast too.
Also
Replication is fast, benchamarks will give you the the same order of magnitude a restart does (
Google Group: Replication speed benchmak)