Tuxedo 设计优化[精选].pptVIP

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
BEA系统有限公司 三层架构的物理表示 三层架构的物理表示 三层架构的物理表示 Tuxedo Environment Tuxedo Traffic Flow Queueing Network Model Server Node View 分布计算的实质 – 分布资源的利用 利用分布的系统资源提高对象/服务的并发度 利用分布的应用结构提高组件的重用程度 利用分布的应用结构提高软件的容错性 利用分布的应用结构提高系统部署的灵活性 减少分布造成的Delay 减少分布造成的连接次数 减少远程调用造成的数据传输 提高分布的并发度 优化业务流程 通过应用设计实现: 用无状态的对象或服务完成流程的状态 异步调用(扇出式并发) 事件机制 通过应用服务器实现 多机集群效率, 对象和状态的复制 异步调用和事件API 负载均衡的手段 应用控制的手段 Timeout Request Routing Data compress Transaction N层分布应用体系 分布计算的实质 – Queue Network 分布计算的性能 Some Expensive Operations tpinit PK Security File Transfer Compression Domains Distributed transactions Networking 性能优化 Bottom-Up Strategy Tune OS Tune Tuxedo UBB parameters Tune DB Logic Testing/Monitoring Performance Back to step 1/2/3/4 Tuning is endless process, so set a goal for tuning! Tuning OS Make sure OS IPC parameters are configured optimally Symptoms of bad configuration IPC queues of Tuxedo processes get full Clients get exceptions Monitor with ipcs -qa (works on both Unix NT) e.g. OS Parameters shminfo_shmmni=1024 seminfo_semmns=10240 seminfo_semmsl=100 seminfo_semmni=1024 seminfo_msgmnb=65535 seminfo_msgmax=16384 seminfo_msgmni=512 Tuning Tuxedo:后台服务进程 多少进程才能有效利用资源 ? “Too many” as well as “Too little” can negatively impact performance Too many -- more system resources such as memory, context switching, etc Too little -- IPC queues can back up, etc Tuning Methodology Start with a fewer number of processes and tune from there. Monitor the respective IPC queues and consider increasing the respective processes if queues back up Reduce the number of server processes if some of them rarely get used /Q Optimizations Use Raw disk for Queuespaces and TLOGs Use Memory queues if possible Use TMQFORWARD –f option if appropriate Transaction Optimization Each 2-Phase commit must write a record to the TLOG TLOG should be on a Raw, mirrored device Start a lot of TMSs – they will issue their I/O requests in parallel, and the OS will keep the disk working efficiently Avoid if possible Two-Phase Commit Datafl

文档评论(0)

dart001 + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档