推荐学习书目
› 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
layman3612
V2EX  ›  Python

django + uwsgi 遇到的问题

  •  
  •   layman3612 · Dec 15, 2017 · 2352 views
    This topic created in 3206 days ago, the information mentioned may be changed or developed.

    python 新手 django 每次启动需要加载数据到内存中,大概几十秒。 用 uwsgi 启动 django 的时候这部分加载操作没有在启动的时候执行 而是在每个 uwsgi 的 worker 收到请求的时候初始化 有没有办法能让 uwsgi 起来后就加载这些数据

    2 replies  •  2017-12-15 22:42:48 +08:00
    dorothyREN
        1
    dorothyREN  
       Dec 15, 2017
    手动访问一下 就行了。。
    ericls
        2
    ericls  
       Dec 15, 2017 via iPhone
    启动加载什么数据?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   910 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 22:52 · PVG 06:52 · LAX 15:52 · JFK 18:52
    ♥ Do have faith in what you're doing.