Hey, I need some help with generating ID's for a system. I have a script that processes 3000+ records a second and runs continuously. Each record needs to have its own unique ID. The catch is that I can only have 10 characters in the ID. I can have A-Z, a-z, and 0-9. Is there a way to generate unique numbers using those characters? I am trying to do it without a system checking if the ID already exists.
So to sum it up:
Making an ID Generator
- 10 characters
- Can have A-Z, a-z, 0-9
- No system that will check if the ID exists
- Needs to generate ID's faster than 3000 second
Note: I realize sooner or later I will have used up every possible combination that I can create.
EDIT: I dont want to use an auto incrementing field in the DB because I will only have 9,999,999,999 combinations and need more than that.
Does any of you PHP guru's on this forum have an idea on how to go about this or if this can even be done using PHP?