PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

concurrent pdf generation
https://forum.pdfsharp.net/viewtopic.php?f=2&t=1419
Page 1 of 1

Author:  mikesowerbutts [ Fri Nov 12, 2010 4:49 pm ]
Post subject:  concurrent pdf generation

Hi,

I am creating my pdfs through an ASP.NET start page, where I basically create a new instance of an object (which then creates the pdf). If i wanted multiple users to be able to concurrently create pdfs. does ASP.NET/IIS handle this automatically or do I need to create a new thread each time and then create the object which creates the pdf in that thread? I realise this isnt strictly a pdfsharp question, but its related...

Currently I am testing this by having a .aspx page with 20 frame within it, each pointing to my main .aspx start page where the objects are created etc. the problem is that they are loading one at a time, rather than concurrently

Thanks,

Mike

Author:  Thomas Hoevel [ Mon Nov 15, 2010 9:03 am ]
Post subject:  Re: concurrent pdf generation

Hi, Mike!
mikesowerbutts wrote:
the problem is that they are loading one at a time, rather than concurrently

Could be a browser feature.

AFAIK Internet Explorer will not open more than 2 concurrent connections to the same server (but I think there is a Registry setting to tweak that).
You could assign 20 different names to your server (www01.server.com through www20.server.com).

But I have no idea how ASP.NET/IIS would handle this.

Author:  mikesowerbutts [ Mon Nov 15, 2010 9:47 am ]
Post subject:  Re: concurrent pdf generation

Hi Thomas,

Thanks for the info - I will look for the reg tweak first as i will end up doing this kind of stress testing on many projects and setting up lots of different names each time seems like hard work :)

Thanks

Mike

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/