Skip to content

Instantly share code, notes, and snippets.

@guybrush
Created May 21, 2015 23:16
Show Gist options
  • Save guybrush/17acb106a91b683199de to your computer and use it in GitHub Desktop.
Save guybrush/17acb106a91b683199de to your computer and use it in GitHub Desktop.
  • simulation of

    • signaling-servers
      • peers connect to signaling-servers to introduce themselves to other peers (join the network)
    • peers
      • p2p-lobby-implmentation with mocked server-api
      • connect to server
      • peer with other peers
      • create/join/leave lobbies
  • manually step simulation

    • add/remove server
    • add/remove peers
    • select peers
      • create/join/leave lobbies
  • simulation-parameters

    • concurrent peers
    • peer fluctuation
      • peers disconnect
    • concurrent lobbies
    • amount (% of all peers) of lobby-jumping peers
      • random peers will jump from one lobby to another
    • peers per lobby (p25, p50, p75, min, max)
      • peers will either create or join lobbies, based on the current state of the simulation and parameters
    • lobby fluctuation
      • once a lobby is full peers will wait for some time and then leave
    • amount of malicious peers (in %)
      • spam
      • dont forward messages at all
      • wrong messages
    • throtteling
    • peer-amount of each peer (p25, p50, p75, min, max)
    • amount of servers
      • peers will connect to one or more?
  • vizualization/data (q25, q50, q75, min, max, avg)

    • timeline
      • server-bandwidth (avg, min, max, p25, p50, p75)
      • peer-bandwidth (avg, min, max, p25, p50, p75)
      • lobby-propagation-time
        • propagated to 25%, 50%, 75%, 100% (avg, min, max, p25, p50, p75)
      • amount of servers
      • amount of peers
      • amount of lobbies
      • simulation-parameters
    • graph
      • servers
        • which peers are connected to which server
      • peers
        • which peers are connected to each other
      • lobbies
        • which peers joined which lobby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment