Copy link to clipboard
Copied
I have an application that creates 1-10 page PDF's using <cfpdf action tag.
I have tested and it works well.
My client wants to unveil this app to hundreds of users at the same time.
Normal usage will be 5-15 simultaneously...but that first day there could be hundreds.
I am afraid that hundreds of users creating PDF's at the same time might bring down the server.
Is this something I should be worried about?
Is there any code I can add to the app that could remedy any potential problems?
Is there a certain number of concurrent creating PDF's that cause problems?
If so is there a way to see if I am at the number to avoid server issues?
Would 5-15 concurrent users creating PDF's cause problems
Copy link to clipboard
Copied
I`m no expert so forgive me if my answer is no good.
I think using CFLOCK tag would help http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p71.htm.
Copy link to clipboard
Copied
I think cflock is just the kind of code you should avoid. It can slow things down. In these matters, my philosophy is to start with a bare minimum of design and coding. I would then add extra functionality only on the basis of necessity.
You can find out yourself whether your application can cope. Do a load test. Some of the best load-testing software is open-source and free, yes, as in free beer.