forked from cncf/glossary
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[zh] Localize 'application_programming_interface (cncf#902)
* [zh] translate api * [zh] refine the transalation of scalability
- Loading branch information
1 parent
b72d59b
commit 92767dc
Showing
9 changed files
with
105 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
title: API 网关 | ||
status: Completed | ||
category: 技术 | ||
--- | ||
|
||
|
||
## 是什么 | ||
|
||
API 网关是一种通过聚合多个应用程序的 [API](/zh-cn/application_programming_interface/),并实现一站式管理的工具。它允许组织将关键性功能移交到一个可集中管理的地方,例如身份验证和授权、限制应用程序之间的请求数量。一个 API 网关则作为一个公共的接口,向 API 消费者(通常来自外部)提供服务。 | ||
|
||
## 解决的问题 | ||
|
||
当你的应用需要为外部消费者提供 API 时,你通常需要一个统一的入口来管理和控制所有的访问。此外,如果你需要对这些交互添加某种功能,也可以在不更改任何应用代码的情况下为所有的流量实现新功能。 | ||
|
||
## 如何帮助 | ||
|
||
通过为多个 API 提供一个统一的访问入口,API 网关能够让组织更容易地将交叉性业务或安全性逻辑移交到一个可集中管理的地方。应用的消费端也只需要访问单个地址就可以满足其所有需求。 | ||
|
||
通过为系统中的所有 web 服务提供统一的访问入口,API 网关还可以简化诸如安全性和[可观测性](/observability/)之类的运维问题。由于所有请求都流经 API 网关,因此它可以中心化的为这些请求添加诸如指标收集、速率限制和授权等功能。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
title: 应用程序接口 (API) | ||
status: Completed | ||
category: 技术 | ||
--- | ||
|
||
## 是什么 | ||
|
||
API (Application Programming Interface, 即应用程序接口) 是计算机程序间交互的一种方式。就像人类可以通过网页与网站进行交互一样,API 允许计算机程序之间进行交互。与人类的交互不同,API 可以限制对方可以问什么和不能问什么。对交互的限制有助于在程序之间创建稳定、实用的信息传输。 | ||
|
||
## 解决的问题 | ||
|
||
随着应用程序变得越来越复杂,小的代码更改也可能会对其他功能产生巨大的影响。如果应用程序想要在扩展的同时保持其稳定性,就需要用模块化的方法来管理应用程序的功能。没有 API,应用程序之间就缺乏一个交互的参照标准。如果没有共享的参照标准,应用程序如何进行 [伸缩](/zh-cn/scalability/) 和集成将是一个挑战。 | ||
|
||
## 如何帮助 | ||
|
||
API 允许计算机程序或应用程序以一种明确的、可理解的方式进行交互和共享信息。它们是现代应用程序的基本构建块,并为开发人员提供了一种将应用程序集成在一起的方法。每当您听说一组 [微服务](/zh-cn/microservices/) 在一起工作时,就可以推断它们是通过某种 API 进行交互的。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters