Merge ~pwlars/testflinger/+git/testflinger-charm-reactive-layer:better-scaling into testflinger:master

Proposed by Paul Larson
Status: Superseded
Proposed branch: ~pwlars/testflinger/+git/testflinger-charm-reactive-layer:better-scaling
Merge into: testflinger:master
Diff against target: 568 lines (+496/-0)
12 files modified
README (+31/-0)
config.yaml (+9/-0)
icon.svg (+279/-0)
layer.yaml (+5/-0)
metadata.yaml (+14/-0)
reactive/testflinger.py (+95/-0)
templates/testflinger-vhost.conf (+8/-0)
templates/testflinger.conf (+3/-0)
templates/testflinger.service (+10/-0)
testflinger.yaml (+6/-0)
tests/00-setup (+5/-0)
tests/10-deploy (+31/-0)
Reviewer Review Type Date Requested Status
Canonical Hardware Certification Pending
Review via email: mp+337726@code.staging.launchpad.net

This proposal has been superseded by a proposal from 2018-02-14.

Description of the change

Bump the number of workers a bit (4 is still quite reasonable) and use gevent. This should help us avoid timeouts due to the large increase in agents and users we've had, combined with small delays in processing requests when they require writing/reading to redis or files on the server.

These changes are running in production right, and seem to be going well so far. I'd like to codify them here though in case we ever need to redeploy.

To post a comment you must log in.

There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches