.NET application freeze

  • Thread starter Thread starter Nelson Xu
  • Start date Start date
N

Nelson Xu

Hi All,
I am currently working on a three tier Web application
written by VB.NET for our company.

This project is in the user testing stage. However, the
application sometimes freeze and we cannot release it
unless this issue has been solved.

Here is how the application works:
<1>GUI send all the request to Middle tier;
<2> Middle tier then call Store procedure (Oracle is our
database) to retrieve data;
<3> Middle tier store data to a dataset and return either
a single dataset or a collection of datasets(arraylist) to
GUI;
<4> GUI store dataset or arraylist to a session variable
and the session variable will stay until user close the
browser.
<5> The arraylist or single dataset will be passed as
parameter back anf forth between the GUI and Middle tier.

I am wondering that is the dataset which stored in session
caused application freeze ?

Any help will be appreciated !

Nelson Xu
 
what is the size of this ArrayList of datasets and when is it populated ?
are all of those being populated in around the same call...
if so... how many users have you tested this approach against ?

run something like a Profiler equivalent of Oracle to see how many request
are being hit and how many are being served.
Run Perfmon and set your .net counters. try and find the bottleneck.

the best approach is to use and dispose the data.. unless you use the same
data all too often.
if the data is common between users then try to sort common datasets in
Cache object.

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
 
Back
Top