Ad

MVC Beta 1 Routing - What Number Of Routes Will Start To Cause Performance Issues?

- 1 answer

I am considering pre-loading routes to static content pages, allowing for n-depth nesting of content. I have a solution spiked that provides a bit of comfort in terms of the number of potential routes registered, but I'm wondering if I'm making the system overly complex.

At what number of registered routes do you suspect a basic hosting account would start to suffer in performance? These routes are pure-text, with no need to parse values.

Ad

Answer

Route-parsing, compared with database access? I would guess the route-parsing is pretty cheap. Until you get into the thousands of routes.

Ad
source: stackoverflow.com
Ad