<div dir="ltr">Hi,<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 24, 2015 at 5:18 PM, Oved Ourfali <span dir="ltr">&lt;<a href="mailto:oourfali@redhat.com" target="_blank">oourfali@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><span style="font-size:12.8px">Hi</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I discussed it with Juan (cc-ed).</span></div><div><span style="font-size:12.8px"><br></span></div><span style="font-size:12.8px">There used to be a bug in the JDBC authenticion extension that</span><br style="font-size:12.8px"><span style="font-size:12.8px">artificially delayed RESTAPI responses by 5 seconds:</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">  brute force prevention login delay should not be applied to successful</span><br style="font-size:12.8px"><span style="font-size:12.8px">login requests</span><br style="font-size:12.8px"><span style="font-size:12.8px">  </span><a href="https://bugzilla.redhat.com/1255814" rel="noreferrer" style="font-size:12.8px" target="_blank">https://bugzilla.redhat.com/1255814</a><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">That matches the description of the issue, but in theory it has been</span><br style="font-size:12.8px"><span style="font-size:12.8px">fixed. I would suggest him to check that he is using the right version</span><br style="font-size:12.8px"><span style="font-size:12.8px">of the extension.</span><br style="font-size:12.8px"><br style="font-size:12.8px"></div></blockquote><div>I did not use the extension <span style="color:rgb(0,0,0);font-family:&#39;DejaVu Sans&#39;,&#39;Liberation Sans&#39;,sans-serif">ovirt-engine-extension-aaa-jdbc</span>, and I don&#39;t </div><div>think this bug matches my problem, because even there is only one line</div><div>in the python script, it still cost like 3 seconds, I don&#39;t think this is a</div><div>reasonable time as when I import other package, it cost almost no time.</div><div><br></div><div>Can you explain why this import line costs so much time?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><span style="font-size:12.8px">In addition we also know that retrieving large lists of objects with the</span><br style="font-size:12.8px"><span style="font-size:12.8px">SDK is slow:</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">   [RFE][performance] - generate large scale list running to slow.</span><br style="font-size:12.8px"><span style="font-size:12.8px">   </span><a href="https://bugzilla.redhat.com/1221238" rel="noreferrer" style="font-size:12.8px" target="_blank">https://bugzilla.redhat.com/1221238</a><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">We don&#39;t have a solution for that yet.</span><br style="font-size:12.8px"><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">CC-ing Juan in case you have additional questions.</span></div><div><span style="font-size:12.8px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Nov 23, 2015 at 11:27 AM, John Hunter <span dir="ltr">&lt;<a href="mailto:zhjwpku@gmail.com" target="_blank">zhjwpku@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi guys,<div><br></div><div>I am using the ovirt-engine-sdk-python to communicate with the ovirt-engine,</div><div>I am ok to list the vms but the processing time is too long, like 4.5 seconds,</div><div>and this line:</div><div>    from ovirtsdk.api import API</div><div>take almost 3 seconds.</div><div><br></div><div>This seems a little bit longer than I expected it to be, so I am asking is there</div><div>a quicker way to communicate with the ovirt-engine? <span><font color="#888888"><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div>Best regards<br></div><div>Junwang Zhao</div><div>Department of Computer Science &amp;Technology</div><div>Peking University</div><div>Beijing, 100871, PRC</div></div></div></div></div>
</font></span></div></div>
<br></div></div>_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org" target="_blank">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/devel</a><br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Best regards<br></div><div>Junwang Zhao</div><div>Department of Computer Science &amp;Technology</div><div>Peking University</div><div>Beijing, 100871, PRC</div></div></div></div></div>
</div></div>