Python Client Driver Pool
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit ahead, 84 commits behind urbanairship:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Kiddie Pool - Python Pooling Driver Framework


  • 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