Skip to content

Instantly share code, notes, and snippets.

@wilmoore
Last active October 29, 2024 16:30
Show Gist options
  • Select an option

  • Save wilmoore/0980ff8ee92cd4bb71a60ed25015f5cc to your computer and use it in GitHub Desktop.

Select an option

Save wilmoore/0980ff8ee92cd4bb71a60ed25015f5cc to your computer and use it in GitHub Desktop.
Software Engineering :: Database :: Redis :: Training :: Courses :: Advanced Redis :: 2. Improving Performance with Pipelines :: Pipelining

Software Engineering :: Database :: Redis :: Training :: Courses :: Advanced Redis :: 2. Improving Performance with Pipelines :: Pipelining

⪼ Made with 💜 by Polyglot.

CleanShot 2024-10-29 at 09 24 18@2x

Round Trip Time

Redis is a TCP server using the client-server model and the Request-Response protocol.

CleanShot 2024-10-29 at 09 24 26@2x

Client sends a query to the server and reads from the socket, usually in a blocking way, for the response.

CleanShot 2024-10-29 at 09 26 29@2x

Server processes the command then sends the response back to the client.

CleanShot 2024-10-29 at 09 27 08@2x

Time taken for request to go from the client to the server and the response to come back to the client is called Round Trip Time

CleanShot 2024-10-29 at 09 28 03@2x

Single Commands

CleanShot 2024-10-29 at 09 28 14@2x

Pipelining

CleanShot 2024-10-29 at 09 29 01@2x

Pipelined Commands

CleanShot 2024-10-29 at 09 29 10@2x

Pipelining

CleanShot 2024-10-29 at 09 29 36@2x


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment