David Grundberg wrote:
My app needs to allow downloads of relatively large files (10MB). Because Struts can/will reuse Actions for different threads, I'm worried that when multiple requests attempt to download these big files that a single "BigFileDownloadAction" will block until a download is complete thereby slowing all downloads (effectively making them serial). Am I missing something?

Why worry? Benchmark it and find out. I like Jmeter, but maybe someone else on the list can recommend a better tool.

As it stands, you have not described anything that would require a blocking execute method in your action. From what you've stated, you will likely see some disk IO contention. Again, benchmarking will tell you what your system can handle, and whether or not you need to optimize. Why optimize unless you're sure you need to. And, if you're going to optimize, it's nice to have a way to measure.


-Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to