API网关和边缘服务之间有什么区别? [英] What is the difference between an API-Gateway and an Edge Service?

查看:304
本文介绍了API网关和边缘服务之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我了解Richardson描述的API网关背后的概念:

I understand the concept behind an API gateway as described by Richardson:

http://microservices.io/patterns/apigateway.html

但是与Edge服务有什么区别.这是API网关模式的具体实现吗?

But what is the difference to an Edge service. Is this a concrete implementation of the API gateway pattern?

推荐答案

技术上, API网关是公开给公众(REST等)的API,而 Edge服务是一种在API上运行的服务,用于解决代理,路由等问题.网关上可能有很多边缘服务.但实际上,网关上通常只有一种服务,即逻辑,因此API网关=边缘服务.

Technically, an API Gateway is the API exposed to the public (REST, etc.), and an Edge Service is a service running on the API resolving the proxying, routing, etc. There could be many edge services on the Gateway. But practically there is usually only one service, logic, on the Gateway thus API Gateway = Edge Service.

这篇关于API网关和边缘服务之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆