Skip to content
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

Implement system to convert from 64 and 128-bit LIDs to contiguous UIDs; switch back to LID64 and LID128 #14

Open
CookingWithCale opened this issue Oct 16, 2023 · 0 comments
Assignees

Comments

@CookingWithCale
Copy link
Contributor

CookingWithCale commented Oct 16, 2023

Problem

The problem I am addressing on this mission is that I don't have a solid plan to convert from 128-bit to 64-bit UIDs.

Solution

The solution that I'm addressing on this mission is to provide multiple strategies to convert 128-bit UIDs into 64-bit UIDs. If I XOR the bits together then it won't be linear, and I'll have to change names. When the SQL table rows are first inserted, we won't be expecting to have high database reads on that row for some time. During this time I need to search for the row by timestamp and LID. I need to seek consultation to if this is appropriate; sounds good to me.

File Affected

  1. ?

Hierarchy

Tags

Mission

A

Sessions

License

Copyright 2023 AStartup; all rights reserved.

@CookingWithCale CookingWithCale self-assigned this Oct 16, 2023
@CookingWithCale CookingWithCale changed the title Add method(s) to convert from 128-bit uid to 64-bit inode unique index (uidx) Add method(s) to convert from 128-bit lid to 64-bit inode unique index (uidx) Oct 18, 2023
@CookingWithCale CookingWithCale changed the title Add method(s) to convert from 128-bit lid to 64-bit inode unique index (uidx) Define how to pack LIDs into contiguous UIDs. Dec 5, 2023
@CookingWithCale CookingWithCale changed the title Define how to pack LIDs into contiguous UIDs. Implement system to convert from 64 and 128-bit LIDs to contiguous UIDs; switch back to LID64 and LID128. Dec 5, 2023
@CookingWithCale CookingWithCale changed the title Implement system to convert from 64 and 128-bit LIDs to contiguous UIDs; switch back to LID64 and LID128. Implement system to convert from 64 and 128-bit LIDs to contiguous UIDs; switch back to LID64 and LID128 Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant