Pool pithos backends using ObjectPool
authorVangelis Koukis <vkoukis@grnet.gr>
Thu, 6 Sep 2012 14:40:43 +0000 (17:40 +0300)
committerVangelis Koukis <vkoukis@grnet.gr>
Thu, 6 Sep 2012 14:40:43 +0000 (17:40 +0300)
commit35d423819725e92020504be4a647fe7d9f152dbb
tree0d3693d791387f5054fdd2104f812cb5ebda8eb7
parent8ee4ec507f5443e48a60c4786d8ef8d66e2af3ba
Pool pithos backends using ObjectPool

Use ObjectPool functionality from synnefo.lib.pool
to pool backend objects.

This reduces the per-request overhead significantly,
since each backend object is only initialized once,
and connections to the DB are persistent.

Also bump snf-common dependency to reflect need for
updated snf-common with ObjectPool support.

Signed-off-by: Georgios D. Tsoukalas <gtsouk@cslab.ece.ntua.gr>
Signed-off-by: Vangelis Koukis <vkoukis@grnet.gr>
snf-pithos-app/pithos/api/util.py
snf-pithos-app/setup.py