木匠的微型博客 Charlie Twitter

    follow me on Twitter
    Showing posts with label SLA. Show all posts
    Showing posts with label SLA. Show all posts

    Tuesday, December 30, 2008

    response time SLA 如何定义前端Service Level Agreement

    关于OLTP前端用户体验, 我赞成Christian Antognini(Troubleshooting Oracle Performance 作者)的度量方法.

    很简单.

    比如说购物篮Check out/Submit Order的最大响应时间,
    200并发事务 90% < 0.7秒, 99.9% < 1.5秒
    500并发事务 90% < 1.2秒, 99.9% < 3秒

    我们刚刚开始采用, 作为客户端response time SLA 的达标定义.

    如何检查你的应用性能有没有达到SLA定义呢? 有两种基本方法:

    1. The first takes advantage of the output of instrumentation code.
    2. The second one is to use a monitoring tool that checks the application by applying synthetic
    transactions.

    我的笨拙翻译:
    1. 分析跟踪(调试)代码的输出, 生成响应时间有关的性能报表
    2. 定期运行人工合成仿真事务, 监控其响应时间

    附录, instrumentation说起来简单,却找不到一个合适的中文,抱歉,我考大学语文不及格. 看客您将就点儿.
    比如, log4j, log4plsql, Oracle session SQL trace 和 debug.f 都是 instrumentation, 用來跟蹤運行代碼的執行結果.