Hi!
Actually, there is connection pool in couchdb-python [1] already, but
you dont have to keep him in mind and work with it directly - it
already tries to do all job that you need. Connections are stored by
(scheme, host) key, so you shouldn't be able to create thousands
connections to single couchdb server. All connections are relied on
`autoopen` option, so Session object could use old connections many
times without need to recreate them. Connections are closed when
response data was received.
Summarizing, you don't have to work on such low level with
couchdb-python - just relax, open database, run views and fetch docs(:
[1]
http://code.google.com/p/couchdb-python/source/browse/couchdb/http.py#411
--
,,,^..^,,,
> --
> You received this message because you are subscribed to the Google Groups "CouchDB-Python" group.
> To post to this group, send email to
couchdb...@googlegroups.com.
> To unsubscribe from this group, send email to
couchdb-pytho...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/couchdb-python?hl=en.
>