Tag: ceph

Ceph RGW Internals: Cache Coherence & Bucket Life Cycles

RGW Cache Coherence Why RGW have a control pool? We will try to understand its use case and purpose in RGW for cache synchronization. RGWRados::init_watch() Creates watcher objects in RGW control pool $ sudo rados ls -p .in-abc-1.rgw.control notify.1 notify.6 notify.3 notify.7 notify.2 notify.4 notify.5 notify.0 The common assumption is that these objects are watched…

Notes on Ceph librados Client

Cluster Connection A client is an application that uses librados to connect to a Ceph cluster. It needs a cluster object populatd with cluster info (cluster name, info from ceph.conf) Then the client do a rados_connect and cluster handle is populated. A cluster handle can bind with different pools. ​ Cluster IO context The I/O…