Skip to main content
QUICK REVIEW

[Paper Review] Wandering and getting lost: the architecture of an app activating local communities on dementia issues

Nicklas Sindlev Andersen, Marco Chiarandini|arXiv (Cornell University)|Mar 11, 2021
Context-Aware Activity Recognition SystemsComputer Science22 references5 citations
TL;DR

This paper presents the microservices and serverless architecture of Sammen Om Demens (SOD), a mobile application that detects wandering and getting lost in people with dementia by processing high-frequency location data in real time. The backend, deployed on a public cloud, achieves high scalability and performance through event-driven serverless functions and modular microservices, validated via simulated load testing with low-latency response times.

ABSTRACT

We describe the architecture of Sammen Om Demens (SOD), an application for portable devices aiming at helping persons with dementia when wandering and getting lost through the involvement of caregivers, family members, and ordinary citizens who volunteer. To enable the real-time detection of a person with dementia that has lost orientation, we transfer location data at high frequency from a frontend on the smartphone of a person with dementia to a backend system. The backend system must be able to cope with the high throughput data and carry out possibly heavy computations for the detection of anomalous behavior via artificial intelligence techniques. This sets certain performance and architectural requirements on the design of the backend. In the paper, we discuss our design and implementation choices for the backend of SOD that involve microservices and serverless services to achieve efficiency and scalability. We give evidence of the achieved goals by deploying the SOD backend on a public cloud and measuring the performance on simulated load tests.

Motivation & Objective

  • To design a scalable, real-time backend system for detecting wandering episodes in people with dementia.
  • To enable rapid response by caregivers and nearby volunteers through automated alarm triggering.
  • To support integration of AI-based anomaly detection in location data streams.
  • To ensure system reliability and performance under high data throughput from mobile devices.

Proposed method

  • The backend uses a microservices architecture to modularize core functions such as authentication, data ingestion, and notification routing.
  • Serverless functions built with OpenFaaS are used for event-driven processing of location data streams.
  • High-frequency location data (from smartphones) is transmitted to the backend for real-time analysis.
  • The system leverages public cloud infrastructure to support dynamic scaling under load.
  • An orchestrator service manages request flow, access control, and coordination with Azure Object Storage.
  • Load testing is performed on the deployed backend to evaluate performance and scalability under simulated real-world conditions.

Experimental results

Research questions

  • RQ1How can a scalable and responsive backend system be architected to process high-frequency location data from dementia patients in real time?
  • RQ2What architectural patterns—microservices and serverless computing—best support the dynamic and unpredictable load of a community-based dementia support application?
  • RQ3To what extent can serverless and microservices improve system responsiveness, fault tolerance, and resource efficiency in a health technology context?
  • RQ4How does the system maintain low-latency response times under high data throughput during simulated real-world usage?

Key findings

  • The SOD backend achieved low-latency response times under simulated high-load conditions, demonstrating effective real-time processing of location data streams.
  • The use of microservices and serverless functions enabled dynamic scaling, allowing the system to handle increasing user loads efficiently.
  • The architecture successfully decoupled core functionalities, improving maintainability and enabling future integration of AI-based anomaly detection.
  • Performance validation through load testing confirmed the system's ability to sustain high throughput with consistent response times.
  • The backend's modular design allows for independent deployment and scaling of components such as authentication, data processing, and notification services.
  • The system's extensibility supports future integration of sensor data from wearables and smartphones to enhance detection reliability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.