分布式部署与性能优化

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

ArcGIS Server分布式部署和性能优化

分布式部署

•ArcGIS Server应用部署中总共有这个几个部分:WebServer,SOM,SOC,DataServer

•单层结构

•双层结构

•三层结构

具体部署中注意的问题

•SOM和SOC机器上的用户名和密码相同•Mxd以及数据源所在目录的权限

•输出图片的目录的权限

•发布服务时候的参数要使用UNC目录

性能优化

ArcGIS Server: Response time factors

•Four main factors of response time

•Multiple tiers

•Performance bottleneck can occur in each tier

Browser

Web Server

SOM

SOC

ArcSDE Transmission

Time

Wait Time

Search &

Retrieval Time

Usage Time

SDE

数据方面

•数据量

对数据进行分析,在可能的情况下,对数据进行一些简化操作

•数据组织角度

属性字段索引,空间索引大小的调整

Mxd数据的组织(对动态服务而言)•较少数据图层

•图层按比例控制

•使用annotation来代替label

•减少复杂符号

General Guidelines

•Show relevant information

–Start simple (additional layers can be toggled on by user)

–Use field visibility (hide unnecessary attributes)

•Use scale dependencies

–Use data appropriate for the given scale (generalize if

necessary)

–Display similar number of features at all scales for

consistent user experience

Point, Line & Polygon rendering For non-cached, dynamic layers •Points

–Use single layer Simple or Character markers for best performance

–Use EMF instead of bitmaps

–Use Integer (vs. character) fields for symbol values

–Avoid halos, complex shapes, masking

•Line & Polygons

–Use ESRI_Optimized style

–Avoid cartographic lines (also includes polygon outline!)

ESRI_Optimized

•For lines & polygons

•Outlines for all fills

are simple lines

instead of

cartographic lines

•Picture fills are emf-based instead of bmp-based •Improves drawing performance by > 50%

Best Practices

Text and labeling

•Use annotation instead of labels

•Use indexed fields (reduce label SQL query

number and complexity when possible)

•Use label and feature conflict weights sparingly •Avoid special effects (fill patterns, halos,

callouts, backgrounds)

•Avoid very large text size (60+ pts)

•Avoid Maplex for dynamic labeling

•Avoid overuse

Symbolizing data effectively: Labels / Text •Use larger size

•Use wider line and character spacing

•Use sans serif, open-letter fonts

•Minimize special effects (e.g. italics)•Minimize text backgrounds (e.g. callout boxes)•Don’t overuse Labels

–ID tool can be used

–Use scale dependency

服务的组织

•不要把所有的图层都放在一个服务中,图层很多的情况下可以分放在不同的服务中,这样可以使用多进程来完成所需请求,从而提高相应速度

相关文档
最新文档