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 hashes)

Uploaded Source

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