Large memory control questions

J

Justin Weinberg

I have an ASP.NET control that can generate up to 200K in memory on a per
request basis. It reads a series of files, manipulates them in memory and
then writes them out together as a single response stream. This is
unavoidable given what I'm doing with them.

I have a couple questions about this.

1) What is a good way to stress test a control like this? How can I know
this is feasible for an enterprise grade organization? I know perfmon is
the correct monitoring tool, but what's a good stress test methodology prior
to deployment?

2) I've currently implementing this control using a required web page on the
client to process the outgoing stream. This page is then referenced with
the appropriate mime, etc. I considered using HTTPModules, but I noticed
that HTTPModules participate in every request to a server regardless of
whether they have been invoked. Which is more efficient for this amount of
data?

3) I'm current reading the files (appx 17K a piece) off the disk with
readonly access. Would it be more or less efficent to put them in SQL
Server as BLOBS?

Many thanks for your candid answers.
 
V

Victor Garcia Aprea [MVP]

Hi Justin,

Its really difficult to guess what may perform better without knowing lots of detail of your specific scenario. There are lots of tools for stressing web apps. If you've VS.NET (Pro or + editions only I believe) you should have MS ACT (Application Center Test) that you could use to do some testings.

--
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
http://obies.com/vga/blog.aspx
To contact me remove 'NOSPAM'. Please post all questions to the newsgroup
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,123
Messages
2,570,739
Members
47,293
Latest member
Liiyannn

Latest Threads

Top