有关网站或项目绩效的正确解释是什么? [英] What is the proper explanation about website or project performance?

查看:52
本文介绍了有关网站或项目绩效的正确解释是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从一位跨国公司技术面试官那里得到了如何为您的网络应用程序提供高效性能的查询。



但是我无法说出正确的答案。提高应用程序性能的性能因素有哪些。



你能帮我解决这个问题。

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.

推荐答案

在实施任何应用程序时,我们也需要集中性能。为了提高性能,我们需要专注于几个因素。我将与你分享一些。



DataBase Wise:



1)表中的正确索引

2)使用表之间的正确关系。

3)查询时尽量避免不必要的字段,而不是*使用相应的字段(列)。

4)尽量避免聚合函数和分组子句。

5)而不是临时表使用CTE。

)使用正确的连接,并尝试避免嵌套查询

7)在加入第一个调用主表然后加入子表时,因为主表在搜索有限记录时包含有限的记录。



应用程序明智:



1)尽量避免不必要的代码块

2)避免在加载时加载所有记录,而不是基于过滤器加载。

3)不必要的不​​使用嵌套循环和循环,如果需要则只使用。

4)总是使用重量轻c on bs。

5)尝试重用代码块,而不是创建新代码。



除了上面你需要看看Server, RAM,硬盘等......
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...


这篇关于有关网站或项目绩效的正确解释是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆