Skip to content

Conversation

gquadrati
Copy link
Contributor

List of Changes

  • Add new middleware that returns 504 when server is under pressure (based on event loop metric)
  • Trace metrics of event loop delay (mean and 95 percentile) every 5 seconds
  • Add EVENT_LOOP_DELAY_THREASHOLD variabile, with default

Motivation and Context

Avoid server overload and minimize requests in timeout

How Has This Been Tested?

manual tests

Screenshots (if appropriate):

Types of changes

  • Chore (nothing changes by a user perspective)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@gquadrati gquadrati marked this pull request as ready for review July 22, 2024 10:57
@gquadrati gquadrati requested a review from a team as a code owner July 22, 2024 10:57
Copy link
Contributor

Jira Pull Request Link

This Pull Request refers to the following Jira issue IOPID-2048

Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant