Skip to content

Fallback Bottleneck #145

Description

@neonphog

If a connection fails to establish over webrtc and switches to fallback messaging, it can quickly overwhelm the SBD rate-limit making it almost impossible to establish new connections that might otherwise be able to correctly connect over webrtc.

Options:

  • Consider if this fallback mechanism is even a requirement. Maybe webrtc connectivity is good enough without it? Maybe it is okay if Holochain cannot be run from within a UDP-eating convention center firewall?
  • Consider treating connectivity messages as higher priority than fallback messages, something like:
    • divide the available rate-limit in half,
    • allocating only half for fallback messaging, and divide that by connection count that has fallen back
    • always send ice messages, relying on the sdb-client to hit its internally tracked RL, but still count those bytes for fallback messaging RL

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