* Rados multi-object transaction use cases
[not found] <1237345102.20915406.1434147190410.JavaMail.zimbra@redhat.com>
@ 2015-06-12 22:15 ` Samuel Just
2015-06-12 22:21 ` Yehuda Sadeh-Weinraub
2015-06-13 2:42 ` Li Wang
0 siblings, 2 replies; 4+ messages in thread
From: Samuel Just @ 2015-06-12 22:15 UTC (permalink / raw)
To: ceph-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Rados multi-object transaction use cases
2015-06-12 22:15 ` Rados multi-object transaction use cases Samuel Just
@ 2015-06-12 22:21 ` Yehuda Sadeh-Weinraub
2015-06-12 22:28 ` Somnath Roy
2015-06-13 2:42 ` Li Wang
1 sibling, 1 reply; 4+ messages in thread
From: Yehuda Sadeh-Weinraub @ 2015-06-12 22:21 UTC (permalink / raw)
To: Samuel Just; +Cc: ceph-devel
----- Original Message -----
> From: "Samuel Just" <sjust@redhat.com>
> To: "ceph-devel" <ceph-devel@vger.kernel.org>
> Sent: Friday, June 12, 2015 3:15:02 PM
> Subject: Rados multi-object transaction use cases
>
> 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.
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Rados multi-object transaction use cases
2015-06-12 22:21 ` Yehuda Sadeh-Weinraub
@ 2015-06-12 22:28 ` Somnath Roy
0 siblings, 0 replies; 4+ messages in thread
From: Somnath Roy @ 2015-06-12 22:28 UTC (permalink / raw)
To: Yehuda Sadeh-Weinraub, Samuel Just; +Cc: ceph-devel
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: ceph-devel-owner@vger.kernel.org [mailto:ceph-devel-owner@vger.kernel.org] 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 -----
> From: "Samuel Just" <sjust@redhat.com>
> To: "ceph-devel" <ceph-devel@vger.kernel.org>
> Sent: Friday, June 12, 2015 3:15:02 PM
> Subject: Rados multi-object transaction use cases
>
> 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.
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 majordomo@vger.kernel.org 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).
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Rados multi-object transaction use cases
2015-06-12 22:15 ` Rados multi-object transaction use cases Samuel Just
2015-06-12 22:21 ` Yehuda Sadeh-Weinraub
@ 2015-06-13 2:42 ` Li Wang
1 sibling, 0 replies; 4+ messages in thread
From: Li Wang @ 2015-06-13 2:42 UTC (permalink / raw)
To: Samuel Just, ceph-devel
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
On 2015/6/13 10:06, Samuel Just wrote:
> 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 majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-06-13 2:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1237345102.20915406.1434147190410.JavaMail.zimbra@redhat.com>
2015-06-12 22:15 ` Rados multi-object transaction use cases Samuel Just
2015-06-12 22:21 ` Yehuda Sadeh-Weinraub
2015-06-12 22:28 ` Somnath Roy
2015-06-13 2:42 ` Li Wang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.