Skip to content

Commit

Permalink
Update content/operate/oss_and_stack/management/optimization/benchmar…
Browse files Browse the repository at this point in the history
…ks/index.md
  • Loading branch information
dwdougherty authored Feb 12, 2025
1 parent d700c01 commit 963752d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ different options. If you plan to compare Redis to something else, then it is
important to evaluate the functional and technical differences, and take them
in account.

+ Redis is a server, hence, all commands involve network round trips. Embedded data stores do not involve network and protocol managements. To compare such products against Redis, apples to apples, command execution times should be used instead of end-to-end times.
+ Redis is a server, hence, all commands involve network round trips. Embedded data stores do not involve network and protocol management. When comparing such products to Redis, command execution times should be used instead of end-to-end times.
+ Redis commands return an acknowledgment for all usual commands. Some other data stores do not. Comparing Redis to stores involving one-way queries is only mildly useful.
+ Naively iterating on synchronous Redis commands does not benchmark Redis itself, but rather measure your network (or IPC) latency and the client library intrinsic latency. To really test Redis, you need multiple connections (like redis-benchmark) and/or to use pipelining to aggregate several commands and/or multiple threads or processes.
+ Redis is an in-memory data store with some optional persistence options. If you plan to compare it to transactional servers (MySQL, PostgreSQL, etc ...), then you should consider activating AOF and decide on a suitable fsync policy.
Expand Down

0 comments on commit 963752d

Please sign in to comment.