Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Q quickfix
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 48
    • Issues 48
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 25
    • Merge requests 25
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • quickfixgo
  • quickfix
  • Merge requests
  • !506

Add session outgoing message rate limit

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Sam Mulube requested to merge github/fork/appital/rate-limit-outgoing-messages into main Aug 22, 2022
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 11

This feature was required for an integration we are currently working on with a very large exchange. At this exchange in their test environment our application is limited to just 10 msg/sec/session, while in production this limit increases to 1000 msg/sec/session.

In either case we needed a way to ensure we never burst above this limit as this leads to temporary disconnection (which we did see happening with the 10 msg/sec/session limit in the UAT environment due to the way QuickFIX batches outgoing messages), so this PR adds a rate limiter to the session configuration such that we can enforce per session outgoing rate limits.

If no limit is specified for a session it defaults to a limit value of 0, meaning that no limiting is enforced for backwards compatibility with existing deployments.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/appital/rate-limit-outgoing-messages