Skip to content

mosh-server can generate high traffic if a client can't hear it #747

Open

Description

@cgull

Tonight's discovery:
If:

  • a server is has an active application running (a tmux session that is being used from another client, for example) and the session generates significant changes
  • the server can hear the client but the client does not hear the server

then the server's message traffic to the client can grow somewhat high-- a bandwidth graph I was looking at showed spikes to 1Mb/s of traffic for each update, whatever that means.

Given mosh's design, this isn't unexpected, but seems a little suboptimal for pay-by-use networks. I saw this while doing a router/server upgrade and fixed the routing problem, but this might be worth a little time to review/improve.

Activity

  1. eminence commented on Aug 11, 2016

    @eminence
    Member

    If the client could tell the server "I haven't heard from you in X seconds", would that let the server do something intelligent?

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