Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Comparing Some WSGI Configurations for Plone

Comparing Some WSGI Configurations for Plone

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

Thomas Schorr

November 08, 2018
Tweet

More Decks by Thomas Schorr

Other Decks in Programming

Transcript

  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 � ������� �������� ����������� ����� ������ ����������� ���� � �� �� �� ���� �� � ���������������������������