{"id":51509487,"url":"https://github.com/murphsicles/lsm","last_synced_at":"2026-07-08T04:30:56.490Z","repository":{"id":363014845,"uuid":"1261658623","full_name":"murphsicles/lsm","owner":"murphsicles","description":"@storage/lsm — LSM-tree storage engine for Zeta","archived":false,"fork":false,"pushed_at":"2026-06-07T02:38:46.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-07T03:40:39.175Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/murphsicles.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-07T01:39:13.000Z","updated_at":"2026-06-07T01:44:48.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/murphsicles/lsm","commit_stats":null,"previous_names":["murphsicles/lsm"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/murphsicles/lsm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murphsicles%2Flsm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murphsicles%2Flsm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murphsicles%2Flsm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murphsicles%2Flsm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/murphsicles","download_url":"https://codeload.github.com/murphsicles/lsm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murphsicles%2Flsm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35252324,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-08T02:00:06.796Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2026-07-08T04:30:55.744Z","updated_at":"2026-07-08T04:30:56.483Z","avatar_url":"https://github.com/murphsicles.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# lsm — LSM-tree storage engine for Zeta\n\n**Namespace:** `@storage/lsm`\n\nLog-structured merge-tree storage engine with Grid block allocation,\nsorted B-tree table operations, level-based compaction, and manifest\nmetadata.\n\n## Architecture\n\n```\nForest\n ├── Tree 0 (accounts)\n │   ├── Level 0 (memtable + flushed tables)\n │   ├── Level 1 (compacted)\n │   ├── Level 2 (compacted)\n │   └── ...\n ├── Tree 1 (transfers)\n └── ...\nGrid (fixed-size block storage)\nJournal (write-ahead log)\nManifest (checkpoint metadata)\n```\n\n## Key operations\n\n- `Tree_put(key, value)` — sorted insert into memtable\n- `Tree_get(key)` — search memtable then levels\n- `Tree_delete(key)` — tombstone insert\n- `Tree_flush()` — persist memtable to Grid\n- `binary_search(entries, count, key)` — sorted lookup\n- `merge_entries(a, b, out)` — two-way merge with tombstone filtering\n\n## License\n\nMIT — The Zeta Foundation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurphsicles%2Flsm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmurphsicles%2Flsm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurphsicles%2Flsm/lists"}