智能客户端是否合适? [英] Is smartclient suitable?
问题描述
在ExtJS不合适之前,我收到了警告。
SmartClient有一个单一的网格组件,既可以进行水平和垂直增量渲染,也可以处理非常大的两个行(几百万)和列(数百),性能下降。
SmartClient支持的所有网格功能 - 内联编辑,分组,过滤,动态冻结列,排序,重新排序字段,拖放(太长的列表)都受到这个单一的高数据量网格组件的支持。
一些用户已经运行使用Ext网格组件进行可伸缩性问题,并在SmartClient论坛上讨论:
http://forums.smartclient.com/showthread.php?t=2678
作为服务器的可扩展性,实际上,网格组件对服务器端的可扩展性贡献巨大。考虑SmartClient网格的自适应过滤机制:
http://www.smartclient.com/index.jsp#adaptiveFilter
此功能和相关的自适应排序功能削减了60-90%的最昂贵的服务器类型(即访问和过滤/排序大型数据集的那些)。
SmartClient普遍采用这种智能重新使用数据的方法,以避免昂贵的服务器端操作。 ResultSet类文档中提供了一个很好的概述;在SmartClient中,所有使用数据集的组件都可以将ResultSet用作缓存管理对象:
How does the waiting time for SmartClient scale across thousands of users editing grids?
I have received warnings before that ExtJS would not be suitable.
SmartClient has a single grid component that does both horizontal and vertical incremental rendering, so it handles a very very large number of both rows (several million) and columns (several hundred) without degradation in performance.
All of the grid features supported by SmartClient - inline editing, grouping, filtering, dynamic frozen columns, sorting, reordering fields, drag and drop .. (too long to list) are supported by this single, high data volume grid component.
A number of users have run into scalability issues with the Ext grid component and discussed it here on the SmartClient forums:
http://forums.smartclient.com/showthread.php?t=2678
As far as scalability of the server, in reality the grid component contributes hugely to server-side scalability. Consider the adaptive filtering mechanism of the SmartClient grid:
http://www.smartclient.com/index.jsp#adaptiveFilter
This feature and the related "Adaptive Sort" feature cut down on 60-90% of the most expensive types of server hits (that is, those that access and filter/sort a large dataset).
SmartClient pervasively takes this approach of intelligently re-using data in order to avoid expensive server-side operations. A good overview is available in the ResultSet class documentation; the ResultSet is used as a cache management object by all components that work with datasets in SmartClient:
http://www.smartclient.com/docs/9.0/a/b/c/go.html#class..ResultSet
这篇关于智能客户端是否合适?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!