We treat this repo as "Open Source" within Redis: anyone who clears the bar below is welcome to contribute.
git clone git@github.com:redis-performance/serverless-cache-benchmark.git
cd serverless-cache-benchmark
go mod download
make buildThis produces a serverless-cache-benchmark binary in the current directory. Go 1.24 or later is required.
<type>/<short-description>
Types: feat, fix, refactor, test, docs, chore
Example: feat/add-cloudwatch-metrics
- Keep changes focused; one logical change per PR.
- Follow the conventions already present in the codebase (formatting, naming, error handling).
- No dead code, no commented-out blocks.
- Run
make checkfmt(wrapsgofmt) before pushing; CI will reject unformatted code.
- Fork or create a branch from
main. - Make your changes with clear, atomic commits.
- Open a pull request against
mainwith a descriptive title and summary. - Address review comments promptly; force-push to the same branch to update.
- All new behaviour must be covered by tests.
- Existing tests must pass: run the test suite locally before opening a PR.
- Coverage should not decrease.
Run the full test suite with:
make testThis command downloads dependencies, builds an instrumented binary, runs all Go tests with coverage enabled, and prints a coverage summary.
Quick smoke-test against a local Redis instance before opening a PR:
./serverless-cache-benchmark run --cache-type redis --redis-uri redis://localhost:6379 --clients 4 --test-time 10- At least one maintainer approval is required before merge.
- CI must be green.
- Maintainers may request changes or close PRs that do not meet the bar — this is normal and not personal.