If you became a customer of the Syncfusion� Reporting Platform or the Report Viewer, Report Designer, or Report Writer components before October 2019 and have questions related to those products, you can request support through our forum system. However, please note that this support system is only for existing customers who are still using the Syncfusion� Reporting Platform or its components and not for new customers looking for reporting products from Syncfusion�.

For new customers or those with general reporting questions, we recommend contacting our support team at https://support.boldreports.com/, which is a separate brand created by Syncfusion� for its reporting solutions. Our team will be happy to assist you with any questions you may have.

Thank you for choosing Syncfusion� for your reporting needs.

What caching mechanism does the Angular report viewer leverage and what options are there?


We have a load balancer without sticky sessions turned on and we think this is causing issue with report viewer.

1. Does report viewer leverage caching ?
2. If so how does it cache the data ?
3. Are there options to how is caching is implemented.


I did see this feature request 
Support to extend the ReportViewer caching option with application in Embedded Reporting | Feedback Portal (boldreports.com)

10 Replies 1 reply marked as answer

MR Manoranjan Rajendran Syncfusion Team February 23, 2021 01:18 PM UTC

Hi Voss, 
 
Please find the details from below table, 
 
Does report viewer leverage caching ? 
We will store the processing information in application memory cache but that is not a option for an serve the report from cache for multiple users. As of now, we don’t have the option to use the external storage for storing the processing information. 
If so how does it cache the data ? 
Are there options to how is caching is implemented. 
 
Regards, 
Manoranjan R 


Marked as answer

VG Voss Grose December 28, 2021 06:15 PM UTC

Any update on supporting load balancer with reporting ?

I would think this would be a very common issue with most of your users.



AM Arumugasami Murugesan Syncfusion Team December 29, 2021 01:34 PM UTC

Hi Voss, 
 
Thanks for the update, 
 
We will validate and update you the further details for this on December 30, 2021. 
 
Regards, 
Arumugasami M 



AM Arumugasami Murugesan Syncfusion Team December 30, 2021 11:34 AM UTC

Hi Voss, 
 
We have provided the support for load balancers for Kubernetes with our Bold Reports. Could you please confirm where you are hosting your application, like Azure, Kubernetes, or Linux? 
 
Regards, 
Arumugasami M 



VG Voss Grose January 2, 2022 07:11 PM UTC

We have 2 main apps.
One is hosted directly in IIS on a VM. This is the one with the load balancer.


We have not tried yet with our Azure deployment yet, but would like to.



AM Arumugasami Murugesan Syncfusion Team January 3, 2022 01:54 PM UTC

Hi Voss, 
 
Thanks for the update, 
 
We are currently working on a distributed file storage feature for the cache feature as of now and it will be included in our upcoming 4.1 Bold Reports release, which is expected in March 2022. 
 
 
Regards, 
Arumugasami M 



AM Arumugasami Murugesan Syncfusion Team May 2, 2022 01:50 PM UTC

Hi Voss,


Sorry for the delay.


Still, we are progressing this feature for larger data processing and will include this feature in our upcoming 4.2 Bold Reports release, which is expected at the end of July 2022. 


Regards,

Arumugasami M



AM Arumugasami Murugesan Syncfusion Team August 24, 2022 09:45 AM UTC

Hi Voss,


Sorry for the inconvenience.


We were unable to include this feature in the Bold Reports v4.2 release. We had planned to include this feature in v4.3 ,which was scheduled for the month of November. We will inform you once the release is held. We request your patience until then.


Regards,

Arumugasami M



AM Arumugasami Murugesan Syncfusion Team December 2, 2022 01:23 PM UTC

Voss, Due to the change in the release plan, we postponed the next release. We will let you know once the feature is implemented.



BS Buvana Sathasivam Syncfusion Team March 21, 2023 11:41 AM UTC

Voss,


Sorry for the delay,


Please find the below step for enabling the distributed cache improvement for embedding case.


Guidelines:

1. Please inherit this interface IReportHelperSettings in this in your report viewer controller as like below snap,

2. Please implement the interface methods as like below snap,

3. Please initialize the File storage settings as like below,

helperSettings.StorageSettings = new CacheStorageSettings();
helperSettings.StorageSettings.Provider = StorageProvider.File;
helperSettings.StorageSettings.ItemTypes = StorageItemTypes.Report;

4. Please add the CacheStorageSettings class in the same controller namespace as like below,

public class CacheStorageSettings : BoldReports.Web.StorageSettings
{
public override byte[] GetBytes(string key, string storageModelType)
{
try
{
var fileDirectory = Path.Combine("Need to provide the report rendering cache file storage directory", key, key + "-" + storageModelType + ".json");

if (File.Exists(fileDirectory))
{
return File.ReadAllBytes(fileDirectory);
}
}
catch (Exception ex)
{
// Log your error.
}

return null;
}

public override void SetBytes(string key, byte[] value, string storageModelType)
{
try
{
string fileDirectory = Path.Combine("Need to provide the report rendering cache file storage directory", key);

if (!Directory.Exists(fileDirectory))
{
Directory.CreateDirectory(fileDirectory);
}

var jsonFile = Path.Combine(fileDirectory, key + "-" + storageModelType + ".json");
File.WriteAllBytes(jsonFile, value);
}
catch (Exception ex)
{
// Log your error.
}
}

public override void Delete(string key)
{
try
{
string fileDirectory = Path.Combine("Need to provide the report rendering cache file storage directory", key);

if (Directory.Exists(fileDirectory))
{
Directory.Delete(fileDirectory, true);
}
}
catch (Exception ex)
{
// Log your error.
}
}
}

 



Loader.
Up arrow icon