Python SDK real world use
I'm trying to establish the correct method of using the Python SDK (as it stands right now) in a WSGI based application (Flask).
Each new connection to the cluster (single member running on localhost) takes over a second to establish. This means I must leave the connection open, which can then be reused by subsequent requests. I assume this is bad, as there are resources being left open after the WSGI process / thread dies (unless this is the rest client only?). I'm using the unified client at the moment.
I don't see an alternative to leaving this open right now (the unified client doesn't have a close method anyway). Any suggestions on the correct approach?