Tornado Documentation
› http://www.v2ex.com/tornado/
Tornado on GitHub
› https://github.com/facebook/tornado/
Tornado Gists
› http://tornadogists.org/
Kai
1.51D
1.92D
V2EX  ›  Tornado

访问量增加导致 CPU 占用率增长,最有效的优化方式是什么呢?

  •  
  •   Kai · Mar 17, 2013 · 5288 views
    This topic created in 4987 days ago, the information mentioned may be changed or developed.
    最近 App 限时免费,结果因为请求次数增长导致 CPU 占用率飙升之 70%。请问在 Tornado 结构下,除了升级配置外,有没有什么简单有效的优化措施?具体的 CPU 占用应该都是 MySQL 查询造成的。
    3 replies  •  1970-01-01 08:00:00 +08:00
    clowwindy
    clowwindy
    Mar 17, 2013❤️1
    1
    是 MySQL 还是 Tornado 用的?如果是 Tornado,可以 profile 一下看看时间花在什么上了。
    Kai
    Kai
    OP
    Mar 17, 2013 via iPhone
    3
    感谢!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4655 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 06:21 · PVG 14:21 · LAX 22:21 · JFK 01:21
    ♥ Do have faith in what you're doing.