{"id":15045958,"url":"https://github.com/denoland/deno-kv-benchmarks","last_synced_at":"2025-08-28T23:44:08.393Z","repository":{"id":212328399,"uuid":"636411149","full_name":"denoland/deno-kv-benchmarks","owner":"denoland","description":"Benchmark Deno KV vs Upstash Redis/AWS DynamoDB Global Tables/CF Workers KV/Cloud Firestore","archived":false,"fork":false,"pushed_at":"2024-01-19T05:32:39.000Z","size":37209,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-05-31T14:43:43.292Z","etag":null,"topics":["cloudflare-workers","deno","denokv","dynamodb","upstash-redis"],"latest_commit_sha":null,"homepage":"https://deno-kv-benchmarks-test.deno.dev/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/denoland.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-05-04T19:40:18.000Z","updated_at":"2024-12-01T13:17:03.000Z","dependencies_parsed_at":"2024-09-25T02:09:27.990Z","dependency_job_id":null,"html_url":"https://github.com/denoland/deno-kv-benchmarks","commit_stats":null,"previous_names":["denoland/deno-kv-benchmarks"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/denoland/deno-kv-benchmarks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denoland%2Fdeno-kv-benchmarks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denoland%2Fdeno-kv-benchmarks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denoland%2Fdeno-kv-benchmarks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denoland%2Fdeno-kv-benchmarks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denoland","download_url":"https://codeload.github.com/denoland/deno-kv-benchmarks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denoland%2Fdeno-kv-benchmarks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272582395,"owners_count":24959418,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cloudflare-workers","deno","denokv","dynamodb","upstash-redis"],"created_at":"2024-09-24T20:52:31.157Z","updated_at":"2025-08-28T23:44:08.347Z","avatar_url":"https://github.com/denoland.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deno KV vs Other Databases Benchmark\n\nIn an effort to benchmark Deno KV against other serverless databases, this\nimplements an application split into different services. Each service measures\nread/write latency to databases and are hosted in a way to ensure that the\nlatency excludes any network latency—by e.g. provisioning both the serverless\nfunction in the same AWS region as the respective database.\n\nFor more details, check out\n[the blog post summary](https://deno.com/blog/comparing-deno-kv).\n\n## Databases\n\n- [Deno KV]\n- [Upstash Redis]\n- [AWS DynamoDB Global Tables]\n- [Firestore]\n- [Cloudflare Workers KV]\n\n## How to setup the benchmark\n\n1. Setup the various cloud providers with Terraform by following the\n   instructions in the [provision README]. **All subsequent instructions must be\n   run with the environment variables listed in the provision README.**\n2. Deploy the Deno backend component by running the deployment script\n   ```bash\n   ./setup/provision/utils/deploy-deno-kv-backend.sh\n   ```\n3. Populate the newly provisioned databases by running the population script\n   ```bash\n   ./setup/populate/populate-databases.sh\n   ```\n4. Deploy the frontend by running the deployment script\n   ```bash\n   ./setup/provision/utils/deploy-deno-kv-frontend.sh\n   ```\n5. View the frontend by visiting the link output by the deployment script.\n\n## Developing the frontend\n\nThe frontend requires `frontend/lib/config.json` to be present for its backend\nendpoint in order to invoke the various services. To create the JSON file you\nmust build out the infrastructure as outlined in the [provision README], then\nyou can run\n\n```bash\n./setup/provision/utils/update-deno-kv-frontend.sh\n```\n\nwhich will create the `config.json` from the Terraform state file and required\nenvironment variables.\n\n\u003c!-- Links --\u003e\n\n[Deno KV]: https://deno.com/kv\n[Upstash Redis]: https://upstash.com/redis\n[AWS DynamoDB Global Tables]: https://aws.amazon.com/dynamodb/global-tables/\n[Firestore]: https://firebase.google.com/docs/firestore\n[Cloudflare Workers KV]: https://www.cloudflare.com/products/workers-kv/\n[provision README]: ./setup/provision/README.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenoland%2Fdeno-kv-benchmarks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenoland%2Fdeno-kv-benchmarks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenoland%2Fdeno-kv-benchmarks/lists"}