Aerostats is a system where balloon pilots, operators and workshops each keep their flight logs on their own server, but can still check them against each other. This was my internship and bachelor thesis at UPconsulting, the company behind QuickRelease.
EASAEuropean Union Aviation Safety Agency, the EU authority for aviation safety. requires every balloon flight to be logged twice, once in the pilot's logbook and once in the balloon's. Most of those logs are still on paper and spread over different people, so checking if they match takes a lot of work.
I already knew the domain from Flite, a pilot logbook from an earlier project, so I started with a few features in UPconsulting's existing apps before building Aerostats.
The hard part was the database. Every party needs their own server (a node), the data has to survive when one of them leaves, and the nodes still have to share data to compare logs. I tested four distributed databases in DockerA tool that packs an app with everything it needs, so it runs the same on any computer.:
- MongoDB can split data over servers, but not per party without security risks.
- OrbitDB and GUN have outdated code, little documentation and no proper way to copy data between nodes.
- AntidoteDB keeps parties apart well, but is too new and unstable.

Apache Cassandra fit best. Its nodes form a ring where every node can read and write, and every row is copied to a set number of other nodes. If a node goes offline, its data is still on the others.

Source: Apache Cassandra documentation, Apache Cassandra Foundation.
The backend is a Java 21 / Spring Boot 3 APIApplication Programming Interface, the part of a program that other programs talk to.. Spring Data Cassandra no longer sets up the database or reconnects on its own, so I wrote that configuration myself. Every table is built around the one request that reads it, which is how Cassandra stays fast.
When a log is added, the backend searches the other nodes for the matching pilot or balloon log and compares the important fields within a small margin. If they match, both logs are marked as verified.


Login goes through Google Identity Platform, so one account works on every node. What a user is allowed to do is decided per node: a pilot can edit their own logs, but only read a balloon's logs on a workshop's node.
Everything runs in Docker, so anyone can host their own node. The test setup runs on Google Cloud, with three virtual machines for Cassandra and three backends on Cloud Run.
Most of the debugging went into nodes that blocked each other when started in the wrong order, and backends that redid the database setup every time Cloud Run started them up again.

The first version works. An admin gives users access, pilots add pilot and balloon logs, and matching logs are verified across three nodes.
The next step is a community cluster. A new workshop or pilot asks to join with their own node, and the nodes already in the ring decide whether to accept it. A frontend and links to UPconsulting's other apps are also still missing.

Thanks to everyone who helped me during the internship:
- Wim Maet — Mentor at UPconsulting
- Arno Barzan — Internal supervisor at PXL
- Saskia Schoefs & Kim Sleurs — Language coaches
The demo below shows a request without login being refused, then pilot and balloon logs added on two nodes, and the matching logs marked as verified.
Flite Pilot Logbook