{"id":15056644,"url":"https://github.com/mohitgupta07/go-hit","last_synced_at":"2026-04-01T21:49:37.034Z","repository":{"id":247680645,"uuid":"826550309","full_name":"mohitgupta07/go-hit","owner":"mohitgupta07","description":"A KV store written in go for high throughput, low latency, high scalability and fault tolerance.","archived":false,"fork":false,"pushed_at":"2024-07-23T17:29:08.000Z","size":97,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-28T00:22:55.322Z","etag":null,"topics":["cassandra","fault-tolerance","golang","high-availability","high-performance","high-scalability","high-throughput","nosql","persistent-storage","postgresql","redis","single-file-write"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mohitgupta07.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":"2024-07-09T23:37:33.000Z","updated_at":"2024-07-23T17:29:13.000Z","dependencies_parsed_at":"2024-07-23T20:25:24.770Z","dependency_job_id":null,"html_url":"https://github.com/mohitgupta07/go-hit","commit_stats":{"total_commits":48,"total_committers":1,"mean_commits":48.0,"dds":0.0,"last_synced_commit":"9c82d3620af784c547ae77ad403e5e18ee55763f"},"previous_names":["mohitgupta07/go-hit"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/mohitgupta07/go-hit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohitgupta07%2Fgo-hit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohitgupta07%2Fgo-hit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohitgupta07%2Fgo-hit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohitgupta07%2Fgo-hit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mohitgupta07","download_url":"https://codeload.github.com/mohitgupta07/go-hit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohitgupta07%2Fgo-hit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31292558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"last_error":"SSL_read: 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":["cassandra","fault-tolerance","golang","high-availability","high-performance","high-scalability","high-throughput","nosql","persistent-storage","postgresql","redis","single-file-write"],"created_at":"2024-09-24T21:54:37.232Z","updated_at":"2026-04-01T21:49:37.017Z","avatar_url":"https://github.com/mohitgupta07.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go-Hit\n\nThis is a KV-store tool implemented in Go.\n\nSimple objective: To make a tool which is super scalable, fast, can handle tons of data for scalability.\n\nTo start the server:\n```shell\ngo run cmd/go-hit-server/main.go\n```\n\nSimple objective of this is to create the best of all worlds like solution that can support multiple backend storage. Also, it should be concurrent in nature.\n\n**Why do we need this?**\n- Easy to digest, fast to read and fault tolerant to restart.\n- Can support 100k writes a second and data reload (on restart) should be atleast as fast as 100k read per sec. Note that we are just talking about a simple benchmark of write a {\"key\":\"value\"} no matter how we store in rdbms, nosql, file storage, etc.\n\n\u003ch1\u003eBenchmark Report:\u003c/h1\u003e\n\n| Benchmark Name                      | Operations | Time per Operation | Memory Allocs per Operation | Notes                         |\n|-------------------------------------|------------|--------------------|-----------------------------|-------------------------------|\n| **Postgres**                        |            |                    |                             |                               |\n| BenchmarkSaveToDisk                 | 8886       | 138285 ns/op       | 462 B/op                    |                               |\n| BenchmarkLoad                       | 9631       | 2622185 ns/op      | 2046178 B/op                |                               |\n| **Postgres with IO concurrency = 10**|            |                    |                             |                               |\n| BenchmarkSaveToDisk                 | 29551      | 37869 ns/op        | 493 B/op                    |                               |\n| BenchmarkLoad                       | 1450       | 7427697 ns/op      | 3173033 B/op                |                               |\n| **SFW with IO concurrency = 10**    |            |                    |                             |                               |\n| BenchmarkSaveToDisk                 | 16446      | 104123 ns/op       | 782 B/op                    |                               |\n| BenchmarkSaveToDisk(without cleanup)                 | 30753      | 35351 ns/op       | 4862 B/op                    |                               |\n| BenchmarkLoad                       | 1704       | 9426406 ns/op      | 3909961 B/op                |                               |\n| **Cassandra with IO concurrency = 500**    |            |                    |                             |                               |\n| BenchmarkSaveToDisk                 | 103744      | 9803 ns/op       | 2899 B/op                    |                               |\n| BenchmarkLoad                       | 638       | 2193735 ns/op      | 132143 B/op                |                               |\n\n\nOne interesting thing to notice about sfw and cassandra load operation is that when we do load operation without benchmarking tool, it works pretty fast","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohitgupta07%2Fgo-hit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohitgupta07%2Fgo-hit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohitgupta07%2Fgo-hit/lists"}