{"id":29028013,"url":"https://github.com/misachi/sikv","last_synced_at":"2025-07-29T10:07:58.699Z","repository":{"id":240401265,"uuid":"796033216","full_name":"misachi/SiKV","owner":"misachi","description":"In memory Key Value store","archived":false,"fork":false,"pushed_at":"2024-07-21T18:24:04.000Z","size":263,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-07-21T20:13:10.738Z","etag":null,"topics":["cache","inmemory-cache","inmemory-db","key-value","key-value-store"],"latest_commit_sha":null,"homepage":"","language":"C","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/misachi.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-05-04T18:23:50.000Z","updated_at":"2024-07-21T18:24:08.000Z","dependencies_parsed_at":"2024-05-18T16:27:16.721Z","dependency_job_id":"25ce8abf-6f9c-410d-9d8e-276fc7d53940","html_url":"https://github.com/misachi/SiKV","commit_stats":null,"previous_names":["misachi/sikv"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/misachi/SiKV","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/misachi%2FSiKV","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/misachi%2FSiKV/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/misachi%2FSiKV/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/misachi%2FSiKV/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/misachi","download_url":"https://codeload.github.com/misachi/SiKV/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/misachi%2FSiKV/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262018773,"owners_count":23245622,"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":["cache","inmemory-cache","inmemory-db","key-value","key-value-store"],"created_at":"2025-06-26T07:05:19.255Z","updated_at":"2025-06-26T07:05:20.043Z","avatar_url":"https://github.com/misachi.png","language":"C","readme":"# SiKV\nIn memory Key Value store\n\nCurrently supports single threaded client-server communication. The underlying hashmap is not thread safe -- this will be changed later\n\nTested on my laptop installed with AMD Ryzen 7 5700U processor running the following software in a VM\n```\nUbuntu 20.04.6 LTS\nLinux 5.4.0-182-generic\nGCC v11.4.0\n```\n\n# Installing Dependencies\nTo install all requirements[Tested on Ubuntu]:\n```\nsudo chmod +x install_dependencies_ubuntu.sh\n./install_dependencies_ubuntu.sh\n```\n\nDefault is to use the custom allocator. You need to pass the `USE_CUSTOM_ALLOC=yes` flag like this `make USE_CUSTOM_ALLOC=yes`. Check the documentation for [liballoc](https://github.com/misachi/allocator) on how to install it. You also need to set `USE_CUSTOM_ALLOC` macro in `sikv.h` to 1 or a value greater than zero\n\nYou may need to add `/usr/local/lib` to your linker path with `ldconfig` command -- This might require user with `sudo` privileges as follows: `sudo ldconfig /usr/local/lib/`\n\n# Examples\n\n## Running the server\nRemember to replace `main.o` with `main.out`\n\n![Server Demo](assets/sikv-server.gif)\n\n## Running the client\nRemember to replace `client.o` with `client.out`\n\n![Client Demo](assets/sikv-client.gif)\n\n\n### Check for potential memory leaks\n**NOTE**: This will not run when using custom allocator(i.e USE_CUSTOM_ALLOC is set to value \u003e 0) since Valgrind does not work well with `mmap`\n\n```\nmake memcheck  # server\nmake client_memcheck  # client\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmisachi%2Fsikv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmisachi%2Fsikv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmisachi%2Fsikv/lists"}