当多个用户在网站上注册时,如何提高网站性能 [英] How to improve site perfomance when multiple users registers on site

查看:67
本文介绍了当多个用户在网站上注册时,如何提高网站性能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的要求是,当多个用户登录注册时

我们希望减少服务器的最短行程

我们的表单包含多个下拉列表,并且全部依赖于每个人。

我们应该使用数据集来快速提高性能还有多个更新面板请告诉我如何提高性能?

Our Requirement is that when multiple users login to register
We want to reduce server trips minimum
Our form consists multiple dropdown and all dependent on everyone.
Shall we use dataset to fast performance and also multiple update panels please tell me how to increase perfomance?

推荐答案

尝试减少数据库中的ping应用程序并仅对代码进行过滤,



如果您有级联下拉菜单,可以使用jquery / json ajax查询来过滤数据

<使用json回发而不是使用多个更新面板。



https://www.google.co.in/#q=cascading%20dropdown%20using%20jquery [ ^ ]
try to reduce the database ping in your application and do filtering on code only,

like if you have cascading dropdowns you can use jquery /json ajax query to filter data

use json postback rather than using multiple update panel.

https://www.google.co.in/#q=cascading%20dropdown%20using%20jquery[^]


你可以缓存一些东西,但它会马你的代码更复杂,容易出错。



首先要做的就是抛弃ASP.NET AJAX,它设计得很慢而且设计很糟糕。使用jqery,正如另一个人所说。
You can cache things, but it will make your code more complex and prone to failure.

The first thing to do is throw away ASP.NET AJAX, it is very slow and badly designed. Use jqery, as the other guy said.


这篇关于当多个用户在网站上注册时,如何提高网站性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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