Built For Massive Scale & Strict Isolation
Explore the engineering underneath ManRiq: high-throughput telemetry ingestion, single-database multi-tenancy, strict role delegation, and real-time WebSocket diff streaming.
Single-Database Row-Level Multi-Tenancy
Every tenant-scoped table features composite tenant indexes and global Eloquent query scoping. Data isolation is mathematically enforced at the query engine level, preventing any cross-tenant data leakage.
Strict Role Hierarchy & Delegation Tree
Platform malik (Root Admin) delegates permissions to Tenant Superadmins. Superadmins create unlimited dynamic roles (Managers, HR, Field Leads). Enforced invariant: a user can never grant a permission they do not possess.
High-Velocity Ping Ingestion Pipeline
Location pings and desktop telemetry are rate-limited, batched, and queued asynchronously into Redis Horizon and Elasticsearch. Ingestion endpoints respond with HTTP 202 in under 12ms.
Laravel Reverb WebSockets Real-Time Feed
Live tracking maps and team chat run over native WebSocket channels with Douglas-Peucker polyline route simplification and viewport-based differential data packets.