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.2.tar.gz (4.2 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for kiddiepool-0.1.2.tar.gz
Algorithm Hash digest
SHA256 70e53157326c522cbaebabb4b40e3b897bbd0641d69506b2da9beb72c15c3c64
MD5 9b78c930378d2e04470b275aa363981d
BLAKE2b-256 e1aca7250c57e6bfbfb21a49c411c260ab21f4b72a1c8b73af67fd922a73c5a8

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