Rados multi-object transaction use cases
A message that is not in the archive (sent off-list or not yet received): [email protected]
In the Infernalis CDS, we had a session on RADOS multi-object transactions. I'd like to continue the discussion at the upcoming Jewel CDS. I thought I'd prime the discussion by asking: if librados supported multi-object read and write transactions, what would you use them for? Some idea of use cases would be valuable when considering things like deadlock coping strategies. -Sam
----- Original Message -----
Quoted 10 lines
From: "Samuel Just" <[email protected]>
To: "ceph-devel" <[email protected]>
Sent: Friday, June 12, 2015 3:15:02 PM
Subject: Rados multi-object transaction use casesIn the Infernalis CDS, we had a session on RADOS multi-object transactions. I'd like to continue the discussion at the upcoming Jewel CDS. I thought I'd prime the discussion by asking: if librados supported multi-object read and write transactions, what would you use them for? Some idea of use cases would be valuable when considering things like deadlock coping strategies.
Here are a few for rgw:
- update bucket index when creating / modifying / deleting an object
- store multiple metadata objects atomically: e.g., user info + user access keys + user email (currently not atomic)
- store bucket entry point + bucket instance info atomically
- creating a bucket and adding it to the user's list of buckets
Yehuda
Also, wouldn't this help in case of some kind of write coalescing for librbd/librados and sending one transaction down in case of multiple ?
Thanks & Regards
Somnath
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Yehuda Sadeh-Weinraub
Sent: Friday, June 12, 2015 3:21 PM
To: Samuel Just
Cc: ceph-devel
Subject: Re: Rados multi-object transaction use cases
----- Original Message -----
Quoted 10 lines
From: "Samuel Just" <[email protected]>
To: "ceph-devel" <[email protected]>
Sent: Friday, June 12, 2015 3:15:02 PM
Subject: Rados multi-object transaction use casesIn the Infernalis CDS, we had a session on RADOS multi-object transactions.
I'd like to continue the discussion at the upcoming Jewel CDS. I
thought I'd prime the discussion by asking: if librados supported
multi-object read and write transactions, what would you use them for?
Some idea of use cases would be valuable when considering things like deadlock coping strategies.
Here are a few for rgw:
- update bucket index when creating / modifying / deleting an object
- store multiple metadata objects atomically: e.g., user info + user access keys + user email (currently not atomic)
- store bucket entry point + bucket instance info atomically
- creating a bucket and adding it to the user's list of buckets
Yehuda
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
________________________________
PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).
Hi Samuel,
We have made significant progress towards this implementation,
we submitted a BP at http://tracker.ceph.com/projects/ceph/wiki/Rados_-_multi-object_transaction_support several days ago, so far it is just a place holder, I will post our detailed progress soon, and great to hear your comments.
Cheers,
Li Wang
Quoted 7 lines · Samuel Just
In the Infernalis CDS, we had a session on RADOS multi-object transactions. I'd like to continue the discussion at the upcoming Jewel CDS. I thought I'd prime the discussion by asking: if librados supported multi-object read and write transactions, what would you use them for? Some idea of use cases would be valuable when considering things like deadlock coping strategies. -Sam
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html