469,319 Members | 2,421 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,319 developers. It's quick & easy.

and in a similar vein the same goes for custom error redirection

rvj
3. does the use of custom errors such as invalid directory (404) etc have a
miminal impact on server resources or it is significant

4. ... and are there any easy ways to monitor/measure/compare ?
Aug 10 '08 #1
4 1439

"rvj" <rv*@rolemodels.netwrote in message
news:%2******************@TK2MSFTNGP06.phx.gbl...
3. does the use of custom errors such as invalid directory (404) etc have
a
miminal impact on server resources or it is significant
Thats not easy to answer because

1. The question isn't that clear (when a 404 happens the server has to do
something anyway)
2. In normal circumstances errors would be rare hence performance impact
would not be a consideration

4. ... and are there any easy ways to monitor/measure/compare ?
Don't know of 'easy' ways, although your definition of 'easy' may differ
from mine.

Putting it all together you are considering sending images using a Custom
404 hack. Its much more expensive than allowing IIS to serve up the images
itself.
--
Anthony Jones - MVP ASP/ASP.NET
Aug 10 '08 #2
rvj

I was thinking in terms of having virtually having no directory structure
to speak of so virtually all requests would be via custom redirection to a
database or some other routing technology

"Anthony Jones" <An*@yadayadayada.comwrote in message
news:ug****************@TK2MSFTNGP02.phx.gbl...
>
"rvj" <rv*@rolemodels.netwrote in message
news:%2******************@TK2MSFTNGP06.phx.gbl...
>3. does the use of custom errors such as invalid directory (404) etc
have
a
>miminal impact on server resources or it is significant

Thats not easy to answer because

1. The question isn't that clear (when a 404 happens the server has to do
something anyway)
2. In normal circumstances errors would be rare hence performance impact
would not be a consideration

>4. ... and are there any easy ways to monitor/measure/compare ?

Don't know of 'easy' ways, although your definition of 'easy' may differ
from mine.

Putting it all together you are considering sending images using a Custom
404 hack. Its much more expensive than allowing IIS to serve up the
images
itself.
--
Anthony Jones - MVP ASP/ASP.NET


Aug 10 '08 #3
"rvj" <rv*@rolemodels.netwrote in message
news:ek****************@TK2MSFTNGP05.phx.gbl...
>
I was thinking in terms of having virtually having no directory structure
to speak of so virtually all requests would be via custom redirection to
a
database or some other routing technology


Funny that I've just this minute been discussing that in the iis group (see
subject ' custom 404 page headers problem' started by 'Simon')

Also in this group 'Detecting if modified since in Classic Asp' started by
'Simon'

However I don't need either of these threads to say: Don't do it, its just
plain mad.

At least not in this way (using the 404 hack).

Instead get yourself a freebie ISAPI URL rewriter and do it that way.

--
Anthony Jones - MVP ASP/ASP.NET
Aug 10 '08 #4
rvj
thanks for the advice

PS this is where I came in

"Anthony Jones" <An*@yadayadayada.comwrote in message
news:OM****************@TK2MSFTNGP02.phx.gbl...
"rvj" <rv*@rolemodels.netwrote in message
news:ek****************@TK2MSFTNGP05.phx.gbl...
>>
I was thinking in terms of having virtually having no directory
structure
to speak of so virtually all requests would be via custom redirection to
a
>database or some other routing technology



Funny that I've just this minute been discussing that in the iis group
(see
subject ' custom 404 page headers problem' started by 'Simon')

Also in this group 'Detecting if modified since in Classic Asp' started by
'Simon'

However I don't need either of these threads to say: Don't do it, its
just
plain mad.

At least not in this way (using the 404 hack).

Instead get yourself a freebie ISAPI URL rewriter and do it that way.

--
Anthony Jones - MVP ASP/ASP.NET


Aug 10 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Jerry | last post: by
6 posts views Thread by Tsai Li Ming | last post: by
4 posts views Thread by Bill Cohagan | last post: by
3 posts views Thread by Mr Newbie | last post: by
reply views Thread by comp.lang.php | last post: by
17 posts views Thread by Lee Harr | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.