{"id":25223085,"url":"https://github.com/amirilf/dbilf","last_synced_at":"2026-04-29T14:03:02.575Z","repository":{"id":275463371,"uuid":"926122957","full_name":"amirilf/dbilf","owner":"amirilf","description":"lightweight in-memory database engine.","archived":false,"fork":false,"pushed_at":"2025-02-25T12:52:25.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-15T21:28:20.545Z","etag":null,"topics":["database","in-memory-database","java","sql"],"latest_commit_sha":null,"homepage":"","language":"Java","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/amirilf.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,"zenodo":null}},"created_at":"2025-02-02T16:00:14.000Z","updated_at":"2025-02-25T12:52:28.000Z","dependencies_parsed_at":"2025-02-25T13:37:10.075Z","dependency_job_id":"4c19a4f5-5613-4e9e-a6f2-e3ea429ff75a","html_url":"https://github.com/amirilf/dbilf","commit_stats":null,"previous_names":["amirilf/dbilf"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amirilf/dbilf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirilf%2Fdbilf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirilf%2Fdbilf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirilf%2Fdbilf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirilf%2Fdbilf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amirilf","download_url":"https://codeload.github.com/amirilf/dbilf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirilf%2Fdbilf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32428622,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"last_error":"SSL_read: 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":["database","in-memory-database","java","sql"],"created_at":"2025-02-10T23:59:25.463Z","updated_at":"2026-04-29T14:03:02.547Z","avatar_url":"https://github.com/amirilf.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Overview\n\nThis project aims to design and build a **lightweight in-memory data storage system** using pure Java to store and retrieve data efficiently using SQL-like commands. It should also handle concurrent access, utilize efficient indexing, and optionally provide transaction support.\n\n\u003cbr\u003e\n\n## Core Components\n\n#### 1. Data Storage Engine\n\n-   Tables stored as in-memory data structures (`HashMap`, `ArrayList`, etc.)\n-   Schema definition for each table (column types)\n-   Support for basic data types (`INTEGER`, `STRING`, `BOOLEAN`, `VARCHAR`)\n\n#### 2. Query Engine\n\n-   Parser to process SQL-like commands (`INSERT`, `SELECT`, `DELETE`, `UPDATE`)\n-   Query execution logic to fetch and modify data efficiently\n\n#### 3. Indexing System\n\n-   Implement a `B-Tree` or `Hash Index` (or anything else) for fast lookups\n\n#### 4. Transaction Manager (ACID compliance)\n\n-   `Atomicity`: Ensure transactions are fully applied or not at all\n-   `Consistency`: **Not needed** since you do not need to implement constraints\n-   `Isolation`: Use lock-based or MVCC (Multi-Version Concurrency Control) for concurrency.\n-   `Durability`: You **do not need** to implement persistence. This can be **optional** (Implement a basic Write-Ahead Log (WAL) for persistence)\n\n#### 5. Concurrency Control\n\n-   Use Read-Write Locks to handle concurrent queries\n-   Ensure thread safety when multiple clients access the database\n\n#### 6. Client API\n\n-   Provide a simple command-line interface (CLI) or Java API for interaction\n\n\u003cbr\u003e\n\n## Functional Requirements\n\n-   Table creation\n-   Data modification\n-   Query execution\n-   Indexes for optimization\n-   Transaction support\n-   Concurrency and thread safety\n\n\u003cbr\u003e\n\n## Non-functional Requirements\n\n-   The system should maintain low latency for request processing\n-   Ensure the system remains stable under load and can handle sudden traffic spikes\n-   The design should allow for future scaling options\n\n\u003cbr\u003e\n\n## Deliverables\n\n-   A fully implemented solution as a Java codebase\n-   Documentation of the design decisions, algorithms used, and any trade-offs made.\n-   Test cases demonstrating the system's performance under different load scenarios\n-   Performance benchmarks\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirilf%2Fdbilf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famirilf%2Fdbilf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirilf%2Fdbilf/lists"}