All of lore.kernel.org
 help / color / mirror / Atom feed
* rgw bucket index
@ 2013-07-21  7:48 Dominik Mostowiec
  2013-07-23  6:50 ` [ceph-users] " Yehuda Sadeh
  0 siblings, 1 reply; 2+ messages in thread
From: Dominik Mostowiec @ 2013-07-21  7:48 UTC (permalink / raw)
  To: ceph-devel-u79uwXL29TY76Z2rM5mHXA, ceph-users-idqoXFIVOFJgJs9I8MT0rw

Hi,
Rgw bucket index is in one file (one osd performance issues).
Is there on roudmap sharding or other change to increase performance?


--
Pozdrawiam
Dominik

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ceph-users] rgw bucket index
  2013-07-21  7:48 rgw bucket index Dominik Mostowiec
@ 2013-07-23  6:50 ` Yehuda Sadeh
  0 siblings, 0 replies; 2+ messages in thread
From: Yehuda Sadeh @ 2013-07-23  6:50 UTC (permalink / raw)
  To: Dominik Mostowiec; +Cc: ceph-devel, ceph-users

On Sun, Jul 21, 2013 at 12:48 AM, Dominik Mostowiec
<dominikmostowiec@gmail.com> wrote:
> Hi,
> Rgw bucket index is in one file (one osd performance issues).
> Is there on roudmap sharding or other change to increase performance?
>
>

Excellent question. Note that the upcoming Dupling release will have
the ability to separate the bucket index from the objects' data, so it
will be possible to put the index on faster storage. We have discussed
other changes the past, and it's certainly on our mind. I think that
might be a good candidate for a blueprint for the upcoming Emperor
release, if anyone is willing to pick that up. In any case, it can be
a good topic to discuss in the upcoming CDS.

As I see it, there are a few directions in which we can tackle the issue. E.g.,

1. Blind buckets

In certain environment we might not need the bucket index at all.
Extra performance may be gained by losing the ability to list bucket's
objects (at least in the way it's done right now, having sorted
objects, etc.)

2. Bucket sharding

Keep bucket index over multiple objects. A trivial implementation will
just set a constant number of shards per index. A (much much) more
complex implementation will adjust the number of shards on the fly
according to the number of objects it holds.

3. Relaxed consistency

Not my favorite, but certain write operations may benefit from
relaxing the strict read-after-write, read-after-rewrite consistency
that we have.


Again, if anyone wants to have a go at one of the above, we'll be
happy to discuss and give guidance. Note that the first issue is
probably the easiest. whereas the second (the dynamic version) is the
hardest. I don't really consider the third option as a real solution.

Yehuda

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-23  6:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-21  7:48 rgw bucket index Dominik Mostowiec
2013-07-23  6:50 ` [ceph-users] " Yehuda Sadeh

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.