推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
jko123
V2EX  ›  Python

用了 flask-cache 的前后对比

  •  
  •   jko123 · Aug 15, 2017 · 3882 views
    This topic created in 3366 days ago, the information mentioned may be changed or developed.

    用 flask 写的视频站,估计读写数据库太频繁,cpu 占用一直很高!

    基本上有多少吃多少,换过 DO、linode、vultr 等 vps,各种配置都换过,基本没卵用,cpu 有多少就占用多少!

    然后今天用上 flask-cache 之后,cpu、内存、硬盘 IO 等占用下降明显!

    4 replies  •  2017-08-16 09:42:14 +08:00
    RandomK
    RandomK
    Aug 15, 2017
    1
    @chen2016 请问下,这是哪家公司的主机监控页面?
    jko123
    jko123
    OP
    Aug 15, 2017❤️1
    2
    gotounix
    gotounix
    Aug 15, 2017❤️1
    3
    flask-cache 这个库年久失修啊,现在应该是用它的 fork flask-caching 吧。
    tcpdump
    tcpdump
    Aug 16, 2017
    4
    有什么坑分享一下么
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5359 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 02:55 · PVG 10:55 · LAX 18:55 · JFK 21:55
    ♥ Do have faith in what you're doing.