Betterconsolemc config docs start

This commit is contained in:
Jonas_Jones 2024-09-01 18:43:40 +02:00
parent 1f96b8fde1
commit 6cec6c4d1e
9 changed files with 221 additions and 2 deletions

View file

@ -0,0 +1,21 @@
---
sidebar_position: 8
---
# Performance Impact
McWebserver attempts to be as lightweight as possible.
An experiment shows that this is clearly the case. Even when the server is getting DDOSd and the website might not be available due to the high demand of the DDOS, the server still runs perfectly fine.
The following gif shows a DDOS script using 300 threads (300 simultaneous requests at the same time) and the servers MSPT (Milliseconds per Tick) only rises by about 2ms while under the DDOS attack.
![DDOS Test](https://cdn.jonasjones.dev/misc/mcwebserver-ddos-performance-impact.gif)
:::note
This isnt a scientific test and I wouldnt claim that the server can withstand a real DDOS attack. The results only give an idea of the performance impact under elevated load and demand.
The script used for the test can be found [here](https://github.com/JonasunderscoreJones/turbo-octo-potato/blob/main/localhost-ddos.py)
:::