Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • E emper
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 15
    • Issues 15
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • i4i4
  • manycore
  • emper
  • Merge requests
  • !165

[EchoClient] overhaul the EchoClient.cpp

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Florian Fischer requested to merge aj46ezos/emper:echo_client_reconnect into master Apr 12, 2021
  • Overview 0
  • Commits 2
  • Pipelines 10
  • Changes 1
  • Reconnect (close, new socket, connect) when the TCP connection is unexpectedly closed and count the reconnects
  • Send echo messages carrying information: "client-id:iteration"
  • Use a Client class holding a clients state instead of a pthread-style clientFunc
  • Create the Client object in the client Fiber to use NUMA first-touch policy
  • Reduce code duplication:
    • starting a new Client is now done with Client::startNew
    • latency measurement and error handling are moved from the clientIteration* functions in the Client::run function
Edited Apr 14, 2021 by Florian Fischer
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: echo_client_reconnect