Ask HN: Ensuring unique account logins across the globe
How have other applications handled ensuring uniqueness of data (specifically login ids) across multiple distributed deployments of an application on the global stage while letting this data be driven by the public?
I keep coming back to this: Google and Yahoo let people generate accounts where (presumably) the email address is the id for the account, yet, these ids must be globally unique and the ids are registered very quickly, creating these accounts while a user sits at a browser waiting on a form post at the end of which, the account is registered (i.e. synchronous from the user perspective and complete within the default timeout for a browser request)
We're batting around ideas of using async messaging, highly available databases of hashes of in-use userid, LDAP with replication between datacenters, and some other strategies. Nothing feels completely solid nor have I been able to locate much on this topic online.
Do you have any thoughts on this type of distributed problem? In 2010, this feels like it should already be a solved problem and that I'm just ignorant of the solution. Does anybody know of papers or essays related to dealing with this type of issue or have thoughts on how they've seen this approached at other big companies?