{"id":18608764,"url":"https://github.com/activeviam/par-internship-ssd","last_synced_at":"2026-06-29T06:31:33.457Z","repository":{"id":95770292,"uuid":"311596431","full_name":"activeviam/par-internship-ssd","owner":"activeviam","description":"Data storage on files","archived":false,"fork":false,"pushed_at":"2022-11-02T20:44:58.000Z","size":2162,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-06-01T11:59:25.168Z","etag":null,"topics":["java"],"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/activeviam.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}},"created_at":"2020-11-10T08:41:13.000Z","updated_at":"2021-08-16T08:40:49.000Z","dependencies_parsed_at":"2023-03-22T14:01:47.566Z","dependency_job_id":null,"html_url":"https://github.com/activeviam/par-internship-ssd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/activeviam/par-internship-ssd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/activeviam%2Fpar-internship-ssd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/activeviam%2Fpar-internship-ssd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/activeviam%2Fpar-internship-ssd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/activeviam%2Fpar-internship-ssd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/activeviam","download_url":"https://codeload.github.com/activeviam/par-internship-ssd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/activeviam%2Fpar-internship-ssd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34916409,"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-06-29T02:00:05.398Z","response_time":58,"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":["java"],"created_at":"2024-11-07T03:04:10.531Z","updated_at":"2026-06-29T06:31:33.441Z","avatar_url":"https://github.com/activeviam.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Data storage on files powered by NVMe\n===================\n\nProject architecture\n-----------\n\nCurrently, the project features a reference allocator storing data on files: `MemoryAllocatorOnFile`.\nThough implemented in a straight-forward way, it still has several underlying chunks depending\non the size of inner blocks it allocates.\u003cbr\u003e\nThe interface `MemoryAllocator` is the specification for any allocator tested in this project.\n\nThis allocator is used to implement `Chunk`s, that represent an array of raw data. ActiveViam having\ngoals to get the best of the machine performance, Chunks cannot have generic methods, not to pay\nthe cost of boxing/unboxing. That's the main reason for the existence of `Chunk`. It provides\nread and write methods adapted for primitive types. In this scholar project, we only define methods\nfor `int` and `double`.\n\nThe project already ships two sets of implementations:\n\n  - the series of `HeapXyzChunk`, acting as a reference, using an underlying Java array\n  - the series of `FileXyzChunk`, that makes use of the `MemoryAllocatorOnFile`.\n\nAll Chunk implementations are succinctly tested. Those tests can be used as references for testing\nnew implementations of Chunks or Allocators.\n\nDevelopment environment\n-----------\n\nThis project is written in Java 15, though it does not use many of the latest features so far.\n\nIt uses Maven to manage its dependencies.\n\n### Compiling the project\n\n```bash\nmvn compile\n```\n\nBuild print compilation warnings due to the usage of `sun.misc.Unsafe`. This is indeed an internal\nAPI but it has been accepted by many vendors. [Project Panama](https://github.com/openjdk/panama-foreign/)\naims at providing safer alternatives, but there are not ready yet.\n\n### Running unit tests\n\n```bash\nmvn test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factiveviam%2Fpar-internship-ssd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factiveviam%2Fpar-internship-ssd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factiveviam%2Fpar-internship-ssd/lists"}