<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Engine Performance - Profiling</title><link>https://answers.axonivy.com/questions/4379/engine-performance-profiling</link><description>&lt;p&gt;Dear Ivy Team&lt;/p&gt;
&lt;p&gt;My test setup is as follows :
4 CPU (i7, 3GHz), Xms128m, Xmx2048m&lt;/p&gt;
&lt;p&gt;2 Browsers, every 3 seconds a click on the UI during 60 seconds&lt;/p&gt;
&lt;p&gt;1 With visualvm it shows that Ivy spent approx 16s with reading, the issue is I can not quantify how much data it is (since your performance / rest client logging is not working). But my guess is, it can only be a few hundred KB in total.&lt;/p&gt;
&lt;p&gt;=&amp;gt; 16s seem to me a lot, can you confirm my results ?&lt;/p&gt;
&lt;p&gt;&lt;img alt="alt text" src="https://answers.axonivy.com/upfiles/Unbenannt.PNG"&gt;&lt;/p&gt;
&lt;p&gt;2 Rest Client - java &amp;gt; Ivy.rest() : is Ivy.rest() client pooled ? (since the Rest Clients are pretty heavy weight they should be pooled otherwise memory consumption skyrockets and also performance will degrade if they are used like in a micro services architecture)&lt;/p&gt;
&lt;p&gt;=&amp;gt; Ivy.rest() did you do any performance analysis ? Is this the "required" way of using Rest Client in Ivy ?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/4379/engine-performance-profiling" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 04 Mar 2020 10:28:41 -0500</lastBuildDate><item><title>Answer by SupportIvyTeam</title><link>https://answers.axonivy.com/questions/4379/engine-performance-profiling/4443</link><description>&lt;p&gt;joined analysis of the issues initiated.
public discussion of this specific issues which only arise with an unsupport rest clients scenario are of no value for a broader audience - so we freeze the thread for now.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">SupportIvyTeam</dc:creator><pubDate>Wed, 04 Mar 2020 10:28:41 -0500</pubDate><guid>https://answers.axonivy.com/questions/4379/engine-performance-profiling/4443</guid></item><item><title>Comment by Reguel Wermelinger on John Moser's question</title><link>https://answers.axonivy.com/questions/4379/engine-performance-profiling#4383</link><description>&lt;p&gt;Just had another look on client connection pooling in our rest stack. It's true that Jersey (our used JAX-RS impl) supports connection pooling when using Apache Http Client as connection provider. Apache is our default provider. But we do not explicitly define a HttpClientconnectionPool as shown here: &lt;a href="https://github.com/jersey/jersey/commit/80c8c7013c52ddf9012932676d1048c79133d0f2#diff-2d8626e00eee8ac6a1e5aaa6ab815086R165"&gt;https://github.com/jersey/jersey/commit/80c8c7013c52ddf9012932676d1048c79133d0f2#diff-2d8626e00eee8ac6a1e5aaa6ab815086R165&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So no, we do not have this kind of pooling. If this is a real world issue, when using ivy api, and you need more flexibility to enable a pooling. Let us know.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Mon, 10 Feb 2020 02:58:36 -0500</pubDate><guid>https://answers.axonivy.com/questions/4379/engine-performance-profiling#4383</guid></item><item><title>Comment by Reguel Wermelinger on John Moser's question</title><link>https://answers.axonivy.com/questions/4379/engine-performance-profiling#4382</link><description>&lt;p&gt;Well it is around since quite a while: the first public release was here &lt;a href="https://developer.axonivy.com/releases/ivy/6.2.0/documents/doc/newAndNoteworthy/NewAndNoteworthyDesigner.html"&gt;https://developer.axonivy.com/releases/ivy/6.2.0/documents/doc/newAndNoteworthy/NewAndNoteworthyDesigner.html&lt;/a&gt;
... so around 3 years + ... therefore it is included in all supported platform versions today&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Fri, 07 Feb 2020 09:32:43 -0500</pubDate><guid>https://answers.axonivy.com/questions/4379/engine-performance-profiling#4382</guid></item><item><title>Comment by John Moser on John Moser's question</title><link>https://answers.axonivy.com/questions/4379/engine-performance-profiling#4381</link><description>&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;something homebrew&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;p&gt;When has Ivy.rest() been introduced to the public ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Moser</dc:creator><pubDate>Fri, 07 Feb 2020 08:59:50 -0500</pubDate><guid>https://answers.axonivy.com/questions/4379/engine-performance-profiling#4381</guid></item><item><title>Comment by Reguel Wermelinger on John Moser's question</title><link>https://answers.axonivy.com/questions/4379/engine-performance-profiling#4380</link><description>&lt;ol&gt;
&lt;li&gt;what is in ch.xperline.luz.components.RestClient ? Is it relying upon platform APi or something homebrew?  If it's not platform code, we can not support it.&lt;/li&gt;
&lt;li&gt;We are not aware of any performance/memory issues with the way we create Restclient instances. There are several caching mechanisms in charge though. If there are performance issues anyway (caused by the way we manage rest clients) we'd gladly improve it.&lt;/li&gt;
&lt;/ol&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Fri, 07 Feb 2020 05:13:44 -0500</pubDate><guid>https://answers.axonivy.com/questions/4379/engine-performance-profiling#4380</guid></item></channel></rss>