Skip to content

An application to track vehicle occupancy in urban public transport.

Notifications You must be signed in to change notification settings

EcePanos/serverless-mobility

Repository files navigation

Serverless Mobility

This repository contains PoCs for a public transport analytics system using serverless technologies.

Prerequisites

  • Docker

Usage

docker compose up

A Grafana dashboard is provided for monitoring the demo at http://localhost:3000. The default credentials are admin/admin.

Description

This demo includes the following components:

  • 2 Simulated IoT devices (Python), each pretending to be a sensor measuring the number of people in a bus.
  • A message queue (RabbitMQ), where the IoT devices publish their messages.
  • A message preprocessor (Python), that receives the messages from the queue and stores them in the cache.
  • A cache (Redis), where the preprocessor stores the messages.
  • A simulated data fusion engine (Python), that receives the messages from the cache, calculates the bus occupancy by averaging the values received from the sensors, and stores the results in the database.
  • A database (PostgreSQL with the TimescaleDB plugin), where the data fusion engine stores the results.
  • A Grafana dashboard, where the results are visualized.

About

An application to track vehicle occupancy in urban public transport.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages