What is the importance of post-buffer in uwsgi or nginx?

use*_*738 5 webserver nginx uwsgi

I've a python bottle app configured over nginx and uwsgi, where I'm finding it hard to understand uwsgi post-buffering option,

Could someone explain me whats the purpose of post-buffering?

What the maximum number of bytes which can be set for this option..?

我想通过一个POST端点提交大约100MB的有效负载,我们可以设置后缓冲来支持该值吗?

选择此选项时,是否还有其他需要注意的事项。

组态

CentOS的6.8

Python 2.6

uWSGI(2.0.11.2)

nginx / 1.11.5

est*_*est 1

基本上,如果上传或请求非常慢,并且只有 3 或 4 个工作人员可用,那么所有工作人员都会忙于缓慢但无意义的数据接收工作。

如果你有一个后缓冲区,那么好消息是,uWSGi 将首先收集足够的数据,然后转发给 python 代码的工作人员来执行实际业务。