Red Hat Bugzilla – Bug 1004295
pywbem initiates new HTTP connection with each request
Last modified: 2013-11-01 08:42:16 EDT
Description of problem:
Each request inside WBEMConnection opens new TCP connection to CIMOM, which includes TLS handshake (if enabled). This slows down whole communication a lot.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
c = pywbem.WBEMConnection("https://localhost", ("root", "opensesame"))
in wireshark, I see lot of separate TCP connections
One TCP connection with HTTP keep-alive enabled.
Created attachment 818282 [details]
Highly experimental patch
Using Connection: Keep-Alive did not have any significant performance improvements, I'm closing the bug for now.