{"id":41128720,"url":"https://github.com/yowcow/goromdb","last_synced_at":"2026-01-22T18:17:17.735Z","repository":{"id":57518306,"uuid":"105531771","full_name":"yowcow/goromdb","owner":"yowcow","description":"Yet another single process KVS server implemented over file-based database","archived":false,"fork":false,"pushed_at":"2020-01-10T08:25:34.000Z","size":269,"stargazers_count":12,"open_issues_count":4,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-28T11:08:51.737Z","etag":null,"topics":["berkeley-db","boltdb","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yowcow.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}},"created_at":"2017-10-02T12:30:09.000Z","updated_at":"2024-04-17T03:48:31.000Z","dependencies_parsed_at":"2022-09-26T18:00:31.499Z","dependency_job_id":null,"html_url":"https://github.com/yowcow/goromdb","commit_stats":null,"previous_names":["yowcow/go-romdb"],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/yowcow/goromdb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yowcow%2Fgoromdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yowcow%2Fgoromdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yowcow%2Fgoromdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yowcow%2Fgoromdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yowcow","download_url":"https://codeload.github.com/yowcow/goromdb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yowcow%2Fgoromdb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28667907,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T17:07:18.858Z","status":"ssl_error","status_checked_at":"2026-01-22T17:05:02.040Z","response_time":144,"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":["berkeley-db","boltdb","golang"],"created_at":"2026-01-22T18:17:16.924Z","updated_at":"2026-01-22T18:17:17.725Z","avatar_url":"https://github.com/yowcow.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/yowcow/goromdb.svg?branch=master)](https://travis-ci.org/yowcow/goromdb)\n[![Go Report Card](https://goreportcard.com/badge/github.com/yowcow/goromdb)](https://goreportcard.com/report/github.com/yowcow/goromdb)\n\nGOROMDB\n=======\n\nYet another single process KVS server implemented over file-based database.\n\nGOROMDB is a datastore that:\n\n+ accepts read-only access\n+ talks multiple protocols like memcached and others\n+ handles multiple database backends like JSON, BerkeleyDB, BoltDB, and others\n\nSTRUCTURE\n---------\n\n```\n                     .---------.\n                     | watcher |\n                     '----+----'\n                          |\n        .--------.   .----+----.   .---------.\nTCP --\u003e | server +---+ handler +---+ storage |-.\n        '----+---'   '----+----'   '---------' | \u003c-- Replacable database\n             |            |          '---------'\n       .-----+----.   .---+----.\n       | protocol |   | loader |\n       '----------'   '--------'\n```\n\nHOW TO USE\n----------\n\nGOROMDB can be used as an executable binary, or a collection of simple libraries.\n\n### Executable Binary\n\nJust do:\n\n```\ngo install github.com/yowcow/goromdb\n```\n\nAn example of booting GOROMDB with BerkeleyDB database is:\n\n```\ngoromdb -addr :11211 -storage bdb -file path/to/bdb-data.db -basedir path/to/store\n```\n\nNote that default compilation of the binary only covers basic features of GOROMDB.\nIf full capability, like namespaced database, and/or multiple database file deployment, is required, craft libraries and build GOROMDB for your own.\n\nGOROMDB does not daemonize itself.  Look of other tools to daemonize GOROMDB.\n\n### Libraries\n\nJust do:\n\n```\ngo get github.com/yowcow/goromdb\n```\n\nand import whatever package into your source code.\n\nBENCHMARK AND PERFORMANCE\n-------------------------\n\nGOROMDB should serve fast but maybe not quite as fast as pure memcached.\nDetailed benchmark is comming up.\n\nDIRECTORY STRUCTURE\n-------------------\n\nWhen `-basedir` of `/tmp/path/to/dir` is specified at boot, GOROMDB creates subdirectories `data00` and `data01` under `/tmp/path/to/dir`:\n\n```\n/tmp/path/to/dir\n├── db00\n└── db01\n```\n\nWhen `-file` of `/tmp/path/to/dir/data.db` is specified at boot, GOROMDB will watch for database file `/tmp/path/to/dir/data.db` and its MD5 sum file `/tmp/path/to/dir/data.db.md5`.\n\nWhen database and MD5 files are placed in directory `/tmp/path/to/dir`, GOROMDB will verify MD5 sum.\n\n```\n/tmp/path/to/dir\n├── data00\n├── data01\n├── data.db\n└── data.db.md5\n```\n\nOnce MD5 sum verification succeeds, GOROMDB will move data file into subdirectory either `data00` or `data01`, and load the database into running server.\n\n```\n/tmp/path/to/dir\n├── data00\n│   └── data.db\n└── data01\n```\n\nPlacing database and MD5 sum files again will load database into next subdirectory `data01` vice versa.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyowcow%2Fgoromdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyowcow%2Fgoromdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyowcow%2Fgoromdb/lists"}