Skip to content

Commit

Permalink
pipelining.md, valkey-io#125
Browse files Browse the repository at this point in the history
Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
  • Loading branch information
zuiderkwast committed Jun 20, 2024
1 parent a699d5a commit 5847fdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions topics/pipelining.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ reaches 10 times the baseline obtained without pipelining, as shown in this figu
## A real world code example


In the following benchmark we'll use the Valkey Ruby client, supporting pipelining, to test the speed improvement due to pipelining:
In the following benchmark we'll use a Ruby client, supporting pipelining, to test the speed improvement due to pipelining:

```ruby
require 'rubygems'
Expand Down Expand Up @@ -130,7 +130,7 @@ bench('with pipelining') do
end
```

Running the above simple script yields the following figures on my Mac OS X system, running over the loopback interface, where pipelining will provide the smallest improvement as the RTT is already pretty low:
Running the above simple script yields the following figures on my MacOS system, running over the loopback interface, where pipelining will provide the smallest improvement as the RTT is already pretty low:

```
without pipelining 1.185238 seconds
Expand Down

0 comments on commit 5847fdb

Please sign in to comment.