please hold https connection open

Bug #522957 reported by Martin Pool
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
launchpadlib
Triaged
Low
Leonard Richardson

Bug Description

At the moment launchpadlib opens a new ssl connection for every api call. This is very expensive, about 1.25s for me, before it even gets to start sending the request. It would be nice if it held the connection open.

I don't know if this needs changes to the server, client, or something else. Launchpad doesn't specifically say "connection: close" so it may be willing to leave it open.

Changed in launchpadlib:
assignee: nobody → Leonard Richardson (leonardr)
Revision history for this message
John A Meinel (jameinel) wrote :

I'll note that bzr's http transports do hold the connection open, using urllib2 as the basic library. (With a fair amount of extension, however.)

So the core python libraries are capable of maintaining the connection.

Martin Pool (mbp)
Changed in launchpadlib:
status: New → Confirmed
Revision history for this message
Gary Poster (gary) wrote :

Triaging as low, but improving launchpadlib performance will be the next big initiative for the webservice. If this is identified as one of the areas with the most potential of improving performance, we will pursue it.

Changed in launchpadlib:
status: Confirmed → Triaged
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.