Skip to content

Polyglot Microservices

The Labs64.IO Ecosystem is built using a polyglot microservices architecture, ensuring we use the right tool for the job. From Java for transactional performance to Python for rapid integrations.

Optimized Performance

We leverage Spring Boot for our Payment Gateway and AuditFlow to guarantee high throughput and reliability.

  • Java and Spring Boot carry the Payment Gateway and the AuditFlow API.
  • A new payment provider plugs in as its own Maven module.
  • Boundaries stay REST calls through the gateway, or events on the bus.
Java and Spring Bootillustrative

Payment Gateway

Spring BootHigh throughput and reliability for payments.
Provider SPIA new payment provider is a separate Maven module.
public class MyProvider implements PaymentProvider {
    // ...
}

AuditFlow API

Spring BootThe high-throughput API that records domain events.
REST in, broker outOne call in, buffered on RabbitMQ or Amazon SQS.

Flexible Integrations

Python and FastAPI run AuditFlow's sink and transformer layer, so a new destination or data mapping is a small plugin rather than a project.

  • AuditFlow sinks and transformers are plain Python files.
  • Plugins are mounted through a ConfigMap, so no image rebuild is needed.
  • Vue 3 covers the user interfaces.
Python for flexible integrationsillustrative

Sink plugin

One fileA sink is a Python file in sinks/, mounted without rebuilding the image.
# sinks/my_sink.py
def process(event_data: dict, properties: dict) -> dict:
    ...

Transformer plugin

One fileA transformer is a Python file in transformers/.
# transformers/my_transformer.py
def transform(input_data: dict) -> dict:
    ...

Ready to see how it fits together?

See how the Java, Python, and Vue services fit together across the module map.