-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Labels
💻 aspect: codeConcerns the software code in the repositoryConcerns the software code in the repository🛠 goal: fixBug fixBug fix🟧 priority: highStalls work on the project or its dependentsStalls work on the project or its dependents
Description
Description
The website experienced a performance degradation during a load test, which revealed vulnerabilities to distributed denial-of-service (DDoS) attacks. Multiple socket errors and timeouts occurred when handling a high volume of simultaneous connections. To improve performance and ensure service stability, rate limiting should be implemented to mitigate DDoS attacks and excessive load.
Reproduction
- Simulate a high number of concurrent connections (e.g., 3000 connections).
- Use a load testing tool like
wrk
to generate requests for an extended period. - Observe increasing latency, socket errors, and request timeouts as the server fails to handle the load.
- See error.
Expectation
The website should handle traffic efficiently with reduced latency, no socket errors, and minimal timeouts. It should also include mechanisms like rate limiting to prevent excessive requests from overloading the server.
Environment
- Device: MacBook Air (M3 16gigs)
- OS: macOS
- Browser: All (test done via command-line tool wrk)
- Version: N/A
- Other info: Load testing with wrk -t12 -c3000 -d5m https://paste.fosscu.org
Metadata
Metadata
Assignees
Labels
💻 aspect: codeConcerns the software code in the repositoryConcerns the software code in the repository🛠 goal: fixBug fixBug fix🟧 priority: highStalls work on the project or its dependentsStalls work on the project or its dependents