Skip to main content

Pool class for zc.resumelb which divides workers by version

Project description

Pool for zc.resumelb to divide workers by version

This module contains a pool class which uses the classifier to route requests to multiple sub-pools of workers. Each sub-pool works like a normal zc.resumelb pool but only on workers of a single version.

The classifier will decide which of the sub-pools will serve the request by returning a tuple (version, classifier). This request will be served by a sub-pool containing only workers of a matching version.


At the current time, the only way is to monkey patch the class Like this:

>>> from van.resumelb import Pool
>>> import
>>> = Pool

WARNING: you must pass –single-version to the loadbalancer startup script. If you do not, all the workers will have a version of None.

In the future it should be possible to set the Pool class on the command line. The code to enable command-line overriding of the pool is awaiting merging at:

Project details

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
van.resumelb-0.5.tar.gz (3.9 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page