Skip to content

Add PDC concepts and performance stress test analysis documentation#20

Merged
dnjstr merged 3 commits into
mainfrom
docs/pdc-performance-analysis
May 7, 2026
Merged

Add PDC concepts and performance stress test analysis documentation#20
dnjstr merged 3 commits into
mainfrom
docs/pdc-performance-analysis

Conversation

@6reenhorn
Copy link
Copy Markdown
Owner

This pull request introduces comprehensive documentation and testing improvements for the QueueLess backend, focusing on the application of Parallel and Distributed Computing (PDC) concepts and providing detailed stress test analysis. It also adds a robust Locust-based load testing script and a minor fix to the mock data seeding logic. These changes collectively enhance the transparency, reliability, and testability of the system.

Documentation of PDC Concepts and System Design:

  • Added PDC_CONCEPTS.md, which clearly explains how core PDC concepts (client-server architecture, distributed messaging, concurrency control, distributed throttling, distributed system simulation, and stress testing) are applied in the QueueLess backend, with code pointers for each concept.

Performance and Stress Test Analysis:

  • Introduced Test_Analysis.md, providing a detailed report on Locust-based load testing results, including key metrics, observations on distributed throttling, scalability, graceful degradation, and recommendations for production deployment.

Testing and Load Simulation:

  • Added locust_tests/locustfile.py, a realistic Locust test script that simulates user behaviors such as joining queues, checking status, and browsing institutions, enabling reproducible stress testing of the API under concurrent load.

Data Seeding Logic Fix:

  • Updated the mock data seeding command to ensure that institutions marked as "CLOSED" have their queue entries deleted and are skipped from further processing, improving the accuracy of test data.

@dnjstr dnjstr merged commit a58726b into main May 7, 2026
2 checks passed
@6reenhorn 6reenhorn deleted the docs/pdc-performance-analysis branch May 7, 2026 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants