Skip to content

Commit 55a9f66

Browse files
committed
update mds with correct evaluation
1 parent 16aa6d0 commit 55a9f66

3 files changed

Lines changed: 39 additions & 29 deletions

File tree

benchmark/BENCHMARK_RESULTS.md

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66

77
## Executive Summary
88

9-
AegisGate MQTT proxy demonstrates production-ready performance with minimal overhead compared to direct EMQX connections. Key findings show virtually identical connection handling, excellent QoS 0 throughput, and expected proxy latency for QoS 1 operations.
9+
AegisGate MQTT proxy demonstrates promising performance for an alpha release, with minimal overhead compared to direct EMQX connections. Key findings show virtually identical connection handling, excellent QoS 0 throughput, and expected proxy latency for QoS 1 operations.
10+
11+
> **Note:** This is an alpha release (v0.1.0-alpha). These benchmarks validate the core proxy architecture and performance characteristics, but the software is not yet recommended for production use.
1012
1113
**Performance Overview:**
1214
- Connection speed: -0.67% (gradual ramp, 200 connections)
@@ -252,24 +254,26 @@ Post-test cleanup: Verified clean
252254

253255
## Recommendations
254256

255-
### Deploy AegisGate For:
257+
> **Alpha Disclaimer:** These recommendations are based on performance benchmarks of the alpha release. AegisGate is not yet recommended for production deployment. This section describes potential use cases once the software reaches stability.
258+
259+
### When AegisGate May Be Suitable (Future):
256260

257-
1. **IoT/Sensor Data (QoS 0)**
261+
1. **IoT/Sensor Data (QoS 0)** _(alpha validation shows potential)_
258262
- Excellent throughput (4,142 msg/s)
259263
- Minimal overhead (-2.47%)
260-
- Zero message loss
264+
- Zero message loss in tests
261265
- Acceptable latency (+9ms average)
262266

263-
2. **Mixed Workloads**
267+
2. **Mixed Workloads** _(alpha validation shows potential)_
264268
- Reliable concurrent publisher handling
265269
- Good burst performance
266-
- Stable under stress
267-
- 100% message delivery
270+
- Stable under stress in tests
271+
- 100% message delivery in tests
268272

269-
3. **High Connection Counts**
270-
- Scales identically to EMQX (150+ burst connections)
273+
3. **High Connection Counts** _(alpha validation shows potential)_
274+
- Scales identically to EMQX (150+ burst connections in tests)
271275
- Reliable burst handling
272-
- Zero connection failures
276+
- Zero connection failures in tests
273277

274278
### Consider Direct EMQX For:
275279

@@ -284,20 +288,20 @@ Post-test cleanup: Verified clean
284288

285289
## Conclusion
286290

287-
AegisGate demonstrates production-ready MQTT proxy performance with minimal overhead:
291+
AegisGate demonstrates strong MQTT proxy performance for an alpha release, with minimal overhead:
288292

289293
- **Connection speed:** Virtually identical to EMQX (-0.67%)
290294
- **QoS 0 throughput:** Near-identical (4,142 vs 4,247 msg/s, -2.47%)
291295
- **QoS 1 latency:** +26ms average, +45ms P99 (acceptable proxy overhead)
292296
- **Reliability:** Perfect (0% loss, 100% success rate)
293297

294-
The proxy overhead is measurable, predictable, and acceptable for production workloads. High-volume tests confirm consistent behavior under load with zero message loss.
298+
The proxy overhead is measurable, predictable, and reasonable for a proof-of-concept. High-volume tests confirm consistent behavior under load with zero message loss, validating the core architecture.
295299

296300
### Key Takeaways
297301

298302
1. **No "magic" performance wins** - AegisGate performs as expected for a well-designed proxy
299303
2. **Consistent behavior** - Large sample tests show predictable, stable overhead
300-
3. **Production-ready** - Zero message loss and 100% reliability across all tests
304+
3. **Reliable core** - Zero message loss and 100% reliability across all tests (alpha validation)
301305
4. **QoS 0 optimized** - Minimal throughput impact for IoT/sensor workloads
302306
5. **QoS 1 trade-off** - Additional latency is the expected cost of proxy architecture
303307

benchmark/PERFORMANCE_COMPARISON.md

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Comparative analysis of AegisGate MQTT proxy performance against direct EMQX con
1414
| QoS 1 P99 Latency | 197.49ms | 152.69ms | +44.80ms | ✓ Pass |
1515
| Message Loss | 0% | 0% | 0% | ✓ Pass |
1616

17-
**Verdict:** AegisGate demonstrates production-ready performance with minimal proxy overhead.
17+
**Verdict:** AegisGate demonstrates promising performance for an alpha release, with minimal proxy overhead.
1818

1919
## Connection Establishment
2020

@@ -270,30 +270,32 @@ latency = (receive_time - send_time) * 1000 # milliseconds
270270

271271
## Use Case Recommendations
272272

273-
### ✓ Recommended for AegisGate
273+
> **Alpha Disclaimer:** These recommendations are based on performance benchmarks of the alpha release. AegisGate is not yet recommended for production deployment. This section describes potential use cases once the software reaches stability.
274274
275-
**IoT/Sensor Data (QoS 0)**
275+
### ✓ Potential Use Cases for AegisGate (Future)
276+
277+
**IoT/Sensor Data (QoS 0)** _(alpha validation shows potential)_
276278
- **Rationale:** Near-identical throughput, minimal overhead
277279
- **Performance:** 4,142 msg/s sustained (only -2.47% vs direct)
278280
- **Latency:** +9ms average (acceptable for most IoT use cases)
279-
- **Reliability:** 0% message loss
281+
- **Reliability:** 0% message loss in tests
280282

281-
**General Purpose MQTT (Mixed QoS)**
282-
- **Rationale:** Minimal overhead (1-4%), excellent reliability
283+
**General Purpose MQTT (Mixed QoS)** _(alpha validation shows potential)_
284+
- **Rationale:** Minimal overhead (1-4%), excellent reliability in tests
283285
- **Performance:** 1,609 msg/s QoS 1 with 26ms latency overhead
284-
- **Reliability:** 100% success rate, 0% message loss
286+
- **Reliability:** 100% success rate, 0% message loss in tests
285287
- **Use Cases:** Command & control, telemetry, notifications
286288

287-
**High Connection Scenarios**
288-
- **Rationale:** Identical connection handling to EMQX
289+
**High Connection Scenarios** _(alpha validation shows potential)_
290+
- **Rationale:** Identical connection handling to EMQX in tests
289291
- **Performance:** 67.72 conn/s gradual, 150 burst with 0 failures
290-
- **Reliability:** 100% success rate
292+
- **Reliability:** 100% success rate in tests
291293
- **Use Cases:** Large device fleets, multi-tenant systems
292294

293-
**Concurrent Publishers**
294-
- **Rationale:** Reliable handling of multiple simultaneous publishers
295+
**Concurrent Publishers** _(alpha validation shows potential)_
296+
- **Rationale:** Reliable handling of multiple simultaneous publishers in tests
295297
- **Performance:** 60,762 msg/s aggregate publish rate
296-
- **Reliability:** 0% message loss with 10 concurrent publishers
298+
- **Reliability:** 0% message loss with 10 concurrent publishers in tests
297299
- **Use Cases:** Multi-sensor systems, distributed data collection
298300

299301
### ⚠ Consider Direct EMQX For
@@ -317,7 +319,7 @@ latency = (receive_time - send_time) * 1000 # milliseconds
317319

318320
## Conclusion
319321

320-
AegisGate demonstrates production-ready performance as an MQTT proxy:
322+
AegisGate demonstrates strong performance characteristics for an alpha MQTT proxy:
321323

322324
### Strengths
323325

@@ -336,7 +338,9 @@ AegisGate demonstrates production-ready performance as an MQTT proxy:
336338

337339
### Overall Assessment
338340

339-
Proxy overhead is minimal (0-4% throughput impact) and predictable (9-26ms latency increase). Performance characteristics are well-suited for production deployment in scenarios where authentication, authorization, and centralized control justify the small overhead cost.
341+
Proxy overhead is minimal (0-4% throughput impact) and predictable (9-26ms latency increase). These benchmark results validate the core architecture and suggest the approach is viable for future production use in scenarios where authentication, authorization, and centralized control justify the small overhead cost.
342+
343+
> **Note:** This is an alpha release (v0.1.0-alpha). While performance is promising, the software is not yet recommended for production deployment.
340344
341345
**Key Insight:** The overhead is not from inefficiency—it's the inherent cost of an additional network hop and protocol translation. AegisGate performs this role efficiently with no unnecessary penalties.
342346

benchmark/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ pip3 install paho-mqtt requests
6464
| QoS 1 P99 Latency | 197.49ms | 152.69ms | +44.80ms |
6565
| Message Loss | 0% | 0% | Perfect |
6666

67-
AegisGate demonstrates production-ready performance with minimal proxy overhead.
67+
AegisGate demonstrates promising performance for an alpha release, with minimal proxy overhead.
68+
69+
> **Note:** This is an alpha release (v0.1.0-alpha). These benchmarks validate the core proxy architecture, but the software is not yet recommended for production use.
6870
6971
**Last Updated:** March 2, 2026 15:47 IST

0 commit comments

Comments
 (0)