Skip to content

Generate UUIDs according to UUIDv7 specification #4

@alexander-yevsyukov

Description

@alexander-yevsyukov

Have a look at the specs Introduction section. People complain about the UUID performance when the database grows bigger.

One of the projects that implement the spec is uuid-creator.

Our approach can be probably based on the Uuid type from Kotlin in combination with the uuid-creator.

The version of the specs to be used for generating a UUID could be configurable a message option per ID type.
Something like uuid.version = V7.

We also can allow more than just string value for a UUID type. It could be also bytes, or it can be two 64-bit longs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestperformanceMaking things go easier and faster

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions