Skip to content

Avoid sending duplicate RPC calls during the background distribution task #44

Description

@ChillFish8

Currently, datacake's eventual consistency module will send operations in batches to all nodes in the background, but this is in efficient when we're sending operations that a node might have already replied to and acknowledged.

Improving this cuts out some additional RPC calls in situations with a small number of nodes:

3 nodes with Consistency::Quorum will result in at least 3 RPC calls (1for the quorum, 2 for the background task)
this can be easily made into 2 and this scales as the consistency level is increased and the number of nodes increases.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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