Skip to main content
Anuraag Mishra

Distributed Systems

Digital twin health app: backend and ML

A team health app built for FAU's Digital Health App Design seminar, designed around German DiGA requirements and data-privacy rules, with ML predictions running as background jobs.

  • Seminar grade 1.0, the top German grade
Role
Backend and ML, team project
Context
May – Aug 2022 · FAU seminar
Java / SpringPythonH2PyTorchRabbitMQDockerFlutter

The project

A team project in the Digital Health App Design seminar at FAU, May to August 2022. The app keeps a “digital twin” of the user: people track their health metrics and goals, researchers get insights from the data, and the design follows German DiGA requirements for digital health apps and data-privacy rules. I worked on the backend and the ML side.

How the backend works

  • Java/Spring and Python services behind the app.
  • Predictions run as background jobs: the app puts a request on a RabbitMQ queue, PyTorch workers analyze the user’s health data and project where it is heading, and the result comes back when it’s ready. A slow model never blocks the app.
  • Personal data is stored apart from the data the model sees.
  • A Flutter app is the front end for patients and clinicians.

Why it’s here

Same pattern I’d used for years on enterprise backends, applied to ML: put slow work on a queue, keep it restartable, and keep sensitive data away from places that don’t need it. The project was graded 1.0, the top German grade.