{"id":20917539,"url":"https://github.com/impact-eintr/eoss","last_synced_at":"2025-05-13T12:30:46.659Z","repository":{"id":38008484,"uuid":"387735380","full_name":"impact-eintr/eoss","owner":"impact-eintr","description":"一个分布式OSS（对象存储）","archived":false,"fork":false,"pushed_at":"2022-05-19T04:32:14.000Z","size":357,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T23:35:17.564Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/impact-eintr.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":"2021-07-20T09:09:16.000Z","updated_at":"2024-07-26T14:11:21.000Z","dependencies_parsed_at":"2022-08-26T06:01:59.543Z","dependency_job_id":null,"html_url":"https://github.com/impact-eintr/eoss","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/impact-eintr%2Feoss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/impact-eintr%2Feoss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/impact-eintr%2Feoss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/impact-eintr%2Feoss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/impact-eintr","download_url":"https://codeload.github.com/impact-eintr/eoss/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253942157,"owners_count":21987998,"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":[],"created_at":"2024-11-18T16:34:00.946Z","updated_at":"2025-05-13T12:30:46.372Z","avatar_url":"https://github.com/impact-eintr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eoss\n一个分布式OSS（对象存储）\n\n![img](img/EOSS架构设计.jpg)\n\n# TODO\n\n1. ~~数据的部分元数据需要另外的存储机制~~\n    - 基于raft和bolt的分布式KV数据库 [raftd](https://github.com/impact-eintr/raftd) 绝赞开发中 : )\n    - 关于raftd的使用： 向raftd请求esq集群信息，解析后向esq通信，疑问？：每次向esq通信都需要先获取集群信息吗 问一下有经验的人 几种方案大致思路是什么 \n2. 一个客户端 \n    - 具有文件压缩/解压的功能\n    - 具有制作预览的功能\n    -  缩略图\n    1. **制作** 客户端制作 可能需要多个版本？\n    2. **上传** 如何上传呢？暂时使用专用的api \n    3. **存储** 由es存储缩略图的hash，由raftd保存缩略图的文件({hash: file})\n    4. **获取** 缩略图属于元数据，在获取元数据时分为两步：1、获取元数据本体(一个Metadata struct) 2、解析元数据中的缩略图地址，异步请求缩略图(apiServer/raftd)，在请求成功前先渲染某张固定的图片，之后替换(需要考虑请求失败怎么办)\n    - 解析目录的功能(可选)\n3. 断点续传功能\n4. 支持目录(有难度，有必要吗)\n5. ~~一个分布式的消息队列(借鉴nsq/nats/gmq)~~\n    - 基于etcd(后续用raftd尝试代替)的分布式消息队列 [esq](https://github.com/impact-eintr/esq) 绝赞开发中 : )\n    - 这是一个高可用集群,如何保证消息的可靠\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimpact-eintr%2Feoss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimpact-eintr%2Feoss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimpact-eintr%2Feoss/lists"}