![]() | the sleepy snakeindex :: uuid :: Issues | |
static storagestatic storage of the state of the generator is not implemented.Static storage is required to synchronize multiple threads or processes requesting UUIDs or to save the state of the generator during reboots. This may have an effect in the following szenarios:
One problem is not having an IPC module at hand. mmap is fine to share memory, but python lacks system wide locks or semaphores to synchronize multiple processes. Unless this problem is solved in python there is no way I am aware off to get the static storage thing done. All these issues lower the quality of time based UUIDs slightly but is covered fully by the RFC 4122 spec. randomnessthe throw in replacement of random.getrandbits() for older python versions may or may not work as expected. I am an analphabet when it comes to randomness, so best thing I could do was google for an instant replacement (..) othersA real chalenge is how to calculate resolution of what pythons time.time() returns. This affects szenario 1 but should not have any noticable side effects. The current implementation limits the number of UUIDs that can be generated / tick to 10.000 | ||