[Openstack] Cross-zone instance identifiers in EC2 API - Is it worth the effort?

Soren Hansen soren at linux2go.dk
Mon Jul 11 16:31:14 UTC 2011


2011/7/11 Eric Day <eday at oddments.org>:
> On Mon, Jul 11, 2011 at 12:27:16PM +0200, Soren Hansen wrote:
>> 2011/7/11 Ewan Mellor <Ewan.Mellor at eu.citrix.com>:
>> > No, not string vs guid.  Current AWS IDs are 32 bits.  Being a small key
>> > space, this means that you either need to allocate them incrementally
>> > (implying a distributed transaction across the incrementer)
>>
>> This is only a real problem if you insist on generating them in real
>> time rather than pre-allocate them. Each compute node could have pool
>> of thousands of ID's it could use as it pleased. That would still
>> allow for millions of compute nodes. The ID's could be centrally
>> assigned. Even if the central component that hands them out goes away,
>> a couple of thousand ID's should provide ample time for a replacement
>> to be spun up (or for the original one to come back).
> This assumes you still have something you can call "central". What
> about hybrid or peer-to-peer clouds?

How would you share these keyspaces anyway (be they uuid, arbitratry
strings, urls, 32 bit integers, whateveR)? You can only rely on their
global uniqueness if you actually trust the entities generating them.


-- 
Soren Hansen        | http://linux2go.dk/
Ubuntu Developer    | http://www.ubuntu.com/
OpenStack Developer | http://www.openstack.org/




More information about the Openstack mailing list