Knotx / knotx

Knot.x is a highly-efficient and scalable integration framework designed to build backend APIs
https://knotx.io
Apache License 2.0
126 stars 26 forks source link

Dropping requests when the server is overloaded. #381

Closed tomaszmichalak closed 6 years ago

tomaszmichalak commented 6 years ago

Knot.x responds with 503 status code if it is getting too many connections. It should only do this if your server's processor is overloaded.

Description

Knot.x should drop requests when the traffic is too big.

Motivation and Context

That solution should prevent OutOfMemoryError errors when there are too many requests. Additionally response times should be more stable in the peak.

Types of changes

Checklist:


I hereby agree to the terms of the Knot.x Contributor License Agreement.