← Back to team overview

openstack team mailing list archive

Re: Cross-zone instance identifiers in EC2 API - Is it worth the effort?

 

2011/7/11 Eric Day <eday@xxxxxxxxxxxx>:
> On Mon, Jul 11, 2011 at 12:27:16PM +0200, Soren Hansen wrote:
>> 2011/7/11 Ewan Mellor <Ewan.Mellor@xxxxxxxxxxxxx>:
>> > 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/


Follow ups

References