Introduction
Open Source BI Helical Insight version 6.2 introduces a major architectural enhancement with support for Streaming Response along with the implementation of an optimized Stream Cache Strategy.
If you plan to view multi pager data, then this configuration can give immense performance boost. Since page wise data we mainly see in canned report, in interactive report (hreport) also when we see the report in table format and you can easily see a performance improvement by more than 85-90%.
Further this version also helps with performance improvement of interactive charts/ dashboards also by nearly 50%.
Steps to Enable Streaming Response Configuration:
In our future versions, we will have this setting by default enable. But if you are using 6.2 or upgrading from older version to this version you will have to manually enable this setting.
1. Update cache.xml
Open the cache.xml file which is present at the location:
Change value of cacheStrategy from default to stream i.e. from:
<cacheStrategy>default</cacheStrategy>
To:
<cacheStrategy>stream</cacheStrategy>
Also change:
<enableParallelReportGeneration>false</enableParallelReportGeneration>
To:
<enableParallelReportGeneration>true</enableParallelReportGeneration>
2. Update setting.xml
Open the setting.xml file present at the below location:
Change:
<streamResponse>false</streamResponse>
To:
<streamResponse>true</streamResponse>
3. Explanation of waitUntilFirstPageLoad Property in setting.xml
A new property named waitUntilFirstPageLoad has been introduced in the setting.xml configuration file from version 6.2.1 onwards.
Purpose of This Property
This property controls how canned report behaves when streaming mode is enabled, specifically during the initial page rendering process.
There might be components in the canned report which require to load all pages and then do calculation (example : total page number, percentage based on all values etc).
It determines whether the application should:
Render the first page immediately for faster user experience and that specific component which needs all page load to be left blank for faster viewing experience. When the platform has calculated everything then at the bottom, next to page navigation, user can see a button which will show that an update is available. Clicking on it now that component which was not appearing will also start appearing (like the total page number)
Wait until the platform has all the information ready to render the page completely and then start rendering the page. With this it might take more time but the entire report data is loaded before rendering the first page.
4. Save all configuration changes and clear the application cache from the Helical Insight home page.
Note:
Cache files will be generated in the below server path:
Please reach out tosupport@helicalinsight.comin case of any questions.
