← All books

Universal Tracking · Edition 1.0

Engineering a Universal Real-Time Tracking Platform

Go, PostgreSQL, PostGIS, WebSockets, Mobile Location, and Native GPS Protocols

A production engineering guide to building a provider-neutral, multi-tenant, real-time location platform with Go, PostgreSQL/PostGIS, Angular, Capacitor, native mobile location engines, WebSockets, and GPS protocols.

Aleksandar Popovic · 35 chapters · 6 appendices · English

Explore notes from this book
Engineering a Universal Real-Time Tracking Platform — Go, PostgreSQL, PostGIS, WebSockets, Mobile Location, and Native GPS Protocols

The complete book

Contents.

Read at your own pace.
Every chapter is available in full.

Chapters

  1. Chapter 1 - Define the Product Before the Architecture5 min
  2. Chapter 2 - A Modular Monolith with Multiple Runtime Roles5 min
  3. Chapter 3 - Model Anything That Moves4 min
  4. Chapter 4 - Repository Design and Engineering Workflow4 min
  5. Chapter 5 - PostgreSQL and PostGIS as the Platform Core4 min
  6. Chapter 6 - Tenant Isolation and Row-Level Security4 min
  7. Chapter 7 - Human Authentication and Session Security3 min
  8. Chapter 8 - Authorization with RBAC, ABAC, and Resource Policies4 min
  9. Chapter 9 - The Tracking Registry3 min
  10. Chapter 10 - Audit, Classification, and Data Governance3 min
  11. Chapter 11 - Design the Location Ingestion Contract3 min
  12. Chapter 12 - Offline Delivery, Idempotency, Sequencing, and Data Quality3 min
  13. Chapter 13 - Partitioned Location Storage and Query Design4 min
  14. Chapter 14 - Latest State, Presence, and Movement3 min
  15. Chapter 15 - Durable Asynchronous Work in PostgreSQL4 min
  16. Chapter 16 - WebSocket Realtime Without Redis4 min
  17. Chapter 17 - Geofences and Alert Processing3 min
  18. Chapter 18 - Trips, Stops, Routes, and Activity Analytics3 min
  19. Chapter 19 - Build the Angular Operations Dashboard3 min
  20. Chapter 20 - Map Rendering and Route Playback with MapLibre3 min
  21. Chapter 21 - Mobile Architecture with Angular, Ionic, and Capacitor3 min
  22. Chapter 22 - Android Native Location Engine3 min
  23. Chapter 23 - iOS Native Location Engine3 min
  24. Chapter 24 - Public Tracking and Precision Controls2 min
  25. Chapter 25 - Dispatch, Tasks, and Proof of Delivery2 min
  26. Chapter 26 - Developer API, Webhooks, Exports, and Reports2 min
  27. Chapter 27 - A Native GPS Protocol Gateway in Go3 min
  28. Chapter 28 - Threat Model and Security Architecture3 min
  29. Chapter 29 - Privacy, Consent, Retention, and Legal Holds3 min
  30. Chapter 30 - Portable Deployment with Docker Compose and Nginx3 min
  31. Chapter 31 - PostgreSQL Operations, Backups, and Disaster Recovery3 min
  32. Chapter 32 - Observability and Incident Response3 min
  33. Chapter 33 - Simulation, Load, Fault, and Field Testing3 min
  34. Chapter 34 - Capacity Planning and Evolution3 min
  35. Chapter 35 - Delivery Roadmap and Production Readiness3 min

Aleksandar Popovic · Copyright © 2026 Aleksandar Popovic · All rights reserved. Licensing and attribution