# LightCavalry — Systems Engineering Studio

We design change-making architecture that finally survives the volume you never saw coming. For established businesses whose growth has outgrown their foundations.

- **Studio**: Senior systems architects & distributed engineers.
- **Location**: Dhaka / Edge-Native Globally.
- **Contact**: cavalry@lightcavalry.dev
- **Specs**: 973 verified DDIA specifications across 14 chapters.

## What We Build
- High-Throughput Edge Architectures (Cloudflare Workers, Durable Objects, Workflows)
- Distributed Consensus (Raft, Multi-region leases)
- CRDTs (Conflict-Free Replicated Data Types)
- LSM-Tree Storage Engines (Append-only write paths, memtables, SSTable compaction)
- Distributed Transactions (Two-Phase Commit, Sagas, Outbox)
- Tail Latency Optimization (HdrHistogram p99.99 bounding)

## Verified Systems
1. **Raft Consensus** — Leader election and log replication with randomized heartbeat intervals.
2. **State-Based CRDTs** — Monotonic lattice joins for offline-first and distributed synchronization.
3. **LSM Storage Engine** — Memtable write path with SSTable multi-tier compaction.
4. **Distributed 2PC** — ACID multi-partition transactions with deterministic recovery journals.
5. **Vector Clocks** — Causal ordering in multi-master topologies.
6. **Token Bucket Rate Limiting** — High-precision sliding window burst control.
7. **Tail Latency Profiling** — Sub-microsecond latency distribution analysis.
8. **DAG Dependency Schedulers** — Cycle-free topological pipeline execution.

## Engagements
- **Architecture Diagnostic**: 2–4 weeks intensive bottleneck audit.
- **System Build & Migration**: 3–6 months edge-native engineering.
- **Embedded Partnership**: 6–12 months dedicated systems architecture.
