Dev.Chan64's Blog

Go Home
Show Cover Slide Show Cover Slide

Why Should API Gateway Be the Starting Point of Architectural Design?

gpt-4-turbo has translated this article into English.


1. Structureless Flow – The Design Problem of the API Era

In modern systems, APIs are no longer just technical elements.
They have become central to business flows, function calls, authentication and security, and data distribution.

However, the reality we face includes:

In such situations, designers become unable to describe the structure following the flow.

Structure begins with flow.
If you cannot describe the flow, you cannot design the structure.

This article discusses how to start flow-centric structural design from a designer’s perspective.
And it attempts to reinterpret the API Gateway as that starting point.


2. Declaration, Authentication, Control – Technologies Started as Solutions to Individual Problems

The core elements of the API technologies we use,
namely OpenAPI, OAuth, API Gateway,
were not designed as a unified structure from the beginning.

Each technology started to solve different problems independently.
They emerged according to the demands of the times as follows:

Technology Purpose Start Time Initial Goal
Swagger / OpenAPI API specification declaration 2011 (Tony Tam) API documentation and test automation
OAuth Authentication delegation 2007–2010 Allowing third-party access without user passwords
API Gateway Flow control / Routing 2014–2015~ Traffic distribution and API routing as an L7 proxy

Why weren’t these connected from the beginning?

Truthfully, there was no need to connect them.
The nature of the problems was different, and their emergence times varied,
and the systems were not complex enough to consider each other.

They were not ‘one flow’ initially.
They were born separately, not scattered.

Then why do we now feel uncomfortable with this separation?

As systems grow and APIs become the center of business,
designers now need to interpret and control the entire flow.

The past separation,
now approaches as the limit of a structureless flow.


3. Why Must Systems Converge into a Flow

When systems were small and simple,
it was not a problem for documentation, authentication, and routing to operate separately.
However, as APIs have become the main route and business interface of services,
designers increasingly feel the need to describe the entire flow as one structure.

What is flow?

Flow is the entire process a single request goes through in the system:

This flow must be clearly designed and connected
so that designers can understand, control, and improve the system.

The problem is the ‘disruption of flow’

Each technology still works well.

However, if these do not connect as one flow,
designers cannot describe the structure or trace the problems.

Decisions were made to reconnect the flow

Flow is not just a concept but
actual technical points where reconnection is possible have emerged.

Now flow is not just a theory but an executable structure.
Designers have become the decision-makers who weave disconnected elements into one flow.


4. API Gateway Was Not Defined by Simple Functions

Initially, the API Gateway was just a simple routing tool.

However, as systems expanded and became more complex,
the Gateway could no longer remain just a simple function.

Expanding Role at the Center of Flow

The designer handles this flow

The API Gateway has now become the point where the structural intentions of the design are implemented.

The Gateway is not just a simple setting,
but a design tool that turns flow into structure.


5. Where Should Designers Start Practicing

Design is not an abstract plan but
a practice that crystallizes flow into structure.

API Gateway is the first point where this practice begins,
and designers compose the flow through the following three structural judgments.

1. Path Design (Route Design)

2. Authentication Structure

3. Observability Strategy

An unobserved flow cannot be controlled,
and a system that cannot be controlled is an undesi


Go Home
Tags: Design Philosophy