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.
recv() ing data too
TODO Have the client create it's own pool?
Using the Pool
- Create a
KiddiePoolof connections (
- Pass the pool instance to your
KiddieClientsubclass for use
- Use your client's API and it will use the pool automatically