转至繁体中文版     | 网站首页 | 图文教程 | 资源下载 | 站长博客 | 图片素材 | 武汉seo | 武汉网站优化 | 
最新公告:     敏韬网|教学资源学习资料永久免费分享站!  [mintao  2008年9月2日]        
您现在的位置: 学习笔记 >> 图文教程 >> 数据库 >> SyBase >> 正文
EAServer Performance Tuning Techniques         ★★★★

EAServer Performance Tuning Techniques

作者:闵涛 文章来源:闵涛的学习笔记 点击数:14271 更新时间:2009/4/22 23:10:00
Operating System Resource monitoring

Use operating system tools and utilities to monitor and gather information about process and resource utilization.

Microsoft Windows platforms:

  • Free Monitoring Tools from Sysinternals
  • asp?n=1&c=rp_BestBets&siteid=us&target=http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tools/perfutil_5702.asp?frame=true">Performance Monitor documentation

    Solaris:

  • commands vmstat, iostat, mpstat
  • Sun Performance page
  •  

    Load / Stress testing

    You should always stress test an application before putting it into production. A variety of stress testing tools are available, to help you simulate a load to test if the application will scale and perform at acceptable levels. Some of the tools are available free of cost. For example, OpenSTA is free from http://www.opensta.org/

      Benchmarking

    A whitepaper is available that points out the fundamentals involved in an application server benchmark, and outlines the results for EAServer tests for the nile.com benchmark.

    Application Server Benchmarking Fundamentals white paper

      Section 12: PowerDynamo

    This section includes suggestions for those sites that use PowerDynamo.

    Category Performance Considerations More Information Achieving Optimum Performance with PowerDynamo How to optimize performance using caching, scheduling, load balancing, minimizing use of expensive methods and properties, and more Chapter 10 of the PowerDynamo User's Guide Tracing Ensure both the EAServer property com.sybase.jaguar.server.dynamo.trace and PowerDynamo trace configuration setting are set to false. "Repository Properties Reference" in EAServer System Administration Guide, and "Changing Dynamo configuration settings" in the PowerDynamo User's Guide Data Source configuration If you are connecting to a database server on the same machine as the Web server, do not select Client as the Agent. This would result in the local connection being made through the network, which would cause a decline in performance. "Setting up the Adaptive Server Anywhere database server for PowerDynamo" in the PowerDynamo User's Guide Text substitution Rather than text substitution, significant performance improvements can result in some circumstances using host variables in a SQL statement, since it can be executed repeatedly without being reparsed "Text substitution and host variables" in the PowerDynamo User's Guide Connection pool settings Configure the connection pool minimum, maximum, and timeout for optimum results "Managing the connection pool" in the PowerDynamo User's Guide Temporary connections Avoid using temporary connections, since they do not utilize pooling. "Working with connections" in the PowerDynamo User's Guide Script and Template properties If a script or template does not require any connections to a database to complete execution, specifying <no connection> in the definition, so that no connection object is created during the execution of the document. "Using <no connection>" in the PowerDynamo User's Guide Performance Monitor On NT, use the performance monitor for feedback on utilization and processing of caches, queries, scripts, and requests "Using the Performance Monitor" in the PowerDynamo User's Guide Java Class Cache To improve performance, information about the methods and properties of Java classes is cached. "Configuring Dynamo to use Java" in the PowerDynamo User's Guide Java class storage Java classes can be accessed from within a database or within the file system. If you do not need the Java classes stored in the database (for replication or other reasons), you should store them in the file system for performance reasons. "Using Java in a PowerDynamo script" in the PowerDynamo User's Guide XML Document Nodes It is generally more efficient to use explicit objects instead of the generic node interface to XML documents. "The object interface to XML documents" in the PowerDynamo User's Guide XML Document parsing Parsing large documents with toDOMDocument can be expensive. Design your site so this occurs as infrequently as possible. You can avoid unnecessary parsing of the document by attaching the DOMDocument object to the session object. "Creating the DOMDocument object" in the PowerDynamo User's Guide

    Section 13: Localization

    Category Performance Considerations More Information Global Sort component The Global Sort component, which provides high performance sorting of small to medium length lists and supports multiple alphabets and sort orders. This feature is documented in Using Global Sort. Using Global Sort XML conversion The XML conversion module (XCM) tool is a high-performance EAServer component development tool that provides encoding verification and character set conversion for XML data. Using the XCM Tool describes how to use this feature. Using the XCM Tool

    Section 14 -- Development Environment

    Category Performance Considerations More Information Deployment and code generation

    EAServer 4.0 introduces Java-to-IDL and IDL-to-Java code generation optimizations. These optimizations can increase your productivity when you deploy Java based applications with complicated component class hierarchies and when you generate Java stubs for these applications. The J2EE EAR importer, EJB JAR importer, and the Java code generator have been enhanced to allow you to specify a code generation strategy as follows:

     

    • Full - Always generates Java or IDL types for every interface and type.
    • Incremental - Compares IDL and Java timestamps to determine whether new versions must be generated. Java timestamps are maintained in a database in the EAServer repository.
    • Optimistic - Similar to Incremental, except that the check for changed types in each IDL module or Java package ends if the first comparison indicates no change.
    "Deployment and code generation performance" in What's New in EAServer 4.1 Class Loader EAServer supports hot refresh of components by using a Java class loader. This feature speeds the development process by allowing you to deploy new class versions without restarting the server. To enable refresh, set com.sybase.jaguar.component.refresh to true, which is set by default. "Repository Properties Reference" in EAServer System Administration Guide

    Additional Information

    It is important to review performance information for the languages, operating systems, databases, protocols, etc you are working with.

    Here are a few sample links to get you started.

    Java Related:

    • Java Developer Connection: java.sun.com/developer/onlineTraining/Programming/JDCBook/perfTech.html">Advanced Programming for the Java 2 Platform Chapter 8: Performance Techniques
    • Java Developer Connection: java.sun.com/docs/books/performance/">JAVA PLATFORM PERFORMANCE STRATEGIES AND TACTICS
    • JavaWorld: Design for performance. Part 1: Interfaces matter, Part 2: Reduce object creation, Part 3: Remote interfaces
    • JavaWorld: Java performance programming, Part 1: Smart object-management saves the day
     

    上一页  [1] [2] [3] [4] [5] [6] [7] [8] 


    [SyBase]用Sybase EAServer建立电子影院售票系统  [SyBase]Index & Performance
    [SyBase]Optimizing SQL Anywhere performance over a WAN  [ORACLE]ORACLE PERFORMANCE SQL TUNING
    [ORACLE]Oracle Tuning (Oracle 性能调整)的一些总结  
    教程录入:mintao    责任编辑:mintao 
  • 上一篇教程:

  • 下一篇教程:
  • 【字体: 】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
      注:本站部分文章源于互联网,版权归原作者所有!如有侵权,请原作者与本站联系,本站将立即删除! 本站文章除特别注明外均可转载,但需注明出处! [MinTao学以致用网]
      网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)

    同类栏目
    · Sql Server  · MySql
    · Access  · ORACLE
    · SyBase  · 其他
    更多内容
    热门推荐 更多内容
  • 没有教程
  • 赞助链接
    更多内容
    闵涛博文 更多关于武汉SEO的内容
    500 - 内部服务器错误。

    500 - 内部服务器错误。

    您查找的资源存在问题,因而无法显示。

    | 设为首页 |加入收藏 | 联系站长 | 友情链接 | 版权申明 | 广告服务
    MinTao学以致用网

    Copyright @ 2007-2012 敏韬网(敏而好学,文韬武略--MinTao.Net)(学习笔记) Inc All Rights Reserved.
    闵涛 投放广告、内容合作请Q我! E_mail:admin@mintao.net(欢迎提供学习资源)

    站长:MinTao ICP备案号:鄂ICP备11006601号-18

    闵涛站盟:医药大全-武穴网A打造BCD……
    咸宁网络警察报警平台