PC Review


Reply
Thread Tools Rate Thread

asp.net url rewriting

 
 
thoeone
Guest
Posts: n/a
 
      28th Feb 2008
Hi,
Anyone have any experience with url rewriting on asp.net and performance issues. I want to know how much of a lost in performace(percentage wise) if i use Context.RewritePath() function to make a friendly url. Any experience or links to benchmarks is appreciated.



#source: http://www.codeverge.net
 
Reply With Quote
 
 
 
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      28th Feb 2008
The overhead should be in milli- or micro-seconds for an HTTP Handler to
take "friendly URLs" and turn them into a non-friendly path. I have only
played with this and not hammered at scale (and am no longer working on the
project), so I cannot give you figures, but the Handlers occur as part of
the ASP.NET process, and incur almost no overhead. I am sure you could write
an inefficient method that makes this statement incorrect. :-)

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box!
|
*************************************************
<thoeone> wrote in message news:(E-Mail Removed)...
> Hi,
> Anyone have any experience with url rewriting on asp.net and performance
> issues. I want to know how much of a lost in performace(percentage wise)
> if i use Context.RewritePath() function to make a friendly url. Any
> experience or links to benchmarks is appreciated.
>
>
>
> #source: http://www.codeverge.net



 
Reply With Quote
 
Patrice
Guest
Posts: n/a
 
      28th Feb 2008
This is a server side only thing that does something that is quite
straighforward. The only thing I could think of would be depending on your
own code (for example if you perform additional queries to the DB to
translate a friendly part into a product primary key or something similar).


<thoeone> a écrit dans le message de news:
(E-Mail Removed)...
> Hi,
> Anyone have any experience with url rewriting on asp.net and performance
> issues. I want to know how much of a lost in performace(percentage wise)
> if i use Context.RewritePath() function to make a friendly url. Any
> experience or links to benchmarks is appreciated.
>
>
>
> #source: http://www.codeverge.net



 
Reply With Quote
 
bruce barker
Guest
Posts: n/a
 
      28th Feb 2008
depends. for standard aspx pages, almost none, you probably could not detect.
but if you need to remap static content (images,etc) then using asp.net to do
the url rewrite will cause an order of magnitude difference in performance
over using an isapi filter (unless you are using iis 7).

-- bruce (sqlwork.com)


"thoeone" wrote:

> Hi,
> Anyone have any experience with url rewriting on asp.net and performance issues. I want to know how much of a lost in performace(percentage wise) if i use Context.RewritePath() function to make a friendly url. Any experience or links to benchmarks is appreciated.
>
>
>
> #source: http://www.codeverge.net
>

 
Reply With Quote
 
theone
Guest
Posts: n/a
 
      29th Feb 2008
according to this article:
http://aspadvice.com/blogs/ssmith/ar...xperience.aspx
"Upon removing the module, my load test went from a peak load of 80 requests/sec to 550 requests/sec [GOOD]. That's a 587% improvement"




#source: http://www.codeverge.net
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
URL rewriting Moistly Microsoft ASP .NET 2 4th Feb 2008 10:16 AM
URL Rewriting Frankie Microsoft ASP .NET 9 17th Sep 2007 10:01 PM
rewriting URL Christina Microsoft ASP .NET 8 19th Nov 2006 06:57 PM
Better way to do Url Rewriting? =?Utf-8?B?U2VyZw==?= Microsoft ASP .NET 1 28th Mar 2005 06:21 AM
url rewriting bric Microsoft ASP .NET 3 12th Jul 2004 09:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:35 PM.