Backend Development 5 min read

AKF Principles for Microservice Splitting: X‑Axis, Y‑Axis, and Z‑Axis Strategies

The article explains how to address single‑point failures and capacity limits by clustering servers using replication patterns and introduces the AKF microservice splitting principle, detailing X‑axis horizontal replication, Y‑axis business‑oriented division, and Z‑axis data‑driven partitioning with diagrams.

Top Architect
Top Architect
Top Architect
AKF Principles for Microservice Splitting: X‑Axis, Y‑Axis, and Z‑Axis Strategies

When building a cluster, the first step is to identify the problems that need to be solved, such as single‑point failures, limited capacity, and insufficient connection performance.

To resolve these issues, servers are expanded into a cluster using replication patterns (master‑slave, master‑master, master‑backup), effectively turning a single instance into multiple instances.

The article introduces a concept called the AKF principle, one of the microservice design principles, which includes three axes of splitting:

Microservice Splitting Principle – AKF

X‑Axis Splitting (horizontal replication) involves running multiple instances of a monolithic system, creating a cluster with load balancing, and using patterns such as master‑master, master‑backup, or master‑slave.

Y‑Axis Splitting (business‑oriented) separates frequently accessed functionalities into independent services, allowing different Redis instances to handle distinct business workloads.

Z‑Axis Splitting (data‑oriented) further partitions data based on access patterns, such as geographic regions, to distribute load across multiple Redis instances handling the same business logic.

In summary, X‑axis splitting provides horizontal replication for high availability, Y‑axis splitting divides services by business functionality, and Z‑axis splitting separates data by access characteristics, together forming a comprehensive AKF strategy for scalable microservice architectures.

backendarchitectureClusteringMicroservicesscalabilityAKF
Top Architect
Written by

Top Architect

Top Architect focuses on sharing practical architecture knowledge, covering enterprise, system, website, large‑scale distributed, and high‑availability architectures, plus architecture adjustments using internet technologies. We welcome idea‑driven, sharing‑oriented architects to exchange and learn together.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.