Home
Sign Up
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
V2EX
›
Python
分布式编程 和 直接调用接口,这本质上有什么区别吗?
1
1989922yan
·
May 28, 2014
· 4775 views
This topic created in 4551 days ago, the information mentioned may be changed or developed.
我翻看《python cookbook》 - 分布式编程,章节。
如果直接 使用 requests调用接口 与 分布式编程 xml-rpc,
除了 分布式编程 更python的编码感觉,
还有什么更大的区别吗?
好像不是特别明显
分布式
编程
调用
3 replies
•
2014-05-29 11:05:40 +08:00
mengzhuo
May 29, 2014
1
1
RPC/Restful和语言都无关,两者面对和解决的问题都不一样,
RPC更倾向于命令
Restful更倾向于资源
没有可比性。
更Pythonic只是你的错觉
lw9956164
May 29, 2014
1
2
应用场景不一样,
requests倾向于资源
xml-rpc倾向于服务
1989922yan
OP
May 29, 2014
3
@
mengzhuo
@
lw9956164
我再去多查查资料看看,
这样的解释已经很到位了
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
2548 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms ·
UTC 11:25
·
PVG 19:25
·
LAX 03:25
·
JFK 06:25
♥ Do have faith in what you're doing.
❯