Skip to content

[service] Improve service finding by ID performanceΒ #2

@OmidHekayati

Description

@OmidHekayati

In this file use GO map as hash table to store and find services by ID but GO map is not effient for simple uint64 type as key! Improve this file by implement internal custom table.

  • Don't use array pointer for buckets due to it is most read table with over 99.9% times.
    image
  • Don't use overflow map||buckets and block procces to expand whole hash table.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions