How technik-tueftler/speedtest works
Main Components
a) Core Application Components:
• Network Load Monitor
• Fritzbox Speed Monitor
• Online Speedtest Service Connector
• Database Interface
• Timer Controller
b) External Systems:
• Fritzbox Router
• Speedtest.net Service
• Database System (Multiple options supported)
┌─ Application Container (Docker) ─────────────────────────┐
• ┌─ Core Application ─────────────────────┐ │
• ┌─ Timer Controller ─┐ │ │
• Main Timer │ │ │
• Retry Timer │ │ │
• ┘ │ │
• ┌─ Network Monitor ─┐ │ │
• Load Checker │ │ │
• Threshold │ │ │
• Validator │ │ │
• ┘ │ │
• ┌─ Speed Testers ───┐ │ │
• Fritzbox │ │ │
• Monitor │ │ │
• Online Speed │ │ │
• Test │ │ │
• ┘ │ │
• ┌─ Database Layer ──┐ │ │
• Connection │ │ │
• Manager │ │ │
• Data Model │ │ │
• ┘ │ │
• ┘ │
• ┘
Key Elements to Highlight
• Timer triggers → Network Monitor
• Network Monitor → Speed Testers
• Speed Testers → Database Layer
• Database Layer → External Database Systems
b) External Connections:
• Connection to Fritzbox (via IP/hostname)
• Connection to Speedtest.net
• Database connections (SQLite/MariaDB/PostgreSQL)
Important Details
a) Configuration Parameters:
• Network thresholds
• Timer intervals
• Database connection strings
b) Error Handling Paths:
• Network load check failures
• Speed test failures
• Database connection issues
Notes for Implementation
• The cyclical nature of the application (timer-based execution)
• The conditional execution based on network load
• The parallel execution of Fritzbox and online speed tests
• The flexibility in database connectivity
• The containerized nature of the application