Skip to content

auto rebalance sessions  #613

@ahxxm

Description

@ahxxm

Introduction

On graphd/storaged reboots/failures, we observed that QPS skews toward remaining living servers, and QPS are never balanced again without intervention(client reboot, network fluctuation, etc).

The more servers we have, the lower the probability that a new session is created on a recently started server, because pos is only an index.

This undermines the purpose of a distributed database.

Proposal

Implement a new priority queue based on existing connections count for graphd server to replace pos, enabling each client to balance connections across all available servers. (I believe this would serve as a suitable default configuration.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions