Architecture

The architecture for Midaz is designed for flexibility and independence, enabling deployment in any environment — whether on a public or private cloud — without reliance on a specific provider.

Midaz follows a microservices architecture, ensuring that each component of the system is self-contained and easily maintainable. This modularity promotes the ability to scale specific services independently, making it easier to adapt the system as new requirements emerge without disrupting other parts of the architecture.

The diagram below (Figure 1) illustrates the architecture for Midaz.

Figure 1. Architecture for Midaz

Figure 1. Architecture for Midaz


1. Backend

At the core, Kubernetes orchestrates multiple services, ensuring high availability and dynamic scaling. Key components include:

  • Midaz Core Services – The backbone of processing and orchestration.
  • Console – Interface for operational management.
  • Prometheus – Observability and monitoring to ensure system health.
  • Trillian – Immutable and verifiable data structures.
  • Plugins – Extensibility for additional capabilities.
  • RabbitMQ – Efficient messaging for distributed processing.

All services are securely deployed using containerized environments, sourced from the Registry Repository, and communicate over TLS for maximum security.


2. Database

Midaz leverages a distributed database structure to ensure secure and efficient data handling. The architecture includes:

  • Replica Databases – Ensuring redundancy and reliability.
  • Transaction Database – Handling real-time transaction processing.
  • Onboarding Database – Managing customer lifecycle data.
  • Valkey – High-performance in-memory storage for rapid access to critical data.

This setup guarantees consistency, speed, and fault tolerance.


3. Lerian Environment

The entire Midaz ecosystem operates within Lerian’s AWS-powered environment, ensuring:

  • Scalability – Adaptive resource allocation based on demand.
  • Security – Enforced through industry-standard encryption and access controls.
  • Seamless Integration – Designed to interoperate with Lerian’s ecosystem.

This architecture reflects Lerian’s commitment to autonomy, performance, and continuous evolution, empowering businesses to build and scale with confidence.


Deployments & Operations


You can deploy Midaz using Helm Charts, which provides a quick and easy installation process within Kubernetes environments. To learn how to deploy and configure it, please refer to the Deploying using Helm page.