<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>JBoss servers&amp;#39; CPU usage reaching &amp;gt;300% when Appian API is triggered by MuleSoft</title><link>https://community.appian.com/discussions/f/integrations/12652/jboss-servers-cpu-usage-reaching-300-when-appian-api-is-triggered-by-mulesoft</link><description>When the integration layer, MuleSoft triggers Appian&amp;#39;s &amp;quot;PUT&amp;quot; service Web API sending around 100MB of data, the 2 JBoss servers CPU usage on the Appian side reaches &amp;gt;300%. Thereby causing performance issues and the MuleSoft gets 401 error, as the Web API</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: JBoss servers' CPU usage reaching &gt;300% when Appian API is triggered by MuleSoft</title><link>https://community.appian.com/thread/56575?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 03:09:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a109a304-7673-4059-ac1a-f14c57d3f232</guid><dc:creator>Apoorv Gangwar</dc:creator><description>The problem is this amount of data will flow every 5 minutes from mulesoft. &lt;br /&gt;
I had a discussion with Appian support and according to them, doing huge data transactions through web API not recommended. They suggested that mulesoft should directly connect to Appian DB and send the data.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JBoss servers' CPU usage reaching &gt;300% when Appian API is triggered by MuleSoft</title><link>https://community.appian.com/thread/56559?ContentTypeID=1</link><pubDate>Wed, 13 Jun 2018 12:31:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d68f6ac4-7d5e-4f34-b464-2d7da33b9475</guid><dc:creator>Justin Watts</dc:creator><description>Agree with Alok. Mulesoft is a flexible middleware. I expect a workflow could be developed that would allow for batched calls to Appian.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JBoss servers' CPU usage reaching &gt;300% when Appian API is triggered by MuleSoft</title><link>https://community.appian.com/thread/56553?ContentTypeID=1</link><pubDate>Wed, 13 Jun 2018 08:40:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:da0d72c9-c5c3-4dc5-994e-64fca77c9958</guid><dc:creator>aloks0189</dc:creator><description>Are there any possibility, where we can ask the mulesoft to send the data in batch. Because holding so huge amount of data in memory and performing your operation over this is never recommended as this will cause performance issues.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JBoss servers' CPU usage reaching &gt;300% when Appian API is triggered by MuleSoft</title><link>https://community.appian.com/thread/56547?ContentTypeID=1</link><pubDate>Wed, 13 Jun 2018 06:13:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:55ce6987-baa1-499a-ab3e-cc6a0ebde45b</guid><dc:creator>Apoorv Gangwar</dc:creator><description> 100 MB of data is in JSON format, which mulesoft sends through Web API. Then we save this data into db.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JBoss servers' CPU usage reaching &gt;300% when Appian API is triggered by MuleSoft</title><link>https://community.appian.com/thread/56546?ContentTypeID=1</link><pubDate>Wed, 13 Jun 2018 06:10:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:01e2cc10-9b3c-466c-a01e-695c427e98e9</guid><dc:creator>Apoorv Gangwar</dc:creator><description>Web API is simply inserting the relevant data out of 100 MB data to DB by starting a process model which in turn triggers a process model. Batching of data is not possible.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JBoss servers' CPU usage reaching &gt;300% when Appian API is triggered by MuleSoft</title><link>https://community.appian.com/thread/56536?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2018 22:09:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:487622ce-3542-4c61-be89-e84522b65ce3</guid><dc:creator>aloks0189</dc:creator><description>Hi &lt;a href="/members/apoorvg0001"&gt;Apoorv Gangwar&lt;/a&gt;  what do you mean by 100 mb of data? Is that a file such as excel , CSV contains plenty of rows or a file like a document.&lt;br /&gt;
&lt;br /&gt;
Because if it&amp;#39;s the excel or CSV which contains the data retrieved from db, then I believe you should process the in batch size instead of processing the whole amount of data.&lt;br /&gt;
&lt;br /&gt;
But if it&amp;#39;s a binary data, then may I know, how are you transferring the document to the client?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JBoss servers' CPU usage reaching &gt;300% when Appian API is triggered by MuleSoft</title><link>https://community.appian.com/thread/56535?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2018 21:55:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4781dc63-9025-42aa-b769-775586b2b598</guid><dc:creator>Justin Watts</dc:creator><description>What is the Web API doing functionally speaking? That&amp;#39;s a large amount of data to send to the endpoint at once, and depending on the activities you are executing (e.g. starting processes, calling costly functions), it seems just to be an expensive operation. I would first consider batching the data into smaller chunks if possible, as well as analyzing the Web API to see if it can be optimized at all.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>