Merged
Conversation
…enarios - k6 HTTP: 4 scenarios (dashboard_polling, admin_ops, mixed_workload, spike_resilience) with infrastructure-derived thresholds - MQTT pipeline: 3 scenarios (normal, rush_hour, burst) with PipelineVerifier using /api/v1/detections/statistics/ and RabbitMQ Management API for end-to-end verification
- load-test-plan.md: hypothesis-driven test framework with 7 scenarios, capacity calculations, and execution guide - performance-analysis.md: comprehensive results from k6 HTTP (4 scenarios, all thresholds PASS) and MQTT pipeline (3 scenarios, OCR bottleneck identified at ~0.06 msg/s)
Add close_old_connections() before DB operations in the long-running MQTT subscriber thread to prevent stale connection errors.
Edge devices publish directly to RabbitMQ (MQTT plugin), not to Django. Django subscribes from RabbitMQ, not receives from edge devices.
# Conflicts: # core/mqtt/subscriber.py # docker/k6/mqtt-load-test.py
…ource config - Rewrite README.md as Software Design Document (Korean) - Enhance k6 load-test.js with improved scenarios and thresholds - Update mqtt-load-test.py with refined test parameters - Add 8 Grafana dashboard JSON provisioning files - Fix datasources.yml configuration
- Break long line (E501) by extracting variable - Remove unused f-string prefix (F541)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docs/load-test-plan.md)docs/performance-analysis.md)close_old_connections())Changed files
docker/k6/load-test.jsdocker/k6/mqtt-load-test.pydocs/load-test-plan.mddocs/performance-analysis.mdcore/mqtt/subscriber.pydocs/ARCHITECTURE_COMPARISON.mdTest plan