{"id":27371576,"url":"https://github.com/crescentkohana/zeniire","last_synced_at":"2026-05-01T04:42:03.368Z","repository":{"id":133786135,"uuid":"602552369","full_name":"CrescentKohana/Zeniire","owner":"CrescentKohana","description":"A high performance server application for keeping track of a coin wallet balance. REST and gRPC APIs included. Written in Go utilizing Protocol Buffers.","archived":false,"fork":false,"pushed_at":"2023-02-17T11:31:48.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T09:50:14.351Z","etag":null,"topics":["go","grpc","job-interview","pre-assignment","protobuf","rest"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CrescentKohana.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","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,"zenodo":null}},"created_at":"2023-02-16T13:05:58.000Z","updated_at":"2023-02-16T13:09:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab138161-1c97-43b4-8383-58228c2d4161","html_url":"https://github.com/CrescentKohana/Zeniire","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CrescentKohana/Zeniire","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrescentKohana%2FZeniire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrescentKohana%2FZeniire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrescentKohana%2FZeniire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrescentKohana%2FZeniire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CrescentKohana","download_url":"https://codeload.github.com/CrescentKohana/Zeniire/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrescentKohana%2FZeniire/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32485297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["go","grpc","job-interview","pre-assignment","protobuf","rest"],"created_at":"2025-04-13T09:43:04.011Z","updated_at":"2026-05-01T04:42:03.362Z","avatar_url":"https://github.com/CrescentKohana.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003ch1 align=\"center\"\u003eZeniire\u003c/h1\u003e\n\n\u003e A high performance server application for keeping track of a coin wallet balance. REST and gRPC APIs included. Written in Go utilizing Protocol Buffers.\n\u003e The name, **Zeniire**, comes from the old Japanese word (銭入れ) for \"purse\".\n\u003e Also this is a practice project.\n\n### **[📰 CHANGELOG](docs/CHANGELOG.md)** | **[❤ CONTRIBUTING](docs/CONTRIBUTING.md)**\n\n## 📌 Features\n- Create new records of wallet balance either through gRPC or REST API.\n- Read the records of the wallet by specifing a datetime range.\n- Automatic deployment with docker-compose\n- Database migrations\n- TLS for gRPC\n\n## 📝 TODO\n\n- Proper user authentication system (e.g. with JWT)\n- More testing\n- Automatic benchmarks\n\n## 💨 Benchmarks\n\n### Instructions\n\n- Install go-wrk `go install github.com/tsliwowicz/go-wrk@latest`\n- Fill the database with data (e.g. with using [test_data.sql](docs/test_data.sql))\n- Run the service\n- Run the commands in the results section\n\n### Results\n\n- AMD Ryzen 9 6900HS\n- 32GB 4800MHz\n- Western Digital SN735 NVMe PCIe Gen3 x4\n- 1 000 000 records in the PSQL DB\n- 100 concurrent connections (-d 100)\n\n**Command** `go-wrk -c 100 -d 10 http://localhost:3333/?limit=10`\n\n```\nRunning 10s test @ http://localhost:3333/?limit=10\n  100 goroutine(s) running concurrently\n157462 requests in 9.948994505s, 31.23MB read\nRequests/sec:           15826.93\nTransfer/sec:           3.14MB\nAvg Req Time:           6.318346ms\nFastest Request:        0s\nSlowest Request:        258.9788ms\nNumber of Errors:       0\n```\n\n**Command** `go-wrk -c 100 -d 10 http://localhost:3333/?limit=10000`\n\n```\nRunning 10s test @ http://localhost:3333/?limit=10000\n  100 goroutine(s) running concurrently\n156117 requests in 10.089704292s, 30.97MB read\nRequests/sec:           15472.90\nTransfer/sec:           3.07MB\nAvg Req Time:           6.462911ms\nFastest Request:        0s\nSlowest Request:        299.4244ms\nNumber of Errors:       0\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrescentkohana%2Fzeniire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrescentkohana%2Fzeniire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrescentkohana%2Fzeniire/lists"}