This is a migrated thread and some comments may be shown as answers.

ReportProcessor in WCF service, how are report renders scheduled?

1 Answer 69 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Pierrick
Top achievements
Rank 1
Pierrick asked on 17 Feb 2014, 04:57 PM
Hello,

I'm load testing my application right now. It consists of a web app which is calling a WCF Rest service to render the a report in PDF.

When we are sending 5 requets from 5 differents tabs of the browser, we realized that every report are rendered one after the other. As they are large reports about 4 minutes to render. I'm wondering if there is a way to configure the ReportProcessor in order to parallelize the rendering?

Thanks in advance for your help,

See in attachment, a graph of CPU, memory and IO. large IO spikes is basically when the app is writing a report to the disk.

Pierrick

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 20 Feb 2014, 12:51 PM
Hi Pierrick,

You can test the approach described in the How to render reports asynchronously by using the async and await keywords KB article. Note that you need to use TypeReportSource to avoid locking resources. Also if reports use shared resources as images on the server, you have to consider how and when resources are in use by processes to avoid locks.

About the CPU spikes, you can find more details in Memory exception error on report pdf creation forum thread. Generally, try using our cache, that will store image resources.

Regards,
Stef
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

Tags
General Discussions
Asked by
Pierrick
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or