API Gateway Definition & Meaning

An API gateway is a programming layer that sits between a client and a collection of microservices. It acts as a single point of entry for a defined group. API stands for application program interface and is a set of routines, protocols, and tools for building software applications. An API gateway acts as a reverse proxy to accept all API calls, collect the services required to fulfill them, then return the appropriate result.

For enterprises, APIs are deployed using an API gateway because it can handle common tasks that are used across a system of API services such as user authentication, rate limiting, and statistics. This is valuable for when clients built with microservices make use of multiple, contrasting APIs.

An API gateway can handle requests in one of two ways: either by using multiple microservices and combining the results to determine the best path, or by routing/proxying the request to the appropriate service. It can translate public web protocols and web-unfriendly protocols that are internally used.

API gateway uses

An API gateway is used to separate the client interface from a backend implementation so that clients have a simple and dependable experience regardless of the complexity. Below are possible uses for an API gateway:

  • Protecting your API from overuse and misuse
  • Understanding how individuals are using your API
  • Providing mobile clients with an endpoint to retrieve all product details with a single request
  • Monetizing an API
  • Adding new API services and replacing others while keeping existing services in the same place

API gateway drawbacks

Along with everything else, an API gateway is another system that must be developed, deployed, and managed, which increases complexity and requires a learning curve. Response time can also be slower because of the additional movement through the gateway.

Top Articles

The Complete List of Text Abbreviations & Acronyms

From A3 to ZZZ we list 1,559 text message and online chat abbreviations to help you translate and understand today's texting lingo. Includes Top...

How to Create a Website Shortcut on Your Desktop

This Webopedia guide will show you how to create a desktop shortcut to a website using Firefox, Chrome or Internet Explorer (IE). Creating a desktop...

Windows Operating System History & Versions

The Windows operating system (Windows OS) refers to a family of operating systems developed by Microsoft Corporation. We look at the history of Windows...

Hotmail [Outlook] Email Accounts

By Vangie Beal Hotmail was one of the first public webmail services that could be accessed from any web browser. Since 2011, Hotmail, in terms...

Data Corruption Definition &...

Data corruption is the process of data becoming unreadable or invalid. It typically...

Subschema Definition & Meaning

A subschema is a database view that filters or organizes all data to...

Fileless Malware Meaning &...

Fileless malware is a type of malicious software that uses legitimate applications already...