V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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
paopjian
V2EX  ›  Python

paddlehub 使用 pyzmq 作为 GPU 服务后台是有什么独特的作用吗?

  •  
  •   paopjian · Apr 9, 2022 · 2213 views
    This topic created in 1480 days ago, the information mentioned may be changed or developed.

    在学习 paddlehub 的服务部署,其中使用 gpu 实现服务时使用的是 ZMQ+FLask( https://github.com/PaddlePaddle/PaddleHub/issues/1726),这样处理是可以更好地以队列形式处理信息吗?

    因为没用过消息队列,zmq 有可能被 kill 吗,是否应该加监听保证服务及时重启?

    1 replies    2022-04-10 15:08:04 +08:00
    roundgis
        1
    roundgis  
       Apr 10, 2022 via Android
    zmq 不需要 broker
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2841 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 15:43 · PVG 23:43 · LAX 08:43 · JFK 11:43
    ♥ Do have faith in what you're doing.