Skip to content

Consider using xxHash instead of fnv64-1a #7371

@dashpole

Description

@dashpole

Problem Statement

In #7175, we adopted fnv-1a for the hash algorithm without a deep investigation into alternatives. Based on feedback prometheus maintainers in that PR, we should strongly consider xxhash as an alternative.

Proposed Solution

Implement and benchmark hashing using github.com/cespare/xxhash.

Metadata

Metadata

Assignees

Labels

area:metricsPart of OpenTelemetry MetricsenhancementNew feature or requestpkg:SDKRelated to an SDK package

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions