Redis Pipeline for Performance Gains
Learn to use Redis pipeline to build high-performance solutions.
Redis pipeline overview
Redis follows a simple request-response pattern where clients, such as applications and Redis CLI, send requests to the Redis server over TCP and wait (block) for the response. Because Redis is a high performance database, this works well in most cases, even at a high volume of requests per second. However, another factor is the network latency between Redis (server) and the client(s). This is independent of Redis performance. Even if Redis is operating at peak performance, we’ll need to incur the cost of back and forth between the client and server for every request, which is called round-trip time.
Get hands-on with 1200+ tech skills courses.