Most use a combination of precoordination and a database that when an insert fails they just generate new and try again.