3 Answers
- Newest
- Most votes
- Most comments
1
No, there is no attribute in an Application Load Balancer(ALB) to enable buffering, it is not a feature that they talk about.
The only time we've had issues with request buffering was because nginx sat behind an ALB had buffering enabled, the ALB itself performed no such buffering.
answered a year ago
0
Hello, There are no clear sources that show ALB's request buffering capability and available configuration settings.
answered a year ago
0
Hi - this discussion suggests that ALB does indeed buffer requests: https://github.com/benoitc/gunicorn/issues/2568
answered 9 months ago
Relevant content
- asked 2 years ago
- asked 2 years ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 5 months ago
Ok, so you never had any problem with request buffering except the one case when you had Nginx behind ALB - then there was a problem?
Yes, we had an application that I think had a race condition, I just looked up the ticket (it was from 2017!) and it related to the application's expectation of not having chunked encoding, with request buffering enabled in nginx it got the request (POST data) all at once. In dev/vagrant, we used nginx as a proxy/loadbalancer. That nginx instance had request buffering enabled. In pre-production and production the application sat behind an ALB in AWS and got the chunked request and the code didn't handle it correctly.