DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
View Events Video Library
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Integrating PostgreSQL Databases with ANF: Join this workshop to learn how to create a PostgreSQL server using Instaclustr’s managed service

Mobile Database Essentials: Assess data needs, storage requirements, and more when leveraging databases for cloud and edge applications.

Monitoring and Observability for LLMs: Datadog and Google Cloud discuss how to achieve optimal AI model performance.

Automated Testing: The latest on architecture, TDD, and the benefits of AI and low-code tools.

Related

  • Janus vs. MediaSoup: The Ultimate Guide To Choosing Your WebRTC Server
  • API Gateways: Enabling Effective API Versioning in Microservices Architecture
  • Microservices Security in a Nutshell
  • Microservices Decoded: Unraveling the Benefits, Challenges, and Best Practices for APIs

Trending

  • Four Ways for Developers To Limit Liability as Software Liability Laws Seem Poised for Change
  • Podman Desktop Review
  • How To Deploy Helidon Application to Kubernetes With Kubernetes Maven Plugin
  • Choosing the Appropriate AWS Load Balancer: ALB vs. NLB
  1. DZone
  2. Data Engineering
  3. Databases
  4. Hybrid API Management Architectures Done Right

Hybrid API Management Architectures Done Right

API management in essence is about control and visibility of API traffic; you need to make sure it's the traffic you want and that it's doing the right thing.

Steven Willmott user avatar by
Steven Willmott
·
Aug. 08, 15 · Opinion
Like (3)
Save
Tweet
Share
6.34K Views

Join the DZone community and get the full member experience.

Join For Free

Design-BlueprintAt 3scale we’ve always been fairly opinionated about the right way to architect API Management, and since founding have had a hybrid architecture at our core. So with Apigee today announcing an architecture with some similarities we figured it would be a good time to talk about those choices and why they matter.

API management in essence is about control and visibility of API traffic. In other words, it is knowing what is flowing through API pipes and making sure it is:

  • A) the traffic you want
  • B) doing the right thing

This involves all sorts of issues from security and identity to performance, uptime and fulfillment of business goals.

Architecture

When architecting 3scale, we saw the same concern over and over again: API traffic should be deliverable from many locations, over different technology stacks and with different delivery needs but it needs a consistent, uniform management layer. This lead to the central tenant of our architecture:

Separate the management and control from the traffic delivery layer

This pattern is as old as networking itself with a separation of the control plane and the data plane, but it is different to the way most vendors apart from ourselves have architected API management today. These other approaches have essentially fallen into two camps: 1) “route all API traffic through our cloud” or 2) “deploy numerous individual on-premises gateways with a cost per gateway”. Both of these cause single points of failure, deal poorly with scale and end up with oversized costs.

When considering APIs for Microservices, IoT and many other modern challenges, it becomes even more obvious that separating how traffic is tracked and controlled from the point of delivery makes even more sense. Control and Data planes should be separate but talk to each other.

Apigee announced that the Edge product now has preview support for an new “microgateway” component which is a lightweight version of their cloud gateway that can be deployed outside the Apigee cloud system to route traffic. This is a good step towards a hybrid architecture and it is good to see another vendor making moves in this direction.

Hybrid Architecture taken further

We’d argue though while this is a useful step, there is a lot more to unlocking the true value of a hybrid architecture. To illustrate, 3scale’s architecture is below and shows how the individual pieces fit together.

3scale’s systems:

  • Allow multiple kinds of traffic delivery from NGINX or Varnish gateways, to global CDNs, our own APICast cloud proxy, all the way to lightweight code plugins
  • Ensure that each of these can function autonomously to deliver traffic while syncing with the core management layer out-of-band
  • Have a full set of APIs to enable anybody who wishes to write new traffic management clients
  • Are not priced per node so API teams can mix and match as many nodes of different types they like to best suit their traffic patterns and not be forced to take risks under-provisioning

architecture-06.18

Together this means that management can be wired into wherever traffic flows to deliver control. It also protects customers from lock-in to a specific API gateway. Although many use the excellent and highly scalable NGINX powered gateway we provide, others may choose different mechanisms based on their needs and can do so easily.

The architecture buys our customers:

  • 10’s of thousands of API transactions per gateway node (via NGINX)
  • Unlimited, fully hardened gateway nodes
  • Integration with caching and distribution power of full CDNS
  • The ability to hook up custom traffic sources via API
  • Very cost effective solutions

So it’s great to see architecture innovation in the space, but for a true hybrid architecture that boosts performance, we’d suggest looking further to include:

  • Support for multiple traffic delivery mechanisms including open source
  • Ensuring full API support so users can hook into the management layer from anything
  • Removing per-node costs

If you’d like to check out 3scale, we can unlock your API Architecture superpowers for you! – signup for an account or contact us at sales@3scale.net.

API Architecture

Published at DZone with permission of Steven Willmott, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Janus vs. MediaSoup: The Ultimate Guide To Choosing Your WebRTC Server
  • API Gateways: Enabling Effective API Versioning in Microservices Architecture
  • Microservices Security in a Nutshell
  • Microservices Decoded: Unraveling the Benefits, Challenges, and Best Practices for APIs

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: