{"id":17543599,"url":"https://github.com/wesleyone/mapper-file","last_synced_at":"2025-03-29T05:34:03.793Z","repository":{"id":114313962,"uuid":"393980202","full_name":"WesleyOne/mapper-file","owner":"WesleyOne","description":"对象-文件的存储及读取","archived":false,"fork":false,"pushed_at":"2021-08-08T15:07:39.000Z","size":125,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T15:55:39.434Z","etag":null,"topics":["dledger","mappedbytebuffer","nio","rocketmq"],"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/WesleyOne.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}},"created_at":"2021-08-08T14:16:50.000Z","updated_at":"2021-12-20T11:39:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"a3f161f0-8122-4e84-8104-7482c6db1d73","html_url":"https://github.com/WesleyOne/mapper-file","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WesleyOne%2Fmapper-file","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WesleyOne%2Fmapper-file/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WesleyOne%2Fmapper-file/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WesleyOne%2Fmapper-file/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WesleyOne","download_url":"https://codeload.github.com/WesleyOne/mapper-file/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246145013,"owners_count":20730494,"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":["dledger","mappedbytebuffer","nio","rocketmq"],"created_at":"2024-10-21T00:24:57.855Z","updated_at":"2025-03-29T05:34:03.772Z","avatar_url":"https://github.com/WesleyOne.png","language":"Java","readme":"[![CI](https://github.com/WesleyOne/mapper-file/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/WesleyOne/mapper-file/actions/workflows/codeql-analysis.yml) [![JDK-1.8+](https://img.shields.io/badge/JDK-1.8+-4EB1BA.svg)](https://docs.oracle.com/javase/8/docs/index.html)\n\n\u003e 本项目参照[RocketMQ](https://github.com/apache/rocketmq) 和[dledger](https://github.com/openmessaging/dledger) 项目的存储模块。\n\n实现以下功能：\n- 对象序列化后存储到本地文件\n- 从本地文件读取对象\n\n_核心技术是用到`NIO`的`MappedByteBuffer`内存文件映射字节缓冲区，提高文件读写能力。_\n\n操作范式流程简图：\n![简图](nio_file.png)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwesleyone%2Fmapper-file","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwesleyone%2Fmapper-file","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwesleyone%2Fmapper-file/lists"}