Getting binary object contents is extremely slow

Bug #1517573 reported by Johannes Erdfelt
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack SDK

Bug Description

When using object_store.get_object or object_store.download_object on a large binary object, it is *very* slow.

After some debugging, I traced it down to a poorly placed call to response.text. Since there is no encoding specified for the content, requests will try to automatically figure out the encoding and that is *very* slow on large binary content.

The call to response.text in openstack/ should not happen in the case of binary content.

Revision history for this message
Everett Toews (everett-toews) wrote :

The code causing this bug was recently completely replaced.

Can you please try this again with version 0.7.1 and see if the situation has improved?

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-openstacksdk (master)

Change abandoned by Monty Taylor (<email address hidden>) on branch: master

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers