{"id":31551540,"url":"https://github.com/jazware/redis-bench","last_synced_at":"2026-04-17T22:01:48.792Z","repository":{"id":174284739,"uuid":"652013419","full_name":"jazware/redis-bench","owner":"jazware","description":"A benchmark tool for different Redis backends","archived":false,"fork":false,"pushed_at":"2023-06-11T00:42:42.000Z","size":63,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-06T21:40:43.311Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jazware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-10T20:01:18.000Z","updated_at":"2023-06-10T20:01:48.000Z","dependencies_parsed_at":"2023-07-15T08:31:52.731Z","dependency_job_id":null,"html_url":"https://github.com/jazware/redis-bench","commit_stats":null,"previous_names":["ericvolp12/redis-bench","jazware/redis-bench"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jazware/redis-bench","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jazware%2Fredis-bench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jazware%2Fredis-bench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jazware%2Fredis-bench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jazware%2Fredis-bench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jazware","download_url":"https://codeload.github.com/jazware/redis-bench/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jazware%2Fredis-bench/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31947760,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-04T18:57:15.006Z","updated_at":"2026-04-17T22:01:48.371Z","avatar_url":"https://github.com/jazware.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Redis Benchmark Results\n\nI have been exploring both DragonflyDB and Redis-Stack as options for in-memory datastores.\n\nIn this exploration I decided to run a few benchmarks in Go using the `github.com/redis/go-redis/v9` client.\n\n## GCP Tests (Host Network)\n\nTests below were run on GCP instances with nothing else running on them, all containers were run in host network mode to avoid docker proxy bottlenecks.\n\nTimes shown are an average of 3 executions with DBs recreated in between each run.\n\n### `t2d-standard-2` (AMD Epyc Milan)\n\n| Test Name   | Inserts | Value Size | Reads      | Pipeline Size | Runs | redis-stack (write) | dragonfly (write) | redis-stack (read) | dragonfly (read) |\n|-------------|---------|------------|------------|---------------|------|---------------------|-------------------|--------------------|------------------|\n| No-Pipeline | 100,000 | 5          | 5,000,000  | -1            | 3    | 4.106s              | 6.427s            | 44.442s            | 78.345s          |\n| No-Pipeline | 100,000 | 1,000      | 5,000,000  | -1            | 3    | 4.002s              | 6.516s            | 45.847s            | 84.976s          |\n| No-Pipeline | 100,000 | 10,000     | 5,000,000  | -1            | 3    | 5.058s              | 8.190s            | 77.472s            | 133.798s         |\n| Pipeline    | 500,000 | 5          | 25,000,000 | 10,000        | 3    | 1.488s              | 8.813s            | 15.443s            | 34.237s          |\n| Pipeline    | 500,000 | 1,000      | 25,000,000 | 10,000        | 3    | 2.247s              | 11.023s           | 36.344s            | 56.709s          |\n| Pipeline    | 500,000 | 1,000      | 25,000,000 | 1,000         | 3    | 2.393s              | 8.879s            | 35.333s            | 78.564s          |\n| Pipeline    | 100,000 | 10,000     | 5,000,000  | 1,000         | 3    | 1.588s              | 3.848s            | 36.134s            | 36.020s          |\n\n### `t2d-standard-4` (AMD Epyc Milan)\n\n| Test Name   | Inserts | Value Size | Reads      | Pipeline Size | Runs | redis-stack (write) | dragonfly (write) | redis-stack (read) | dragonfly (read) |\n|-------------|---------|------------|------------|---------------|------|---------------------|-------------------|--------------------|------------------|\n| No-Pipeline | 100,000 | 5          | 5,000,000  | -1            | 3    | 3.453s              | 5.540s            | 23.100s            | 27.747s          |\n| No-Pipeline | 100,000 | 1,000      | 5,000,000  | -1            | 3    | 3.603s              | 5.586s            | 25.138s            | 30.318s          |\n| No-Pipeline | 100,000 | 10,000     | 5,000,000  | -1            | 3    | 4.536s              | 6.565s            | 38.234s            | 56.348s          |\n| Pipeline    | 500,000 | 5          | 25,000,000 | 10,000        | 3    | 1.438s              | 7.524s            | 13.398s            | 17.811s          |\n| Pipeline    | 500,000 | 1,000      | 25,000,000 | 10,000        | 3    | 2.141s              | 8.338s            | 34.349s            | 31.938s          |\n| Pipeline    | 500,000 | 1,000      | 25,000,000 | 1,000         | 3    | 2.156s              | 7.699s            | 27.274s            | 52.570s          |\n| Pipeline    | 100,000 | 10,000     | 5,000,000  | 1,000         | 3    | 1.315s              | 2.403s            | 36.558s            | 19.660s          |\n\n### `t2a-standard-4` (Ampere Altra ARM)\n\n| Test Name   | Inserts | Value Size | Reads      | Pipeline Size | Runs | redis-stack (write) | dragonfly (write) | redis-stack (read) | dragonfly (read) |\n|-------------|---------|------------|------------|---------------|------|---------------------|-------------------|--------------------|------------------|\n| No-Pipeline | 100,000 | 5          | 5,000,000  | -1            | 3    | 3.215s              | 4.361s            | 31.554s            | 45.531s          |\n| No-Pipeline | 100,000 | 1,000      | 5,000,000  | -1            | 3    | 3.463s              | 4.664s            | 35.010s            | 50.393s          |\n| No-Pipeline | 100,000 | 10,000     | 5,000,000  | -1            | 3    | 5.090s              | 6.630s            | 60.131s            | 85.508s          |\n| Pipeline    | 500,000 | 5          | 25,000,000 | 10,000        | 3    | 1.667s              | 6.310s            | 16.955s            | 24.440s          |\n| Pipeline    | 500,000 | 1,000      | 25,000,000 | 10,000        | 3    | 2.560s              | 7.050s            | 39.049s            | 55.376s          |\n| Pipeline    | 500,000 | 1,000      | 25,000,000 | 1,000         | 3    | 2.629s              | 7.001s            | 37.631s            | 65.552s          |\n| Pipeline    | 100,000 | 10,000     | 5,000,000  | 1,000         | 3    | 1.828s              | 2.253s            | 37.783s            | 36.004s          |\n\n### `t2d-standard-8` (AMD Epyc Milan)\n\n| Test Name   | Inserts | Value Size | Reads      | Pipeline Size | Runs | redis-stack (write) | dragonfly (write) | redis-stack (read) | dragonfly (read) |\n|-------------|---------|------------|------------|---------------|------|---------------------|-------------------|--------------------|------------------|\n| No-Pipeline | 100,000 | 5          | 5,000,000  | -1            | 3    | 3.602s              | 7.468s            | 27.297s            | 22.250s          |\n| No-Pipeline | 100,000 | 1,000      | 5,000,000  | -1            | 3    | 3.678s              | 7.619s            | 29.751s            | 24.723s          |\n| No-Pipeline | 100,000 | 10,000     | 5,000,000  | -1            | 3    | 4.765s              | 8.887s            | 43.024s            | 40.605s          |\n| Pipeline    | 500,000 | 5          | 25,000,000 | 10,000        | 3    | 1.480s              | 15.327s           | 13.444s            | 12.918s          |\n| Pipeline    | 500,000 | 1,000      | 25,000,000 | 10,000        | 3    | 2.266s              | 17.051s           | 32.299s            | 21.063s          |\n| Pipeline    | 500,000 | 1,000      | 25,000,000 | 1,000         | 3    | 2.332s              | 14.921s           | 30.711s            | 39.722s          |\n| Pipeline    | 100,000 | 10,000     | 5,000,000  | 1,000         | 3    | 1.472s              | 3.873s            | 38.814s            | 14.283s          |\n\n### `t2d-standard-16` (AMD Epyc Milan)\n\n| Test Name   | Inserts | Value Size | Reads      | Pipeline Size | Runs | redis-stack (write) | dragonfly (write) | redis-stack (read) | dragonfly (read) |\n|-------------|---------|------------|------------|---------------|------|---------------------|-------------------|--------------------|------------------|\n| No-Pipeline | 100,000 | 5          | 5,000,000  | -1            | 3    | 3.815s              | 8.345s            | 29.162s            | 21.100s          |\n| No-Pipeline | 100,000 | 1,000      | 5,000,000  | -1            | 3    | 4.054s              | 8.197s            | 31.351s            | 23.126s          |\n| No-Pipeline | 100,000 | 10,000     | 5,000,000  | -1            | 3    | 5.419s              | 9.741s            | 44.718s            | 33.335s          |\n| Pipeline    | 500,000 | 5          | 25,000,000 | 10,000        | 3    | 1.304s              | 20.265s           | 12.301s            | 12.927s          |\n| Pipeline    | 500,000 | 1,000      | 25,000,000 | 10,000        | 3    | 2.072s              | 21.752s           | 30.933s            | 20.841s          |\n| Pipeline    | 500,000 | 1,000      | 25,000,000 | 1,000         | 3    | 2.091s              | 19.244s           | 27.827s            | 39.162s          |\n| Pipeline    | 100,000 | 10,000     | 5,000,000  | 1,000         | 3    | 1.339s              | 4.534s            | 35.128s            | 13.063s          |\n\n### Versions\nDocker Commands\n```\ndocker run --rm -it --network host --name=dragonfly_bench   docker.dragonflydb.io/dragonflydb/dragonfly\ndocker run --rm -it --network host --name redis-stack       redis/redis-stack-server:latest\n```\n\n```\nDragonflyDB: df-v1.3.0-f80afca9c23e2f30373437520a162c591eaa2005\nRedis: 6.2.12 - oss\n```\n\n## Running\n\nTo run the tests:\n- Install docker on your system\n- Pull the required docker images (the binary doesn't currently do that for you right now)\n  - `docker pull redis/redis-stack-server:latest`\n  - `docker pull docker.dragonflydb.io/dragonflydb/dragonfly:latest` \n- Build the binary with `make bench`\n- Execute the bench binary with `./redis-bench`\n\nThe bench binary uses the Docker API to create containers for each test.\n\nIf you'd like to test other backends, update the `backendImageMap` and `backends` properties in `cmd/bench/main.go` and rebuild the binary.\n\nResults will be dumped into a `results.txt` file after all tests are finished in the format of a Markdown Table like the ones above.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjazware%2Fredis-bench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjazware%2Fredis-bench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjazware%2Fredis-bench/lists"}