update links and reST syntax for mod_wsgi
| | |
| | | :ref:`adding_and_overriding_renderers` for more information. |
| | | |
| | | mod_wsgi |
| | | `mod_wsgi <https://code.google.com/archive/p/modwsgi>`_ is an Apache |
| | | `mod_wsgi <https://modwsgi.readthedocs.io>`_ is an Apache |
| | | module developed by Graham Dumpleton. It allows :term:`WSGI` applications |
| | | (such as applications developed using :app:`Pyramid`) to be served using |
| | | the Apache web server. |
| | |
| | | to get a job done. Extraneous function calls and suboptimal algorithms in its |
| | | core codepaths are avoided. It is feasible to get, for example, between 3500 |
| | | and 4000 requests per second from a simple Pyramid view on commodity dual-core |
| | | laptop hardware and an appropriate WSGI server (mod_wsgi or gunicorn). In any |
| | | laptop hardware and an appropriate WSGI server (:term:`mod_wsgi` or gunicorn). In any |
| | | case, performance statistics are largely useless without requirements and |
| | | goals, but if you need speed, Pyramid will almost certainly never be your |
| | | application's bottleneck; at least no more than Python will be a bottleneck. |
| | |
| | | provide the best development experience. |
| | | |
| | | One popular production alternative to the default Waitress server is |
| | | :term:`mod_wsgi`. You can use mod_wsgi to serve your :app:`Pyramid` application |
| | | :term:`mod_wsgi`. You can use ``mod_wsgi`` to serve your :app:`Pyramid` application |
| | | using the Apache web server rather than any "pure-Python" server like Waitress. |
| | | It is fast and featureful. See :ref:`modwsgi_tutorial` for details. |
| | | |
| | | Another good production alternative is :term:`Green Unicorn` (aka |
| | | ``gunicorn``). It's faster than Waitress and slightly easier to configure than |
| | | mod_wsgi, although it depends, in its default configuration, on having a |
| | | ``mod_wsgi``, although it depends, in its default configuration, on having a |
| | | buffering HTTP proxy in front of it. It does not, as of this writing, work on |
| | | Windows. |
| | | |
| | |
| | | :term:`mod_wsgi` has many knobs and a great variety of deployment modes. This |
| | | is just one representation of how you might use it to serve up a :app:`Pyramid` |
| | | application. See the `mod_wsgi configuration documentation |
| | | <https://code.google.com/archive/p/modwsgi/wikis/ConfigurationGuidelines.wiki>`_ |
| | | <https://modwsgi.readthedocs.io/en/develop/configuration.html>`_ |
| | | for more in-depth configuration information. |