I use usually a "prefix" to assign an ID that depends on the type of experiment, but the ID should be assigned automatically. However, I don't see where used IDs are stored. They seem to be on a queue, but there's no way to see which ones have been used already.
A simple query to redis should take care of that... IDs would be automatically assigned using auto-increment together with the prefix.
I use usually a "prefix" to assign an ID that depends on the type of experiment, but the ID should be assigned automatically. However, I don't see where used IDs are stored. They seem to be on a queue, but there's no way to see which ones have been used already.
A simple query to redis should take care of that... IDs would be automatically assigned using auto-increment together with the prefix.