{"id":17008726,"url":"https://github.com/i-e-b/streamdb","last_synced_at":"2026-03-06T11:01:20.366Z","repository":{"id":64096203,"uuid":"209775321","full_name":"i-e-b/StreamDb","owner":"i-e-b","description":"A minimalist database that uses only Streams as storage, and can survive power loss and data corruption","archived":false,"fork":false,"pushed_at":"2022-12-02T10:50:27.000Z","size":943,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-01T01:57:42.353Z","etag":null,"topics":["byte-streams","csharp","database","minimalist-database","recoverable","storage","working"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/i-e-b.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":"2019-09-20T11:30:51.000Z","updated_at":"2025-04-18T17:54:22.000Z","dependencies_parsed_at":"2023-01-14T22:00:57.989Z","dependency_job_id":null,"html_url":"https://github.com/i-e-b/StreamDb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/i-e-b/StreamDb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i-e-b%2FStreamDb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i-e-b%2FStreamDb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i-e-b%2FStreamDb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i-e-b%2FStreamDb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/i-e-b","download_url":"https://codeload.github.com/i-e-b/StreamDb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i-e-b%2FStreamDb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30173343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T07:56:45.623Z","status":"ssl_error","status_checked_at":"2026-03-06T07:55:55.621Z","response_time":250,"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":["byte-streams","csharp","database","minimalist-database","recoverable","storage","working"],"created_at":"2024-10-14T05:29:08.402Z","updated_at":"2026-03-06T11:01:20.348Z","avatar_url":"https://github.com/i-e-b.png","language":"C#","readme":"# StreamDb\n\nA minimalist database that uses only Streams as storage, and can survive power loss and data corruption.\nThis is working, but don't use it for anything important without significant testing.\n\nThere is also a small WinForms app to explore StreamDB files created by other software.\n\n## The plan:\n\n* A generalised page storage system, using fixed size pages\n* Every page is monotonically versioned\n* Pages are garbage collected once enough versions behind\n* Data is referred to with a GUID identifier\n* Data is stored as binary objects\n* A special path object is maintained to link string paths to object GUIDs\n\n## Goals:\n\n1. Be reliable (specifically, don't corrupt the database if the host process crashes)\n2. No 3rd party dependencies, run in most basic C# environment possible (i.e. .Net Standard)\n3. Be reasonably fast\n4. Don't waste too much disk space (i.e. re-use deleted pages and very old versions)\n\t4.a. It's ok to waste some space if it helps reliability\n5. Small code\n\n## Non Goals:\n\n* Any kind of advanced querying, searching, etc.\n* Be the fastest / smallest / anything-est.\n* Structure (de)serialisation. Users should provide byte streams, and will get byte streams back.\n\n## To-do / progress\n\n* [ ] Remove the special cases for index and free-list, make them a regular stream like the trie.\n* [ ] Remove the version request, replace with a 'prev' method.\n* [ ] Replace `lock` with non-recursive mutex calls (for portability)\n* [ ] Finish port to Golang","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi-e-b%2Fstreamdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fi-e-b%2Fstreamdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi-e-b%2Fstreamdb/lists"}