V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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
rogwan
V2EX  ›  Python

Python3.6 Web 应用,如果采用 Docker 方式部署,还有必要考虑多线程吗?

  •  
  •   rogwan · 2017-06-08 19:02:44 +08:00 · 2467 次点击
    这是一个创建于 2515 天前的主题,其中的信息可能已经有所发展或是发生改变。
    7 条回复    2017-06-09 14:16:00 +08:00
    longxboy
        1
    longxboy  
       2017-06-08 19:45:04 +08:00
    你是想用 docker 部署多实列?
    owenliang
        2
    owenliang  
       2017-06-08 20:02:42 +08:00 via Android
    不知所云。
    est
        3
    est  
       2017-06-08 20:06:38 +08:00
    想吐槽 GIL ?
    HarrisonZ
        4
    HarrisonZ  
       2017-06-09 08:56:37 +08:00
    docker 只是一种程序封包和隔离的方式,部署起来实际跟你做个 rpm 包+使用 cgroup 没有本质区别,不影响你用不用多线程
    zhengxiaowai
        5
    zhengxiaowai  
       2017-06-09 10:49:49 +08:00
    有什么关系么???
    flyingghost
        6
    flyingghost  
       2017-06-09 12:12:38 +08:00
    线程间通讯、共享内存数据、多核利用。。。各种线程的福利,你真打算把他们转换成为虚机之间的事情?
    HypoChen
        7
    HypoChen  
       2017-06-09 14:16:00 +08:00
    docker-compose scale,你是说这个?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   884 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 20:22 · PVG 04:22 · LAX 13:22 · JFK 16:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.