{"id":28630002,"url":"https://github.com/asionius/fibjs-ceph","last_synced_at":"2025-10-14T16:05:29.863Z","repository":{"id":80520610,"uuid":"94282799","full_name":"asionius/fibjs-ceph","owner":"asionius","description":"This repository stores fibjs-for-ceph binary file and document","archived":false,"fork":false,"pushed_at":"2018-09-27T08:08:12.000Z","size":75662,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-12T12:14:04.482Z","etag":null,"topics":["ceph","fibjs","librados","librbd","rados","radosgw","rbd"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/asionius.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-06-14T03:03:07.000Z","updated_at":"2018-12-18T02:12:45.000Z","dependencies_parsed_at":"2023-02-26T06:15:56.704Z","dependency_job_id":null,"html_url":"https://github.com/asionius/fibjs-ceph","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/asionius/fibjs-ceph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asionius%2Ffibjs-ceph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asionius%2Ffibjs-ceph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asionius%2Ffibjs-ceph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asionius%2Ffibjs-ceph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asionius","download_url":"https://codeload.github.com/asionius/fibjs-ceph/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asionius%2Ffibjs-ceph/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019554,"owners_count":26086750,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"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":["ceph","fibjs","librados","librbd","rados","radosgw","rbd"],"created_at":"2025-06-12T12:14:01.749Z","updated_at":"2025-10-14T16:05:29.858Z","avatar_url":"https://github.com/asionius.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fibjs-ceph\nThis repository store fibjs-for-ceph binary file and document. It offer rados object store api and rbd block device manage api. Refer to document for detail.\n\nThis project use all rados \u0026 rbd async io apis to write and read with ceph osds, it will not block the thread which act as a powerful engine to dispatch fibers which actually carry on the logical calculation. Thus, you can write high performance http server using fibjs natural high concurrency feature, to offer radosgw with high availability.\n\n# download\n```\ngit clone https://github.com/asionius/fibjs-ceph.git\n```\n# install\n```\ncd fibjs-ceph\nchmod +x fibjs-for-ceph-linux-x64-v0.27\ncp ./fibjs-for-ceph-linux-x64-v0.27 /usr/local/bin/fibjs\n```\n# test\n```\nfibjs rados_test.js\n```\n# src code\n\n[https://github.com/asionius/fibjs/tree/librados](https://github.com/asionius/fibjs/tree/librados)\n\n# example\n- rados\n```\n var rados = require('rados');\n var cluster = rados.create('clusterName', 'userName', '/path/to/myceph.conf');\n cluster.connect();\n var io = cluster.createIoCtx('poolName');\n var s = io.open('key');\n s.write('hello key');\n s.rewind();\n console.log(s.readAll().toString());\n```\n- rbd\n```\n var rados = require('rados');\n var cluster = rados.create('clusterName', 'userName', '/path/to/myceph.conf');\n cluster.connect();\n var io = cluster.createIoCtx('poolName');\n var img = io.openImage('imgName');\n img.write('hello image');\n img.rewind();\n console.log(img.read(11).toString());\n```\n\n# document\n- refer to docs/module/ifs/rados.md","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasionius%2Ffibjs-ceph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasionius%2Ffibjs-ceph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasionius%2Ffibjs-ceph/lists"}