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

django 请求

  •  
  •   shimingzhoudf · Sep 10, 2019 · 2934 views
    This topic created in 2443 days ago, the information mentioned may be changed or developed.

    django 一个请求需要把一份 pdf 加高亮,变成图片 pdf,耗得时间需要 5-6s 挺久的,有啥优化的方案?感谢

    4 replies    2019-09-11 17:37:11 +08:00
    clino
        1
    clino  
       Sep 10, 2019 via Android
    这和 django 有什么关系?
    优化执行效率,比如用其他语言实现然后 python 调用
    ohhe
        2
    ohhe  
       Sep 10, 2019
    放队列里异步?
    Sanko
        3
    Sanko  
       Sep 10, 2019 via Android   ❤️ 1
    celery
    shimingzhoudf
        4
    shimingzhoudf  
    OP
       Sep 11, 2019
    @ohhe 但是我需要在返回请求参数里面添加异步执行的东西
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   954 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 21:40 · PVG 05:40 · LAX 14:40 · JFK 17:40
    ♥ Do have faith in what you're doing.