Skip to main navigation Skip to search Skip to main content

Serving Fast, Correct Queries in Multi-Stakeholder IoT Fleet Monitoring
: An Empirical Evaluation of Read-Path, Caching, and Ingestion Strategies

  • Lucas Hünniger

    Student thesis: Master's Thesis

    Abstract

    Internet of Things (IoT) fleet monitoring systems are rarely built against an empty
    system landscape. They typically integrate with existing, independently owned services
    that separately own reference data such as installation and fleet membership, evolving
    on their own release cadence. Serving fast, correct, multi-stakeholder queries in this
    setting raises three architectural questions about the read path, caching, and ingestion
    path, investigated here empirically using a solar energy fleet monitoring platform as the
    evaluation domain.
    First research question (RQ1) asks how a read path can serve the same telemetry at
    scales from a single residential installation to thousands of installations within one
    shared latency budget. Second research question (RQ2) asks which caching mechanism
    should hold and keep current the pre-computed state a fast read path depends on,
    trading staleness, write amplification, and operational complexity differently. Third
    research question (RQ3) asks how an ingestion path should correlate telemetry against
    reference data owned by a different bounded context, given that the two are produced
    independently and may arrive out of order.
    Three prototypes, built on a shared baseline architecture, compare continuous pre
    aggregation against on-demand computation for RQ1, a shared materialized view against
    stakeholder-isolated views and in-memory per-entity actor state for RQ2, and two
    ingestion-path strategies for reference-data correlation for RQ3.
    The measurements identify a fleet-size threshold above which pre-computation becomes
    necessary, actor-based caching cutting database write throughput roughly threefold
    relative to a materialized view and stakeholder isolation reducing cross-stakeholder query
    interference by roughly a fifth to a quarter. A direct staleness measurement across all
    three caching mechanisms, repeated at ten times the fleet size for two of them, found the
    shared materialized view keeping pace with ingest at both fleet sizes tested. The actor
    based mechanism, and at ten times the fleet size the field-shaped projection mechanism,
    instead saturate the measurement’s ceiling, traced to a shared consumer-throughput
    bottleneck rather than either mechanism’s staleness design. For RQ3, the multi-stream
    strategy resolves membership changes two to three orders of magnitude faster than the
    single-stream worst case, both idle and under load, with a 0% incorrect-enrichment rate
    against roughly 5% for single-stream under the same conditions. The thesis closes with
    architecture-selection guidance intended to generalize to other hierarchical IoT fleet
    domains facing these trade-offs.
    Date of Award2026
    Original languageEnglish (American)
    Awarding Institution
    • FH OÖ
    SupervisorJohann Heinzelreiter (Supervisor) & Harald Rogner (Supervisor)

    Studyprogram

    • Software Engineering

    Cite this

    '