Skip to main content

An extensible driver framework with pooling

Project description

© 2012 Urban Airship

https://github.com/urbanairship/kiddiepool

Goals

  • Create a reusable connection pool class that handles failover

Creating a New Client

Subclass at least KiddieClient to create the public API for your client driver. Should call KiddieClient._sendall(<str>) to send data.

TODO Support recv() ing data too

TODO Have the client create it’s own pool?

Using the Pool

  1. Create a KiddiePool of connections (KiddieConnections)

  2. Pass the pool instance to your KiddieClient subclass for use

  3. Use your client’s API and it will use the pool automatically

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

kiddiepool-0.1.1.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file kiddiepool-0.1.1.tar.gz.

File metadata

  • Download URL: kiddiepool-0.1.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for kiddiepool-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4f028003951719f6952e74c1959b28cdcbc05ce4f040aba8c319d5b3bda7dcf9
MD5 6d291d33a676d24b877bfe8b2ab5a44f
BLAKE2b-256 006f53f366a19bd2fddd417184635a34d5ad87bba9c444bb2545b9b2667d3660

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page