Skip to content

Add blog post: Valkey 9.1 benchmark - #611

Open
Andriciuc wants to merge 6 commits into
valkey-io:mainfrom
Andriciuc:valkey-9.1-benchmark
Open

Add blog post: Valkey 9.1 benchmark#611
Andriciuc wants to merge 6 commits into
valkey-io:mainfrom
Andriciuc:valkey-9.1-benchmark

Conversation

@Andriciuc

Copy link
Copy Markdown
Contributor

Description

This PR is a blog post that describes valkey's benchmarking tool. It provides a how to, going through 3 levers that the user can use to benchmark valkey on their system.

Check List

  • [ X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.

@Andriciuc
Andriciuc requested a review from a team as a code owner July 24, 2026 13:51
@Andriciuc Andriciuc changed the title Valkey 9.1 benchmark Add blog post: Valkey 9.1 benchmark Jul 24, 2026
@coderabbitai

coderabbitai Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@Andriciuc, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 10 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: e2dcd2df-714c-4a5e-bafa-680dbff9d48c

📥 Commits

Reviewing files that changed from the base of the PR and between 4e47888 and da1a06c.

📒 Files selected for processing (1)
  • content/blog/2026-08-15-what-is-valkey-benchmark/index.md
📝 Walkthrough

Walkthrough

Changes

A new blog post introduces valkey-benchmark, explains limitations of default runs, documents keyspace, payload, and pipelining options, covers cluster-mode routing and replica testing, and provides a combined example command.

Valkey Benchmark Guide

Layer / File(s) Summary
Article framing and benchmark defaults
content/blog/2026-08-15-what-is-valkey-benchmark/index.md
Adds post metadata, introduces valkey-benchmark, and contrasts default runs with real workloads.
Production-like workload parameters
content/blog/2026-08-15-what-is-valkey-benchmark/index.md
Documents randomized keyspaces with -r, payload sizing with -d, and pipelining with -P, including examples and sample output.
Cluster mode and combined benchmark command
content/blog/2026-08-15-what-is-valkey-benchmark/index.md
Explains --cluster, {tag} key routing, and --rfr, then provides a combined benchmark command.

Suggested reviewers: madolson


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@greptile-apps

greptile-apps Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR adds a new blog post about using valkey-benchmark. The main changes are:

  • A how-to guide for shaping benchmark runs into more realistic workloads.
  • Examples for tuning keyspace size with -r, payload size with -d, and pipelining with -P.
  • Short guidance for using cluster mode with benchmark workloads.

Confidence Score: 5/5

Safe to merge with minimal risk.

The change is a single Markdown blog post with front matter consistent with existing content patterns, and no functional or security issues were identified.

No files require special attention.

T-Rex T-Rex Logs

What T-Rex did

  • Verified the baseline tooling state by confirming there was no zola executable before starting the workflow.
  • Confirmed the build completed successfully with /tmp/zola build exiting code 0.
  • Demonstrated the blog post render by inspecting the render video and the poster image, confirming the new post appears on the site.
  • Validated metadata and content structure by parsing frontmatter and headings and by confirming author existence, with no local markdown links or images detected.

View all artifacts

T-Rex Ran code and verified through T-Rex

Important Files Changed

Filename Overview
content/blog/2026-08-15-what-is-valkey-benchmark/index.md Adds a how-to blog post explaining how to tune valkey-benchmark with keyspace size, payload size, pipelining, and cluster mode; no blocking issues found.

Reviews (2): Last reviewed commit: "fix bash issue" | Re-trigger Greptile

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@content/blog/2026-08-15-what-is-valkey-benchmark/index.md`:
- Around line 63-66: Update the explanation following the valkey-benchmark
command to qualify the resulting key count as applying to an empty database,
note that existing keys may be overwritten, and instruct readers to verify the
actual count with DBSIZE.
- Line 25: Update the command-only code block in the blog content to remove the
shell prompt prefix, leaving valkey-benchmark as the standalone command without
adding output.
- Around line 134-136: Update the cluster-mode example in the benchmark
documentation to include a small command demonstrating --cluster with -c set to
at least the cluster node count, a custom key containing {tag} such as
key-{tag}, and --rfr yes. Use a read command so replica reads are valid, and
ensure the example is directly actionable.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: a4922b6d-f650-42ef-9c46-ddb5577202ab

📥 Commits

Reviewing files that changed from the base of the PR and between 710a321 and e6b103d.

📒 Files selected for processing (1)
  • content/blog/2026-08-15-what-is-valkey-benchmark/index.md

Comment thread content/blog/2026-08-15-what-is-valkey-benchmark/index.md Outdated
Comment thread content/blog/2026-08-15-what-is-valkey-benchmark/index.md
Comment thread content/blog/2026-08-15-what-is-valkey-benchmark/index.md Outdated
Signed-off-by: Dragos Andriciuc <andriciucdragos@protonmail.com>
Add introduction and hook

Signed-off-by: Dragos Andriciuc <andriciucdragos@protonmail.com>
Finish adding the draft content, add 3 levers that progressively increase in benchmarking solutions to the reader, add clustering as a nice to have and add CTA

Signed-off-by: Dragos Andriciuc <andriciucdragos@protonmail.com>
Signed-off-by: Dragos Andriciuc <andriciucdragos@protonmail.com>
@Andriciuc
Andriciuc force-pushed the valkey-9.1-benchmark branch from e6b103d to 4856355 Compare July 24, 2026 13:57

@stockholmux stockholmux left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good start! Two big callouts:

  • Cover latency
  • Work on your summary and CTA.

Comment thread content/blog/2026-08-15-what-is-valkey-benchmark/index.md Outdated
Comment thread content/blog/2026-08-15-what-is-valkey-benchmark/index.md
Comment thread content/blog/2026-08-15-what-is-valkey-benchmark/index.md Outdated
Comment thread content/blog/2026-08-15-what-is-valkey-benchmark/index.md Outdated
Comment thread content/blog/2026-08-15-what-is-valkey-benchmark/index.md Outdated
Comment thread content/blog/2026-08-15-what-is-valkey-benchmark/index.md Outdated
Comment thread content/blog/2026-08-15-what-is-valkey-benchmark/index.md Outdated
Comment thread content/blog/2026-08-15-what-is-valkey-benchmark/index.md Outdated
Comment thread content/blog/2026-08-15-what-is-valkey-benchmark/index.md Outdated
Comment thread content/blog/2026-08-15-what-is-valkey-benchmark/index.md
Update the blog with initial feedback, also refactored a bunch of paragraphs to flow more naturally.

Signed-off-by: Dragos Andriciuc <andriciucdragos@protonmail.com>

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Greptile has paused reviews on this repository — it used its 100 free open-source review credits for this billing period. Reviews resume automatically on August 11. To continue before then, an organization admin can keep reviews running past the free credits — those bill as normal usage.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 5

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@content/blog/2026-08-15-what-is-valkey-benchmark/index.md`:
- Line 44: Update the wording in the benchmark explanation so the phrase reads
“real-life production environments,” preserving the surrounding sentence and
meaning.
- Line 90: Update the sentence near the discussion of larger values to say
“network bandwidth usage” instead of “network bandwidth,” while preserving the
surrounding meaning and grammar.
- Around line 155-160: Add a fixed --seed value to the valkey-benchmark starting
command so repeated runs select the same random keys and remain reproducible.
- Line 54: Replace the malformed opening sentence in the benchmark article with
the clear statement that the golden rule of a useful benchmark is to compare
apples to apples, while preserving the subsequent explanation about comparing
Valkey versions or options.
- Around line 157-160: Remove the trailing -q option from the benchmark command
in the article so the combined SET/GET example displays throughput and latency
percentile output consistently with the documented defaults.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: c1af773f-5a9e-44e3-b033-06800c209da6

📥 Commits

Reviewing files that changed from the base of the PR and between e6b103d and 4e47888.

📒 Files selected for processing (1)
  • content/blog/2026-08-15-what-is-valkey-benchmark/index.md

Comment thread content/blog/2026-08-15-what-is-valkey-benchmark/index.md Outdated
Comment thread content/blog/2026-08-15-what-is-valkey-benchmark/index.md Outdated
Comment thread content/blog/2026-08-15-what-is-valkey-benchmark/index.md Outdated
Comment thread content/blog/2026-08-15-what-is-valkey-benchmark/index.md
Comment thread content/blog/2026-08-15-what-is-valkey-benchmark/index.md Outdated
- provided a hook after realistic payload transmissions, mentioning the 10/100/1000 byte payloads having the same throughput
- in pipelining, mentioned the trade off of the throughput and mentioned per-request latency rising as well.
- update CTA with a note for the new q arg and a clearer ending

Signed-off-by: Dragos Andriciuc <andriciucdragos@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants