Skip to content

Select database endpoints based on latency #3

@h4l

Description

@h4l

Right now we don't rank endpoints by latency, we just use the first one with the required consistency level. This is fine for local denokv server, but the cloud KV can provide multiple geo-located endpoints, and the spec recommends selecting based on latency:

From this list, the client MAY make requests to any endpoint, but the client SHOULD prefer endpoints that have lower latency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions