- Go 34.9%
- Java 24.1%
- Python 22.7%
- TypeScript 10.7%
- CSS 2.7%
- Other 4.9%
| backend | ||
| config | ||
| frontend | ||
| .gitignore | ||
| README.md | ||
RHOMBUS
A vehicle tracking system designed for real-time location tracking.
RHOMBUS is a polyglot monorepo: each module uses the language that best suits its responsibilities. The project is in an early development stage. Currently, the service registry and its client integrations are operational; the tracking functionality is not implemented yet.
Layout
rhombus/
├── backend/
│ ├── vehicle_manager/ # Python 3.12 — vehicle registration & lookup
│ └── vehicle_tracker/ # Java 21, Spring Boot, Kafka client
└── config/
├── service-directory.yaml
└── service_registry/ # Go — serves the static directory over HTTP
Modules
Service registry (Go).
Loads and validates config/service-directory.yaml, then exposes
service configuration through GET /location_for/{service_id}.
It provides a centralized, static directory that modules can query
to retrieve service addresses.
vehicle_manager (Python). An in-memory manager responsible for vehicle registration, lookup and removal. Each vehicle is identified by a UUID. Its CLI includes a client that queries the registry for the module's configured location.
vehicle_tracker (Java). A Spring Boot application with a Kafka client dependency and a registry client that retrieves the module's configured location. It also includes a Dockerfile. Kafka event consumption and tracking logic are not implemented yet.
Running
Start the registry (from config/service_registry):
go run ./cmd/registry -directory ../service-directory.yaml
It listens on 127.0.0.1:5555 by default (-addr to change it).
Python module (from backend/vehicle_manager):
pip install -e ".[dev]"
vehicle-manager # or python -m vehicle_manager
pytest
Java module (from backend/vehicle_tracker):
mvn test
docker build -t rhombus-vehicle-tracker .
Go tests (from config/service_registry):
go test ./...
Status
- Registry address is currently hardcoded to
127.0.0.1:5555in the clients. This is intentional; a configurable registry address has not been introduced yet. - No orchestration yet (Compose, task runner or CI).
- Real-time vehicle tracking is the project's goal, but tracking logic and event processing are not implemented yet.