{"id":23045189,"url":"https://github.com/helios2003/fastcask-db","last_synced_at":"2025-08-02T00:37:27.108Z","repository":{"id":260355067,"uuid":"868066710","full_name":"helios2003/FastCask-DB","owner":"helios2003","description":"Implementation of a high-performance key-value store, in C++ for efficient data storage and retrieval based on the principles of Bitcask","archived":false,"fork":false,"pushed_at":"2024-11-05T13:59:09.000Z","size":146,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T16:13:45.395Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/helios2003.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-10-05T11:46:28.000Z","updated_at":"2024-12-31T14:48:05.000Z","dependencies_parsed_at":"2024-10-30T22:17:50.403Z","dependency_job_id":"d0965d44-1880-4ea4-99c4-6b143677e99e","html_url":"https://github.com/helios2003/FastCask-DB","commit_stats":null,"previous_names":["helios2003/fastcask-db"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helios2003%2FFastCask-DB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helios2003%2FFastCask-DB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helios2003%2FFastCask-DB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helios2003%2FFastCask-DB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helios2003","download_url":"https://codeload.github.com/helios2003/FastCask-DB/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246922232,"owners_count":20855343,"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":[],"created_at":"2024-12-15T21:19:14.820Z","updated_at":"2025-04-03T01:44:58.361Z","avatar_url":"https://github.com/helios2003.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FastCask-DB\r\n\r\nFastCask-DB is a naive implementation of [Bitcask paper](https://riak.com/assets/bitcask-intro.pdf) in pure C++.\r\n\r\n## Getting Started\r\n- Clone the repository using the following command\r\n```\r\ngit clone https://github.com/helios2003/FastCask-DB.git\r\n```\r\n- Change directory into the cloned folder and insert the following commands\r\n```\r\n ./run.sh\r\n```\r\n- You will enter the terminal for FastCask DB where you can type the commands\r\n- Press ``Ctrl + C`` for a forceful closure or type ``EXIT`` for a graceful closure.\r\n- Run ``make clean`` to remove the object files created.\r\n\r\n## Performance testing\r\n- The performance has been measured using [Catch2](https://github.com/catchorg/Catch2). Follow the installation steps as given [here](https://github.com/catchorg/Catch2/blob/devel/docs/tutorial.md#top).\r\n- After downloading and configuring Catch2 write the following command\r\n```\r\ncd benchmark\r\n./test.sh\r\n``` \r\n## List of Commands Implemented\r\n- ``SET \u003ckey\u003e \u003cvalue\u003e \u003cexpiry_time: optional\u003e``: Sets the key and corresponding value with an optional expiry time.\r\n- ``GET \u003ckey\u003e``: Gets the value associated with the key.\r\n- ``DELETE \u003ckey\u003e``: Deletes the key and the associated values\r\n- ``LIST``: Lists all the keys.\r\n- ``SYNC``: Restores the database if there was a forceful exit done earlier (i.e. will not work if you exited from the DB shell using the ``EXIT`` command).\r\n- ``EXIT``: Graceful closure deleting all the data stored in memory and on the disk.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelios2003%2Ffastcask-db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelios2003%2Ffastcask-db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelios2003%2Ffastcask-db/lists"}