Performance Benchmark: v1 Cloudflare KV vs v3.1 Local SQLite
Initial queue deployed. Cloud-based, global distribution. Immediate rate limit issues.
Aggressive agent polling (10s × 3 agents) burned KV rate limits. 2+ hours downtime. Lesson: local-first for local networks.
Queue moved to Forge Mac Mini. Zero cloud dependency. Emergency auth tokens added.
Mac Studio becomes central hub. All agents consolidated. 50x faster inter-agent communication.
Push-based messaging replaces polling. Bridge v3 with local inbox persistence. Zero message loss on restart.
All devices on tailnet. Cross-subnet communication solved. No port forwarding, no NAT issues.
7-stage workflow, 3-layer verification, hash-chained receipts, independent verifier. Production ready.
| Improvement | Impact | Latency Gain |
|---|---|---|
| Local SQLite queue | Eliminated cloud round-trip | 50-100x faster |
| Hub-and-spoke architecture | Single gateway, no routing | 50x faster |
| MQTT push messaging | Zero polling overhead | Instant delivery |
| Tailscale mesh | P2P connections, no relay | Consistent latency |
| Central Memory (partial) | Local DB vs file reads | 2-3x faster reads |
| Metric | Value |
|---|---|
| Queue API | localhost:3334 |
| Verifier API | localhost:3335 |
| Database size | 4.3MB |
| Jobs stored | 6 |
| Receipts stored | 25 |
| Average latency | 23ms |
| Throughput limit | None (hardware bound) |
| Rate limits | None |