I designed, built and run SPARC, the platform collecting sensor data on two ULB campuses. Alone, from the gateway to the database.

SPARC

Sensor Platform for Academic Research and Community · in production since January 2026

LoRaWAN sensors reach the campus gateways and ChirpStack v4 on a separate VM, which publishes over MQTT with TLS to the platform's Mosquitto broker. MQTT 5.0 devices connect to Mosquitto over TLS 1.3 with authentication and ACLs. HTTP devices go through Traefik. The Rust iot-ingestion binary reads Mosquitto on the internal network, maps ChirpStack payloads to FIWARE, checks per-device API keys for HTTP, and publishes to the NATS JetStream stream OBSERVATIONS. The Rust iot-processing binary validates each reading against the metric registry, stores it in TimescaleDB and evaluates alert thresholds, sending emails through an SMTP relay; invalid readings go to the DLQ_OBSERVATIONS stream. Users open the Nuxt 4 web app on OKD, sign in with Authentik, and call the Rust iot-api binary, which checks tokens against the JWKS, applies RBAC, reads TimescaleDB continuous aggregates, runs the CSV export workers and manages the LoRaWAN fleet through ChirpStack's gRPC API. Grafana reads the aggregates directly and Prometheus scrapes the three Rust binaries.
Every box and arrow matches the code: three Rust binaries built from one workspace.
Users CIREM, ULB infrastructure department
Fleet 34 registered sensors, 3 LoRaWAN gateways, 2 campuses (November 2026)
Protocols LoRaWAN (ChirpStack v4), MQTT 5.0, HTTP
Data model FIWARE Smart Data Models, NGSI-LD ids
Backend Rust, 8 crates, 673 automated tests
Runs on Podman + Traefik on a VM; front-end on OKD
SPARC web app, Explorer page: one room sensor's temperature over 7 days, hourly averages, between 17.8 and 21.1 °C
The SPARC web app: a week of hourly averages from one room sensor, served from the continuous aggregates.

The problem: research and campus teams need reliable sensor data, but devices speak different protocols and no team should have to run its own pipeline.

Constraints

  • One engineer, from design to production
  • Reuse the LoRaWAN gateways already on campus
  • Three device protocols: LoRaWAN, MQTT and HTTP
  • Several tenants, each with isolated data
  • University infrastructure: Authentik for identity, an internal PKI for certificates

Decisions and trade-offs

Rust, because I build it alone
With no second reviewer, the compiler is my first safety net. Trade-off: slower prototyping than in TypeScript.
One workspace, not microservices
One engineer runs it, so the backend is one Rust workspace (8 crates) built into one image and run as three binaries: iot-ingestion, iot-processing and iot-api. Hexagonal boundaries keep the domain independent of Axum, NATS and TimescaleDB.
Light CQRS, checked by the compiler
Write and read paths are separate. The API layer cannot write telemetry: only the ingestion path can, and the types enforce it at compile time.
A durable buffer before the database
Ingestion publishes to NATS JetStream instead of writing straight to TimescaleDB, which decouples receiving data from storing it. Trade-off: one more component to run and monitor.
TimescaleDB, not a separate time-series store
Time series stay in PostgreSQL and plain SQL: hypertables for ingestion, continuous aggregates for reads, native compression for storage.
The backend on a VM, not the cluster
SPARC's scale does not justify Kubernetes for the backend: Podman and Traefik on a VM are simpler to run and to debug. The Nuxt 4 front-end ships through our OKD GitOps chain.

When things go wrong

A simulation of the write path. Stop the database, send a broken reading or replay one, and watch where each reading goes.

Sensorsa reading every 1.5 s
iot-ingestionparse, publish
JetStream 0 waiting
iot-processing idle
TimescaleDB 0 stored
Dead-letter queue 0 invalid

Every failure case, and what SPARC does about it:

A reading arrives twice
Idempotent consumers store it once.
A payload cannot be processed
It goes to a dead-letter queue instead of blocking the stream.
The database slows down
JetStream keeps readings buffered between ingestion and storage.
A sensor goes silent
Device status is derived from last activity, so a silent sensor stands out.
A reading crosses a threshold
An alert goes out by email.
The TLS certificate is renewed
A systemd path unit sees the new certificate and restarts Traefik. No cron job.
A user asks for data outside their tenant
RBAC fails closed: no matching permission, no access.

Infrastructure

SPARC's backend runs as Podman containers behind Traefik on a Proxmox VM, with GitLab CI for builds and tests. Its Nuxt 4 front-end runs on our OKD cluster, deployed through GitOps.

Proxmox VM + Podman
The backend stack (the three Rust binaries, NATS, TimescaleDB, Traefik) runs as containers on a VM. ChirpStack v4 runs on a separate VM.
Traefik + internal PKI
TLS termination with a certificate from the university's internal PKI. A systemd path unit restarts Traefik when the certificate is renewed.
GitLab CI
Build and test pipeline.
Prometheus + Grafana
Metrics and dashboards for the platform.

The export queue is a table

CSV exports run in the background. Instead of adding a broker, the export_jobs table is the queue: each worker claims one job in a single statement, and SKIP LOCKED lets several workers run without taking the same job.

// crates/storage/src/export_job.rs
async fn claim_next(&self) -> Result<Option<ExportJob>, DomainError> {
    // One statement: the sub-select locks a single candidate and SKIP LOCKED
    // steps over rows another worker is taking, so N workers claim N jobs.
    let row = sqlx::query(&format!(
        "UPDATE export_jobs SET state = 'running', claimed_at = now(), \
                                attempts = attempts + 1 \
         WHERE id = ( \
             SELECT id FROM export_jobs \
             WHERE state = 'pending' \
             ORDER BY created_at \
             FOR UPDATE SKIP LOCKED \
             LIMIT 1 \
         ) \
         RETURNING {JOB_COLUMNS}"
    ))
    .fetch_optional(&self.pool)
    .await
    .map_err(to_domain_error)?;
    // ...

Other work

Also in production at ULB, and built for FARI.

Digital Twin Framework · open source, MIT

A TypeScript framework for building digital twins: you write Collectors, Harvesters, Handlers and Assets Managers, and the engine schedules them, queues the work and exposes the API. NGSI-LD native, built as an in-house alternative to FIWARE/Orion. It runs in production as the gateway that unifies digital-twin entities, IoT sensors, mobility and environment data for a Unity 3D visualisation.

  • Layer 3 engine : scheduler, queues, loader, OpenAPI
  • Layer 2 components , assets : what users extend
  • Layer 1 database , storage , auth : adapters
  • Layer 0 shared : types, errors, utils, no internal deps

Each layer depends only on the layers below it. TypeScript, PostgreSQL, Redis, BullMQ, OVH S3 · github.com/CePseudoBE/digitaltwin

Also shipped

  • Tandem Language exchange platform for students and staff of three universities (ULB, VUB, UAntwerp). AdonisJS.
  • IRIS Application and document submission platform for postdoctoral fellows. AdonisJS.
  • Infofin ULB's platform listing research funding opportunities: calls for projects, grants, mobility, events. Laravel. infofin.ulb.be

Front-ends and these services run on OKD, deployed through GitOps: Tekton, Argo CD, Kustomize, Sealed Secrets.

About

I started at ULB in 2023, right after my bachelor's in computer science (networks and telecoms) at HEH. It's my first job, and most of it has been building things on my own: SPARC from the first design to production, plus the platforms around it. Working alone taught me to keep systems simple, to test what matters, and to think about what happens when something fails, because when it breaks, the Teams message comes to me.

Now I want to work in a team, with engineers I can learn from and review code with. I'm open to both backend and data engineering roles, and I'm getting deeper into streaming, CDC and lakehouses.

Outside work, I'm building a small homelab on second-hand PCs, so I can break things there before I break them at work.

I also gave a one-day training on AI for the common good to BELSPO, with the FARI AI Academy.

Rust, TypeScript, SQL, PHP · Axum, Tokio, AdonisJS, Laravel · PostgreSQL, TimescaleDB, NATS JetStream, MQTT, Redis, BullMQ, NGSI-LD · Kubernetes / OKD, GitOps, Podman, Docker, Traefik, Proxmox, GitLab CI · OIDC / OAuth2, Prometheus, Grafana · LoRaWAN, ChirpStack