-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
generate shorter pseudo-random IDs with better spread than current time #1122
Labels
outreachy
Good initial contributions for Outreachy applicants
Comments
benclifford
changed the title
generate pseudo-random IDs with better spread than current time
generate shorter pseudo-random IDs with better spread than current time
Aug 29, 2019
crossref #831 |
A name such as (noting here since I just calculated it for other purposes) |
benclifford
added a commit
that referenced
this issue
May 15, 2023
Prior to this PR, submit script filenames looked like this: parsl.localprovider.1684151066.651144.sh After this PR, submit script filenames look like this: parsl.htex_Local.block-0.1684154520.747874.sh This PR fixes feature request issue #2692, which requests that the filename contain more block identifying context, for correlation with other block-related log files. Also adds some more uniqueness which is relevant to issue #1122 and addresses the naming collisions I have experienced in that context.
benclifford
added a commit
that referenced
this issue
May 25, 2023
…2710) Prior to this PR, submit script filenames looked like this: parsl.localprovider.1684151066.651144.sh After this PR, submit script filenames look like this: parsl.htex_Local.block-0.1684154520.747874.sh This PR fixes feature request issue #2692, which requests that the filename contain more block identifying context, for correlation with other block-related log files. Also adds some more uniqueness which is relevant to issue #1122 and addresses the naming collisions I have experienced in that context.
benclifford
added
the
outreachy
Good initial contributions for Outreachy applicants
label
Mar 13, 2024
Hi @benclifford is this issue still open, i will like to work on it, and i will need some guidance on how to get started thank you |
Crossref: #3639 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are lots of places in the code where unique IDs are generated mostly based on the current time. That's a big ID space but with lots of correlation between IDs generated by the same run. At some scale these will clash and cause non-deterministic trouble that will be hard to debug.
There is plenty of experience in the world using more spread IDs (c.f. UUIDs)
Everywhere time() is used to generate unique IDs should be replaced by a call to a parsl helper function that does this more sensibly.
The text was updated successfully, but these errors were encountered: