What Is API Management1
What Is API Management1
Karthik Krishnaswamy of F5
Director, Product Marketing for NGINX
December 4, 2018
At NGINX Conf 2018 in October, we announced the new API Management Module for NGINX Controller.
With this product we build on our position as the industry’s most-deployed API gateway – millions of sites
already use NGINX Open Source and NGINX Plus to secure and mediate traffic between backend
applications and the consumers of the APIs which those applications expose.
But efficiently handling client requests is only one aspect of a successful API (albeit a crucial one). You
also need to manage your APIs across their full life cycle, which includes defining and publishing them,
and securing and managing traffic. You need to monitor and troubleshoot performance to ensure
customer satisfaction, and analyze traffic to maximize business value. Comprehensive API management
is essential to the rapid adoption and continuing success of your APIs.
API management covers the full life cycle of your APIs
Like many of our customers, you might find the thicket of concepts and terminology surrounding API
solutions rather daunting. In this blog, we discuss key API concepts and explore the relationship of API
management to API gateways.
Key Concepts
API management comes with its own concepts and terminology:
Internal APIs – Internal APIs are exposed only to other applications (and their developers) within an
enterprise, not to external users. Internal APIs help unlock data and foster collaboration among functional
units within an enterprise. Here’s an illustrative example: before providing assistance to customers, an
enterprise’s technical support team needs to determine whether the customer has a valid support contract.
That information is already stored in the enterprise’s customer relations management (CRM) system, such as
Salesforce. Rather than duplicating the information in its own database, the customer support application
calls the CRM’s internal API.
External APIs – External APIs are exposed to users outside your enterprise. They provide the means to
build partnerships with third-party developers as well as your entire business ecosystem of suppliers,
distributors, resellers, and even customers. External APIs also enable enterprises to generate new sources of
revenue using innovative business models. Google Maps is an illustrative example. Many third-party
websites and applications embed a Google map to help end users pinpoint a retail location or get directions.
It doesn’t cost the end user anything to access the map, but after a certain number of clicks Google charges
the site or app for each API call.
Definition and publication – API management solutions provide an intuitive interface to define
meaningful APIs, including the base path (URL), resources, and endpoints.
Resources are fundamental to any API definition; they are an abstraction of the information upon
which the API performs operations. Sample resources are documents and customer IDs. The API is
invoked to retrieve this information.
Endpoints specify where resources are located. APIs have a base URL to which the endpoint paths
are appended. All API endpoints are relative to the base URL.
API gateway – As mentioned previously, API gateways secure and mediate traffic between your backend
and the consumers of your APIs. API gateway functionality includes authenticating API calls, routing
requests to appropriate backends, applying rate limits to prevent overloading of your systems or to mitigate
DDoS attacks, offloading SSL/TLS traffic to improve performance, and handling errors and exceptions.
Microgateway – Many solutions have a centralized, tightly coupled data plane (API gateway) and control
plane (API management tool). All API calls have to pass through the control plane, which adds latency. The
API gateway in this architectural approach is inefficient when handling traffic in distributed environments
(for example intraservice traffic in a microservices environment or handling IoT traffic to support real-time
analysis). Hence, to manage traffic where API consumers and providers are in close proximity, vendors of
legacy solutions have introduced an additional software component called a microgateway to process API
calls.
API analytics – As your APIs become popular, you need to ensure they provide value for your API
consumers as well as meet your business objectives. That’s where API analytics become crucial.
API management solutions provide critical insights via visualizations – such as dashboards and
reports – into API metrics and usage, informing you (as examples) which APIs are used most and
least, how API traffic is trending over time, and which developers are the top API consumers. API
analytics enable the API business owner – sometimes referred to as the API Product Manager – to
gain deep visibility into the performance of the API program.
Analytics are important for troubleshooting as well. API management solutions provide deep
visibility into operational metrics on a per-API basis. These metrics enable Infrastructure &
Operations teams to monitor and troubleshoot performance and security issues. Here are
examples of questions that analytics can help answer:
NGINX technology powers Capital One’s developer portal, Devexchange. It has enabled Capital One to
scale its applications to 12 billion operations per day, with peaks of 2 million operations per second at
latencies of just 10–30 milliseconds. NGINX also powers Adobe’s developer portal, Adobe I/O. Adobe I/O
enables developers to integrate, extend, and create applications based on Adobe’s products and
technologies using APIs. The platform handles millions of requests per day with negligible latency.