Skip to main content

Container for thrift services.

Project description

CI status: cistatus

ThriftPool is an application server for Thrift services. It should create needed sockets, start workers, serve requests from client and log them. It use pyuv as wrapper for libuv and pre-fork model for load balancing between workers. Request processing written in Cython.

Key features:

  • Pre-fork worker model;

  • Fast request processing (~3500 rps);

  • Support request logging.

Code of project based on Celery.

Changelog

0.1.21

  • Add support for handlers start and stop;

0.1.19 - 0.1.20

  • Add support for worker restarting after their ttl expired;

0.1.17 - 0.1.18

  • Ensure that acceptors started after workers crashed;

0.1.15 - 0.1.16

  • Fix bugs;

0.1.14

  • Start listeners after workers;

0.1.1 - 0.1.13

  • Add support for prefork model;

0.1.0 (initial release)

  • Base prototype;

Project details


Download files

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

Source Distribution

thriftpool-0.2.9.tar.gz (64.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page