{"id":16311205,"url":"https://github.com/yati-sagade/bitrust","last_synced_at":"2025-10-25T16:31:08.031Z","repository":{"id":57514838,"uuid":"137954130","full_name":"yati-sagade/bitrust","owner":"yati-sagade","description":"Bitcask implementation in Rust","archived":false,"fork":false,"pushed_at":"2022-01-31T09:23:22.000Z","size":293,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T08:51:16.891Z","etag":null,"topics":["bitcask","rust"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/yati-sagade.png","metadata":{"files":{"readme":"README.markdown","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":"2018-06-19T22:57:53.000Z","updated_at":"2023-11-20T08:13:51.000Z","dependencies_parsed_at":"2022-09-26T18:00:55.247Z","dependency_job_id":null,"html_url":"https://github.com/yati-sagade/bitrust","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yati-sagade%2Fbitrust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yati-sagade%2Fbitrust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yati-sagade%2Fbitrust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yati-sagade%2Fbitrust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yati-sagade","download_url":"https://codeload.github.com/yati-sagade/bitrust/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238174172,"owners_count":19428637,"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","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":["bitcask","rust"],"created_at":"2024-10-10T21:43:50.634Z","updated_at":"2025-10-25T16:31:02.684Z","avatar_url":"https://github.com/yati-sagade.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bitrust\n\n This is a Rust implementation of [Bitcask](https://riak.com/assets/bitcask-intro.pdf), a persistent key-value store for\n when the keyspace fits in memory. This is not a distributed datastore, but\n can be used as a building block for one.\n \n This crate hasn't been stress-tested. While it should be good enough for experimentation, we make no guarantees around data durability.\n \n ## Running\n\n```shell\n$ mkdir /tmp/bitrust_data\n$ cargo run -- --configfile ./example_configs/no-automerge.toml --loglevel debug\n\u003e put foo bar\n\u003e get foo\nOk(Some(\"bar\"))\n\u003e put baz spam\n\u003e put lala baba\n\u003e put baz egg\n\u003e lst\nlala\nfoo\nbaz\n\u003e get baz\nOk(Some(\"egg\"))\n\u003e quit \n$ less /tmp/bitrust_data/bitrust.log\n```\n\nYou can view the logs in a separate window by tailing `bitrust.log` in the\ndatadir.\n\n```\n$ tail -f /tmp/bitrust_data/bitrust.log\n```\n\n## Data directory contents\n\n- Data files are stored as `N.data` where `N` is an integer starting at 0.\n- `.activefile` contains the name of the current \"active\" log file (i.e., the\none taking writes). All other datafiles are immutable.\n- `bitrust.log` contains logs. Level of logging is controlled by the `-l/--loglevel` switch.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyati-sagade%2Fbitrust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyati-sagade%2Fbitrust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyati-sagade%2Fbitrust/lists"}