Re: Sinister variable caching problem with rand()

Clinton Gormley <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
> In an SQL server, you'd use a SEQUENCE:
> 
>   SELECT NEXT VALUE FOR MY_BLA_SEQ FROM <...>
> 

Here's a good read about how Flickr manage their unique IDs using MySQL:

http://code.flickr.com/blog/2010/02/08/ticket-servers-distributed-unique-primary-keys-on-the-cheap/

clint
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.