@@ -159,8 +159,9 @@ Gevent
159
159
160
160
`Gevent <http://gevent.org >`_ is another asynchronous framework based on
161
161
coroutines, very similar to eventlet. An Engine.IO server deployed with
162
- gevent has access to the long-polling transport. If project gevent-websocket
163
- is also installed, the WebSocket transport is also available.
162
+ gevent has access to the long-polling transport. If project
163
+ `gevent-websocket <https://bitbucket.org/Jeffrey/gevent-websocket/ >`_ is
164
+ installed, the WebSocket transport is also available.
164
165
165
166
Instances of class ``engineio.Server `` will automatically use gevent for
166
167
asynchronous operations if the library is installed and eventlet is not
@@ -197,7 +198,7 @@ Or to include WebSocket::
197
198
198
199
Same as with eventlet, due to limitations in its load balancing algorithm,
199
200
gunicorn can only be used with one worker process, so the ``-w 1 `` option is
200
- required. Note that a single eventlet worker can handle a large number of
201
+ required. Note that a single gevent worker can handle a large number of
201
202
concurrent clients.
202
203
203
204
Note: Gevent provides a ``monkey_patch() `` function that replaces all the
@@ -240,6 +241,9 @@ can handle multiple concurrent requests using threads, since a client can have
240
241
up to two outstanding requests at any given time. The Werkzeug server is
241
242
single-threaded by default, so the ``threaded=True `` option is required.
242
243
244
+ Note that servers that use worker processes instead of threads, such as
245
+ gunicorn, do not support an Engine.IO server configured in threading mode.
246
+
243
247
Multi-process deployments
244
248
~~~~~~~~~~~~~~~~~~~~~~~~~
245
249
0 commit comments