Comparing Some WSGI Configurations for Plone

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →

Comparing Some WSGI Configurations for Plone

Lightning talk given at https://2018.ploneconf.org/

Thomas Schorr

November 08, 2018

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

9 slides
  1. System Setup Vagrant VM, 2 CPUs, 2G RAM running Ubuntu

    18.04 Python 3.7.1 buildout.coredev, 5.2 branch Single Plone instance using FileStorage Nginx
  2. Gunicorn op�on 1: 4 worker thread with default threading model

    (‘sync’) op�on 2: 4 workers using gevent worker class other possible thread classes (not tested): eventlet, gthread, tornado
  3. uWSGI op�on 1: asyncio loop engine with 4 greenlet workers

    op�on 2: 2 preforked processes each running 2 greenlets using asyncio
  4. Test runs 1000 sequen�al requests using 5 requests at a

    �me, 1000 requests in total � ������� �������� ����������� ����� ������ ����������� ���� � �� �� �� ���� �� � ���������������������������

More Decks by Thomas Schorr

Other Decks in Programming