Reusing connections is good. Restkit can maintain http connections for you and reuse them if the server allows it. To do that restkit uses the socketpool module
from restkit import * from socketpool import ConnectionPool pool = ConnectionPool(factory=Connection) r = request("http://someurl", pool=pool)
By default, restkit uses a generic session object that is globally available. You can change its settings by using the restkit.sesssion.set_session function.
Example of usage with Gevent:
from restkit import * from socketpool import ConnectionPool # set a pool with a gevent packend pool = ConnectionPool(factory=Connection, backend="gevent")
Replace gevent by eventlet for eventlet support.