Skip to content

optimise Peer.Routes() for fully connected mesh of node topology #102

Open
@murali-reddy

Description

@murali-reddy

Routes calculations is order of O(n_peers^2) was optimised in

weaveworks/weave#1773
weaveworks/weave#1761

However for use-cased where mesh of nodes are fully connected i.e) each node is single hop away. Consider this topology as special case when calculating the routes.

This topology is very common in case Kubernetes clusters, and weave-net consuming the mesh library can benefit from this optimised routing.

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