Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Handling too many requests to asp.net application... any help?

Reply
Thread Tools

Handling too many requests to asp.net application... any help?

 
 
Ryan
Guest
Posts: n/a
 
      09-14-2004
I am hoping to get some ideas on how to handle a case when an
application gets too many requests for an application... I would like
to handle the case well...

(1) is the answer in using the queue limit attributes in the config
files and setting the too busy error page (in IIS i think) to nice
error page?

(2) is the answer to create a upfront request-handling application
that doesnt hit the database that counts requests for a certain time
period and sends the user to the application if it is under that
request limit?

(3) what would be nice is .. is to have the user try to hit an
application and if the server is too busy have a nice/clean message
saying the server is busy please wait while we try your request
again...
(3a) but then the question is... what happens if the user hits
refresh over and over...
(3b) this also doesnt but the user in a queue.. and may let another
person jump in line ahead


Thanks in advance...
Ryan
 
Reply With Quote
 
 
 
 
bruce barker
Guest
Posts: n/a
 
      09-14-2004
i run realtime statistical analysis, and report to the user if over
thresholds. for example if the system is > 90% capacity warn the user that
the system may be slow. if > 100%, block at the entry/home page and any
expensive pages.


-- bruce (sqlwork.com)





"Ryan" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> I am hoping to get some ideas on how to handle a case when an
> application gets too many requests for an application... I would like
> to handle the case well...
>
> (1) is the answer in using the queue limit attributes in the config
> files and setting the too busy error page (in IIS i think) to nice
> error page?
>
> (2) is the answer to create a upfront request-handling application
> that doesnt hit the database that counts requests for a certain time
> period and sends the user to the application if it is under that
> request limit?
>
> (3) what would be nice is .. is to have the user try to hit an
> application and if the server is too busy have a nice/clean message
> saying the server is busy please wait while we try your request
> again...
> (3a) but then the question is... what happens if the user hits
> refresh over and over...
> (3b) this also doesnt but the user in a queue.. and may let another
> person jump in line ahead
>
>
> Thanks in advance...
> Ryan



 
Reply With Quote
 
 
 
 
Frank Mamone
Guest
Posts: n/a
 
      09-14-2004
Hi Ryan,

You probably already thought of this, but just in case, would it not be
better to upgrade your server to a multiprocessor or a web farm rather than
inconvenience the user?

Even if you find a coding solution it would probably only be temporary as
the site will probably get busier.

-Frank


"Ryan" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> I am hoping to get some ideas on how to handle a case when an
> application gets too many requests for an application... I would like
> to handle the case well...
>
> (1) is the answer in using the queue limit attributes in the config
> files and setting the too busy error page (in IIS i think) to nice
> error page?
>
> (2) is the answer to create a upfront request-handling application
> that doesnt hit the database that counts requests for a certain time
> period and sends the user to the application if it is under that
> request limit?
>
> (3) what would be nice is .. is to have the user try to hit an
> application and if the server is too busy have a nice/clean message
> saying the server is busy please wait while we try your request
> again...
> (3a) but then the question is... what happens if the user hits
> refresh over and over...
> (3b) this also doesnt but the user in a queue.. and may let another
> person jump in line ahead
>
>
> Thanks in advance...
> Ryan



 
Reply With Quote
 
Ryan
Guest
Posts: n/a
 
      09-15-2004
Thank you for your reply... I believe I was looking for some more
information... and possibly a different approach... but... you might
tell me more about it... do you have a asp.net app that reads these
requests and gives back information to the user if over a threshold?
I'll try to search on the name you have given me in the meantime...

An example of what i am trying to do: I have an online sales website
which may have a lot of users hitting it at a certain time... whats
the best way to handle this?


could someone reply to the points I have in 1ST message above?

------------
ALSO I am sorry for the grammatical errors in the first message..
 
Reply With Quote
 
Ryan
Guest
Posts: n/a
 
      09-15-2004
This is a rare case senerio... and should not happen but yearly.


I am leaning toward the following approach... however I would still
like to hear what people have to say...

---------------------------

(1) i will set the queue limit attributes in the process model
element... so dot-net redirects to a 503 error if too busy...

(2) then I will show a custom 503 errorpage..

.... would that not be a good approach?
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
501 PIX "deny any any" "allow any any" Any Anybody? Networking Student Cisco 4 11-16-2006 10:40 PM
How many warnings is too many? Rhino Java 33 12-22-2005 09:39 PM
web requests and mobile requests Fernando Arámburu ASP .Net 1 04-08-2005 07:13 PM
How many threads is too many? peelman Java 12 01-15-2005 07:37 AM
Too many (small) vs. too large linked script files in a document... Dag Sunde Javascript 4 12-16-2004 11:38 PM



Advertisments