Technology and infrastructure

Built on open technology. Run separately for every customer.

Every module runs in its own container on a single Kubernetes platform. Every customer gets their own environment, with their own database and configuration. The production state is under version control, and every image is secret-scanned and signed.

The layers of the architecture. In the customer’s own environment: web interfaces, API layer, integration and sync, data layer, secrets management and network segmentation. Below them the shared Kubernetes platform, the self-hosted routing and map engine and the HYPE analytics layer; at the bottom GitOps releases and supply chain protection; to the side, monitoring, which watches over the services and the databases.

Select a layer.

Hatched: shared platform Solid: separate for each customer

What it means for you Data layer

If a database server goes down, the replica takes its place. Your operational database runs in a cluster separate from other customers’.

Details

Separate for each customer

Own environment

Technology

  • Namespace
  • dev · staging · prod

Every customer runs in their own environment, on three levels.

Every customer runs in their own namespace, with their own database cluster and their own configuration. The environment has three levels: development, test (staging) and production.

  • Production services run on dedicated production servers, with higher scheduling priority.

What it means for you Your data and settings never mix with another customer’s, and every change has somewhere to prove itself before it goes live.

Separate for each customer

Web interfaces

Technology

  • SvelteKit

Responsive web applications, from one component library.

The partner portal, the internal admin and the module interfaces are built in SvelteKit on a shared component library. The same application runs in the browser on desktop, tablet and phone.

  • External keys used by the interfaces live only in a server-side proxy and never reach the browser.
  • Application logs go to the central log store as structured JSON.

What it means for you Every interface looks and works the same way, and nothing needs installing beyond a browser.

Separate for each customer

API layer

Technology

  • Python
  • FastAPI
  • Go
  • .NET
  • Keycloak
  • OpenID Connect
  • JWT

Services in Python, Go and .NET.

The back-end services are written in Python (FastAPI), Go and .NET. Most of the API layer is generated from declarative metadata.

  • Sign-in through OpenID Connect single sign-on (SSO, Keycloak), separately for each customer.
  • The API is accessed with a JWT token; the user’s identity is carried all the way to the database audit log.
  • The services are stateless, so they scale to multiple instances; heavy optimisation runs in a separate process and does not block the API.

What it means for you One sign-in for every module, and the database log shows who changed what.

Separate for each customer

Integration and sync

Technology

  • Go
  • SKIP LOCKED
  • Excel · CSV
  • MNB exchange rates

Sync that retries and writes back.

Most data transfer runs in Go services. The sync queues follow the SKIP LOCKED pattern, so several workers can process in parallel. If a transfer fails, the system retries it, and the result – document number, quantity fulfilled – is written back to the source system.

  • Bulk Excel and CSV import with a preformatted template: drop-down values, locked cells, row-by-row validation. Rows with errors come back to you with the reason.
  • Event-driven email: a templated message for each business event, exactly one per record and event type.
  • The daily exchange rates of the Hungarian central bank (MNB) load automatically on working days, with retries on failure.

What it means for you Data is entered once. Whatever fails to go through the first time, the system sends again; a faulty import row comes back with its reason.

Separate for each customer

Data layer

Technology

  • PostgreSQL
  • CloudNativePG
  • PgBouncer
  • pg_cron

High-availability PostgreSQL, in a separate cluster for every customer.

Production databases run on CloudNativePG: a primary and a replica instance on separate servers, with automatic failover. The PgBouncer connection pool provides separate write and read paths; the collation is Hungarian, so accented words sort correctly.

  • Scheduled database jobs with pg_cron, inside the database.
  • Files and images in the shared S3-compatible object storage service, kept separate for each customer, with image resizing.
  • Before every release of the finance module, a full database backup is taken, with a tested restore script.

What it means for you If a database server goes down, the replica takes its place. Your operational database runs in a cluster separate from other customers’.

Separate for each customer

Secrets management

Technology

  • SOPS

Passwords and keys encrypted, kept away from the browser.

Passwords and keys never go into version control as plain text: we store them encrypted with SOPS and decrypt them only inside the cluster.

  • External keys used by the front ends stay in the server-side proxy.
  • A change to a secret or to the configuration triggers an automatic rolling restart, so the new value takes effect without downtime.

What it means for you Your keys are not lying around in the code or in the browser.

Separate for each customer

Network segmentation

Technology

  • NetworkPolicy

Services are reachable only where a rule allows it.

A NetworkPolicy for each service controls traffic: a service in a customer environment can be reached only from its own namespace, and database connections must be explicitly allowed.

  • Pre-deployment validation catches faulty network rules.

What it means for you Your services can be reached only from your own environment, and only explicitly allowed connections get through to the database.

Shared platform

Kubernetes platform

Technology

  • Kubernetes

Containerised microservices, on one platform.

Every module – the B2B portal, the admin, master data, the sync services and the optimiser – runs in its own container on a single Kubernetes platform. The services expose readiness and liveness endpoints: the platform uses them to route traffic and to restart a failing instance.

  • On update, instances are replaced on a rolling basis: a new instance receives traffic once its health check passes.
  • Where a service runs in several instances, the instances are placed on separate servers.
  • By default, containers run as a non-root user with a read-only file system; privilege escalation is forbidden and all kernel capabilities are dropped.

What it means for you If an instance stops, the platform restarts it. During an update, the old instance keeps serving until the new one is up.

Shared platform

Routing and maps

Technology

  • OpenStreetMap
  • Valhalla
  • Overpass

Our own map engine, with no fee per route.

The route optimisation engine works with self-hosted road network engines: Valhalla, Overpass and an OpenStreetMap-based map of Hungary. CI builds the datasets and stores them versioned; the service downloads them at start-up.

  • No third-party map API that charges per request.

What it means for you Planning costs do not rise with the number of queries, and route data does not leave for a third party.

Shared platform

Analytics layer

Technology

  • ClickHouse
  • Apache Superset
  • Change data capture (CDC)

Analytics run in a separate data store and put no load on the operational database.

HYPE analytics run in the DataEdge central analytics store, on columnar ClickHouse, in our own infrastructure. Data arrives through change data capture from the HERMES database copy and the ATLAS master data, continuously, in short cycles; typically only new and changed rows are transferred.

  • Every incrementally loaded table has its own watermark: the sync knows how far it has transferred the data and continues from there.
  • If the purchase matching of a sale changes later, the margin on the affected rows is recalculated. If a sync fails, the error goes to the error log and the other syncs keep running.
  • Tables are built on a replicated table engine, split into shards, and fact tables are partitioned by month. The schema is generated from code; the sync service image is built in CI and shipped signed.
  • The margin and loyalty programme dashboards are built in Apache Superset, on the ClickHouse data.

What it means for you Even a full-year margin analysis does not slow down the till. The dashboard shows the same data that was recorded at the till and in the warehouse.

Shared platform

GitOps releases

Technology

  • Flux
  • Helm

The production state is under version control, and every change can be reversed.

The entire production state lives in version-controlled manifests, and Flux keeps the cluster aligned with them. Every service is built on the same shared Helm chart; before deployment, render-time validation catches port conflicts, duplicate names and faulty network rules.

  • Every change has an author, a time and a history, and any earlier state can be restored.

What it means for you You can see exactly what is running in production, who changed it and when, and a faulty change can be reversed.

Shared platform

Supply chain protection

Technology

  • Trivy
  • cosign

Secret-scanned, signed images. If something fails, nothing is released.

Every image goes through secret scanning and is digitally signed (cosign); if something fails, there is no release. The shared CI template runs the scan with Trivy, and any high or critical finding stops the release.

  • Charts are checked by lint and schema validation before they become a release.

What it means for you Only signed packages reach production. If the scan finds a password or key in an image, there is no release.

Shared platform

Monitoring

Technology

  • Prometheus
  • Loki
  • Grafana

Metrics, logs and alerts in one place.

Prometheus collects metrics from the database clusters and connection pools. Application logs go to Loki as structured JSON, where they can be searched and alerted on in Grafana.

  • The finance module API also has a P50/P95 response time dashboard.

What it means for you Every fault leaves a trail: the metrics and logs show what happened and when.

What you get

Operations that can grow, tolerate faults and stay transparent – layer by layer.

  • Scalable

    Stateless services scale to multiple instances, several workers can process the sync queues in parallel, heavy optimisation runs in a separate process, and analytics queries run in a separate data store, not on the operational database.

  • Redundant

    The primary and replica instances of the production database run on separate servers, with automatic failover and a connection pool.

  • Rolling updates, no downtime

    Rolling updates with readiness and liveness checks. A change to the configuration or to a secret triggers an automatic rolling restart.

  • Auditable

    The production state is under version control and can be restored. The user’s identity is carried from the JWT all the way to the database audit log.

  • Secure

    Secret-scanned, signed images, secrets encrypted with SOPS, containers that are non-root and read-only by default, NetworkPolicy segmentation, a separate environment for every customer. Keys never reach the browser.

Next step

An architecture conversation with your IT team.

We go through the layers alongside your own systems: where the data comes from, how it gets back, who can access what, and how updates arrive.

Arrange a time

The logos and names shown are trademarks of their respective owners; showing them does not imply a partnership.