[pve-devel] way to get all vm configs?

Stefan Priebe - Profihost AG s.priebe at profihost.ag
Fri Dec 6 09:19:09 CET 2013


Hi Dietmar,

Am 05.12.2013 17:47, schrieb Dietmar Maurer:
>>> I don't really like to add such API extensions, because that is just a speed
>> optimization?
>>
>> Yes. As creating and establishing SSL connections is really expensive.
> 
> But you need to create the connection only once  - then you  can call multiple
> API methods (using http keep-alive flag).

i tried that but then i discovered that this doesn't really make a
difference.

Initiating the 250 connection took 2s. But EACH /qemu/123/config request
took 0.1s resulting in 25s. My client is most of the time waiting for an
answer of the pveproxy server.

Greets,
Stefan


More information about the pve-devel mailing list