Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何理解“Be of the web, not behind the web” #5

Open
Mike520 opened this issue Sep 28, 2017 · 0 comments
Open

如何理解“Be of the web, not behind the web” #5

Mike520 opened this issue Sep 28, 2017 · 0 comments

Comments

@Mike520
Copy link

Mike520 commented Sep 28, 2017

在老外眼里,所有的微服务都是基于rest api。俗话说:

Be of the web, not behind the web

-- Ian Robinson

请问,你如何对比rest api和dubbo中soa接口的优劣。

先抛点砖:
1,部署方面,rest api和db可放入同一进程,避免dubbo的3个进程:1,soa一个进程;2,admin一个;3,http 一个。
2,微服务划分自然,soa是中间抽象。增加了复杂度和调用链条。
3,rest api跨平台和语言;soa基本用java,而且要提供api.jar,版本管理即使用maven私服也容易出问题。
4,rest api较慢,但计算机硬件的发展会掩盖这一点。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant