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 4 1750
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" <ry***@ungerboe ck.com> wrote in message
news:57******** *************** ***@posting.goo gle.com... 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
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" <ry***@ungerboe ck.com> wrote in message
news:57******** *************** ***@posting.goo gle.com... 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
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..
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? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Hans-Joachim Widmaier |
last post by:
Hi all.
Handling files is an extremely frequent task in programming, so most
programming languages have an abstraction of the basic files offered by
the underlying operating system. This is indeed also true for our language
of choice, Python. Its file type allows some extraordinary convenient
access like:
for line in open("blah"):
handle_line(line)
|
by: Andy Leszczynski |
last post by:
I need a HTTP server handling long lasting requests e.g. 10-30 seconds.
Below is a pice of the code. In order to make the server reponsive while
handling othere requests I use SocketServer.ThreadingMixIn.
However the problem is the it does not work out. I checked thet a new
thread is created for each new connection new, but the main loop seems
to be frozen until the prevoius handling ends.
What could go wrong?
|
by: David Crone |
last post by:
H
I was wondering if anyone knew what the recommended way is to handle Back clicks, as well as Refresh clicks by users for advanced ASP.NET sites
I have a site that has a set of information that can be edited on one page, but when a certain action is taken, the user mustn't be able to go back and change details etc!
Basically, this is an advanced Timesheet application...when someone enters some hours and clicks Submit, then they are allowed...
|
by: m |
last post by:
Hello,
I have an application that processes thousands of files each day. The
filenames and various related file information is retrieved, related
filenames are associate and placed in a linked list within a single object,
which is then placed on a stack(This cuts down thread creation and deletions
roughly by a factor of 4). I create up to 12 threads, which then process a
single object off of the stack. I use a loop with a boolean...
|
by: aaj |
last post by:
Hi all
I have an automated application, that runs in the middle of the night.
If certain 'non system' errors occur (things like malformed files, missing
files etc..), I send an automatic Email and write a record to the database.
This is handled in a class.
When these errors occur, once Emailed and written I want to just end the
App, simple as that.
| |
by: David Crone |
last post by:
H
I was wondering if anyone knew what the recommended way is to handle Back clicks, as well as Refresh clicks by users for advanced ASP.NET sites
I have a site that has a set of information that can be edited on one page, but when a certain action is taken, the user mustn't be able to go back and change details etc!
Basically, this is an advanced Timesheet application...when someone enters some hours and clicks Submit, then they are allowed...
|
by: Susan Baker |
last post by:
Hi,
I am writing a Win32 DLL. I want to be able to handle any SEGVs
(segmentation violations) gracefully, by using an error handler of sorts.
Currently, if a user of my DLL (typically a VB programmer) passes a null
(or invalid) pointer to my library - the entire application crashes,
leaving shared memory, database connections etc in a "dirty" state. I
would like a way of gracefully handling user "actions" like this -
without crashing...
|
by: Kulgan |
last post by:
Hi
I am struggling to find definitive information on how IE 5.5, 6 and 7
handle character input (I am happy with the display of text).
I have two main questions:
1. Does IE automaticall convert text input in HTML forms from the
|
by: =?Utf-8?B?Vkg=?= |
last post by:
Hi, all.
Need help with what seems to be either connection, or threading problem in
my ASP.NET 2.0 application.
The gist of the problem is this: IHttpHandler in my application serves an
HTML page that has two images (image A and image B) in it. Once the HTML page
is served, expected behavior is this:
1) receive request for image A,
2) receive request for image B almost at the same time as for A,
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |