Skip to content

Commit 79d2b76

Browse files
Update benchmarks index.md (#1160)
* Update benchmarks index.md * Update content/operate/oss_and_stack/management/optimization/benchmarks/index.md --------- Co-authored-by: David Dougherty <david.dougherty@redis.com>
1 parent 065db6d commit 79d2b76

File tree

1 file changed

+1
-1
lines changed
  • content/operate/oss_and_stack/management/optimization/benchmarks

1 file changed

+1
-1
lines changed

content/operate/oss_and_stack/management/optimization/benchmarks/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ different options. If you plan to compare Redis to something else, then it is
145145
important to evaluate the functional and technical differences, and take them
146146
in account.
147147

148-
+ Redis is a server: all commands involve network or IPC round trips. It is meaningless to compare it to embedded data stores such as SQLite, Berkeley DB, Tokyo/Kyoto Cabinet, etc ... because the cost of most operations is primarily in network/protocol management.
148+
+ 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.
149149
+ 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.
150150
+ 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.
151151
+ 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.

0 commit comments

Comments
 (0)