[Openstack] A single cross-zone database?

Eric Day eday at oddments.org
Wed Mar 16 19:21:34 UTC 2011

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.


More information about the Openstack mailing list