Click here to Skip to main content
15,888,205 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi friends,

I developed normal 3 tier application with master and using with ajax controls,
But the menus are dynamic like database having the menu details,
While every loading time my application is very slow how to speed up that!!

Please correct me if i'm doing wrong.
Posted
Comments
Rajesh Anuhya 1-Feb-12 6:06am    
More details required.
Sridhar Patnayak 1-Feb-12 6:08am    
Only ajaxcontrols are not sufficient to speed up your application. Their are so many factors involved in it.
manognya kota 1-Feb-12 6:09am    
Menu loads on basis of what?Could you elaborate?
Sergey Alexandrovich Kryukov 1-Feb-12 6:16am    
There are too many ways to screw up performance. We don't know which one was your favorite. :-)
--SA

1 solution

vishnumca123,

One of the things that you could do to speed up your system is to cache your queries. If your menus are in the database, I assume they don't change very often. There is debate to whether caching queries is faster as DBMS systems do this automatically for you. What is probably your best course of action is to use a logging framework like NLog[^] and log out performance numbers to a file. When dealing with performance, its not always a simple one fix shot, but an overall issue that requires multiple fixes. By logging out when things happen, you can begin to profile sections of your code that are a bottleneck and optimize them. One trap that I fell into early in my development was hitting the database for everything because it was "fast". While the DB is fast, if you use it inefficiently, there is little gain. I'm not sure if you're doing this or not, but its another area to consider.

Break the problem into smaller pieces and it'll be easier to solve. Good luck and come back when you have specific performance issues as you identify them and need help!

Hogan
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900