Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I got query from one MNC technical interviewer that how you can provide efficient performance to your web application.

But i am not able to say proper ans. What are the performance factors to increase application performance.

Could you please help me on this.
Posted

1 solution

While Implement any application we need to concentrate performance also. To improve performance we need to concentrate on several factors. I will share you few of those.

DataBase Wise:

1) Proper indexes in a table
2) Use Proper relationships between tables.
3) while querying try to avoid unnecessary fields, instead of * use respective fields (columns).
4) Try to avoid aggregate functions and Grouping clauses.
5) Instead of temporary tables use CTE.
6) Use proper joins, and try to avoid nested queries
7) While joining first call master table then child table, because master table contains limited records while searching its look at limited records.

Application Wise:

1) try to avoid unnecessary code blocks
2) Avoid to load all the records while loading time, instead of that load based on filter.
3) Unnecessary don't use nested looping and looping, if it's required then only use.
4) Always use light weight controls.
5) Try to reuse code blocks, instead of create new.

Apart from the above you need to look at Server, RAM, Hard disk etc...
 
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