微服务与 Web 服务 [英] Micro services vs web services
问题描述
微服务与 Web 服务之间的确切区别是什么.
What is the exactly difference between Micro services vs web services.
我的需求是需要将 Web 服务(SOAP、REST)服务链接到微服务.
My requirement is need to link up web services(SOAP,REST) service to micro services.
我可以将微服务也视为 Web 服务吗?
Can i consider micro services also web services.
推荐答案
微服务是一种设计"模式,指导您如何实现功能.另一方面,Web 服务"关注客户如何使用服务.
Micro services are a "design" pattern that guides how you implement functionality. "Web services" on the other hand focus on how customers consume services.
从这个意义上说,这两个概念是完全正交的.您可以为您的客户提供 REST/SOAP 接口 - 在内部,此 REST 端点作为微服务实现......或者只是作为一个巨大单体中的一件事.
In that sense, these two concepts are completely orthogonal. You can provide a REST / SOAP interface to your clients - and internally, this REST endpoint is implemented as micro service ... or as just one thing within a huge monolith.
这篇关于微服务与 Web 服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!