[Openstack] A single cross-zone database?

Justin Santa Barbara justin at fathomdb.com
Wed Mar 16 19:39:12 UTC 2011

I agree that we could have a better marker, but I'm just going off the spec
at the moment.

I've checked the agreed blueprint, and caching in zones is out of scope for

Please propose a discussion topic for the Design Summit.


On Wed, Mar 16, 2011 at 12:21 PM, Eric Day <eday at oddments.org> wrote:

> On Wed, Mar 16, 2011 at 06:47:03PM +0000, Ed Leafe wrote:
> > > With our approach to pagination, without caching, the answer is always
> correct: each query always returns the next {limit} values whose ID is >=
> {start-id}.
> >
> >       But for this example, you have to traverse *all* the zones in order
> to get the list of instances for a customer. How else would you define
> "instances 101-199 of 823 total instances"? How would you know where #101
> is?
> The marker should be the canonical zone:instance, so you just query
> that zone with instance marker and limit, and move on to the next
> zone(s) if your limit is not reached. You never need to build the
> full list.
> -Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20110316/1afd1e3f/attachment.html>

More information about the Openstack mailing list