socketry / falcon

A high-performance web server for Ruby, supporting HTTP/1, HTTP/2 and TLS.
https://socketry.github.io/falcon/
MIT License
2.54k stars 79 forks source link

Limiting incoming requests queue #212

Open kinnalru opened 8 months ago

kinnalru commented 8 months ago

Is it possible to limit incoming request queue by queue length or timeout? Something like max_request_queue_size and max_request_queue_time from Phusion Passenger?

ioquatix commented 8 months ago

At this time, there is no such feature and I agree it's a deficiency. I am planning to address this (configurable load balancing, rate limiting, etc), but it may be a paid feature. How do you feel about that?

kinnalru commented 8 months ago

@ioquatix

it will be great if falcon starts bringing you money. But maintaining both versions (enterprise and free) is difficult.

slewsys commented 6 months ago

At this time, there is no such feature and I agree it's a deficiency. I am planning to address this (configurable load balancing, rate limiting, etc), but it may be a paid feature. How do you feel about that?

Nginx offers rate limiting and load balancing. You might have more success offering a hosting service, rather than charging for tooling.