RepositoryGoUSHoa Kỳ
ceph

ceph/go-ceph

Go bindings for Ceph :octopus: :octopus: :octopus:

694sao
297fork
28issue
0lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: rbd

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: bindings

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: ceph

#1 Repository Của Tuần

📦 go-ceph – Go bindings cho Ceph APIs

Go bindings dùng cgo, gọi trực tiếp librados/librbd/libcephfs thay shell CLI.

go-ceph là bộ binding API cho Ceph bằng Go, dùng tính năng cgo của Go để gọi các hàm C gốc từ librados, librbd, libcephfs và cả radosgw admin ops API. Dự án bao gồm 4 sub-package: rados, rbd, cephfs, rgw/admin. Thay vì gọi CLI Ceph trong code Go, bạn có thể dùng hàm native trực tiếp — nhanh hơn, an toàn kiểu tĩnh.

✨ Điểm nổi bật

  • rados: binding cho librados, truy cập đối tượng trên cụm Ceph.
  • rbd: binding cho librbd, quản lý image RBD.
  • cephfs: binding cho libcephfs, truy cập hệ thống tệp CephFS.
  • rgw/admin: giao tiếp với radosgw admin ops API.
  • Hỗ trợ nhiều phiên bản Ceph: dùng build tags (ví dụ: pacific, reef) để chọn tính năng tương ứng.
  • Cài đặt qua apt/yum/brew: cần cài libcephfs-dev, librbd-dev, librados-dev trước khi build.
  • Dynamic linking: nhị phân Go liên kết động với thư viện Ceph.

💡 Vì sao đáng chú ý

go-ceph không phải wrapper qua CLI, mà là binding trực tiếp qua cgo — giảm overhead, tăng hiệu năng và kiểm soát tốt hơn. Phù hợp với các dự án Go cần tích hợp sâu với Ceph mà không muốn phụ thuộc vào shell. Hỗ trợ nhiều phiên bản Ceph nhờ build tag linh hoạt.


#Ceph #GoBindings #cgo #rados #rbd #cephfs #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryGo
ceph/ceph-csi

CSI driver for Ceph

1.6k
Oct 22, 2026
RepositoryGo
ceph/ceph-csi-operator

Kubernetes operator for managing the CephCSI plugins

66
Oct 19, 2026
RepositoryPython
wamdam/backy2

backy2: Deduplicating block based backup software for ceph/rbd, image files and devices

197
Aug 31, 2023
Repository
wuhongsong/ceph-deep-dive

Foucs on Ceph & Srotage For AI & AI Infra

136
Jul 29, 2026
RepositoryC++
cruzdb/zlog

A high-performance distributed shared-log for Ceph

118
Aug 4, 2019
RepositoryC++
45Drives/cephgeorep

An efficient unidirectional remote backup daemon for CephFS.

68
Mar 12, 2025
RepositoryGo
avelino/awesome-go

A curated list of awesome Go frameworks, libraries and software

190.5k
Oct 26, 2026
RepositoryGo
ollama/ollama

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

184.9k
Oct 26, 2026
RepositoryGo
golang/go

The Go programming language

139.5k
Oct 24, 2026