mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Update Boom references to Hey to reflect project name change
This commit is contained in:
parent
9430742ba6
commit
9a9e3acb2c
@ -11,7 +11,7 @@ Although there are many HTTP proxies available, we strongly advise that you
|
|||||||
use Nginx_. If you choose another proxy server you need to make sure that it
|
use Nginx_. If you choose another proxy server you need to make sure that it
|
||||||
buffers slow clients when you use default Gunicorn workers. Without this
|
buffers slow clients when you use default Gunicorn workers. Without this
|
||||||
buffering Gunicorn will be easily susceptible to denial-of-service attacks.
|
buffering Gunicorn will be easily susceptible to denial-of-service attacks.
|
||||||
You can use Boom_ to check if your proxy is behaving properly.
|
You can use Hey_ to check if your proxy is behaving properly.
|
||||||
|
|
||||||
An `example configuration`_ file for fast clients with Nginx_:
|
An `example configuration`_ file for fast clients with Nginx_:
|
||||||
|
|
||||||
@ -325,7 +325,7 @@ utility::
|
|||||||
.. warning:: Gunicorn error log is here to log errors from Gunicorn, not from another application.
|
.. warning:: Gunicorn error log is here to log errors from Gunicorn, not from another application.
|
||||||
|
|
||||||
.. _Nginx: http://www.nginx.org
|
.. _Nginx: http://www.nginx.org
|
||||||
.. _Boom: https://github.com/rakyll/boom
|
.. _Hey: https://github.com/rakyll/hey
|
||||||
.. _`example configuration`: http://github.com/benoitc/gunicorn/blob/master/examples/nginx.conf
|
.. _`example configuration`: http://github.com/benoitc/gunicorn/blob/master/examples/nginx.conf
|
||||||
.. _runit: http://smarden.org/runit/
|
.. _runit: http://smarden.org/runit/
|
||||||
.. _`example service`: http://github.com/benoitc/gunicorn/blob/master/examples/gunicorn_rc
|
.. _`example service`: http://github.com/benoitc/gunicorn/blob/master/examples/gunicorn_rc
|
||||||
|
|||||||
@ -76,7 +76,7 @@ APIs will benefit from an asynchronous worker.
|
|||||||
This resource bound assumption is why we require a buffering proxy in front of a
|
This resource bound assumption is why we require a buffering proxy in front of a
|
||||||
default configuration Gunicorn. If you exposed synchronous workers to the
|
default configuration Gunicorn. If you exposed synchronous workers to the
|
||||||
internet, a DOS attack would be trivial by creating a load that trickles data to
|
internet, a DOS attack would be trivial by creating a load that trickles data to
|
||||||
the servers. For the curious, Boom_ is an example of this type of load.
|
the servers. For the curious, Hey_ is an example of this type of load.
|
||||||
|
|
||||||
Some examples of behavior requiring asynchronous workers:
|
Some examples of behavior requiring asynchronous workers:
|
||||||
|
|
||||||
@ -130,5 +130,5 @@ the master process).
|
|||||||
.. _Greenlets: https://github.com/python-greenlet/greenlet
|
.. _Greenlets: https://github.com/python-greenlet/greenlet
|
||||||
.. _Eventlet: http://eventlet.net
|
.. _Eventlet: http://eventlet.net
|
||||||
.. _Gevent: http://gevent.org
|
.. _Gevent: http://gevent.org
|
||||||
.. _Boom: http://ha.ckers.org/slowloris/
|
.. _Hey: https://github.com/rakyll/hey
|
||||||
.. _aiohttp: https://github.com/KeepSafe/aiohttp
|
.. _aiohttp: https://github.com/KeepSafe/aiohttp
|
||||||
|
|||||||
@ -27,10 +27,10 @@ You can gracefully reload by sending HUP signal to gunicorn::
|
|||||||
How might I test a proxy configuration?
|
How might I test a proxy configuration?
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
The Boom_ program is a great way to test that your proxy is correctly
|
The Hey_ program is a great way to test that your proxy is correctly
|
||||||
buffering responses for the synchronous workers::
|
buffering responses for the synchronous workers::
|
||||||
|
|
||||||
$ boom -n 10000 -c 100 http://127.0.0.1:5000/
|
$ hey -n 10000 -c 100 http://127.0.0.1:5000/
|
||||||
|
|
||||||
This runs a benchmark of 10000 requests with 100 running concurrently.
|
This runs a benchmark of 10000 requests with 100 running concurrently.
|
||||||
|
|
||||||
@ -51,7 +51,7 @@ HTTP/1.0 with its upstream servers. If you want to deploy Gunicorn to
|
|||||||
handle unbuffered requests (ie, serving requests directly from the internet)
|
handle unbuffered requests (ie, serving requests directly from the internet)
|
||||||
you should use one of the async workers.
|
you should use one of the async workers.
|
||||||
|
|
||||||
.. _Boom: https://github.com/rakyll/boom
|
.. _Hey: https://github.com/rakyll/hey
|
||||||
.. _setproctitle: http://pypi.python.org/pypi/setproctitle
|
.. _setproctitle: http://pypi.python.org/pypi/setproctitle
|
||||||
.. _proc_name: settings.html#proc-name
|
.. _proc_name: settings.html#proc-name
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user