-
Notifications
You must be signed in to change notification settings - Fork 266
Stress Test #277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
First, can I ask you what size of contest you were running: how many teams, how many submissions, how many judgehosts did you have? a. Which specific mysql settings are you referring to? Note that already a couple of relevant ones are checked on the "config check" page in the admin webinterface. What kind of stress test would you propose? |
a. They were "max_error_counts" and "max_allowed_packet" in mysql. I had to modify the default value as of approximately 10-15 teams, 100-150 submissions, 2 judgehosts. In my experience, the communication between server and hosts often became the bottleneck. It would be better to do stress-test by inserting mock submissions and judgings and checking whether DBMS can tolerate the size of those requests. The stress-test is literally stressful. Why don't we do that before the releases and give users just the figures in the documentation? |
See https://github.com/ubergeek42/domjudge-gatling for a way to stress test a DOMjudge instance. |
As running a contest, the critical errors related to "scalability" have arisen. It would be much better to help the users to find potential problems.
For example,
a. Receiving the hundreds of submissions, the judgehosts cannot handle the huge size of judging list due to the default value of the limitation in mysql.
b. Memory is not sufficient so that connections pool would suffer from starvation as the contest is getting hot.
c. Judgehosts keep the judgings in the local disk storage and the amount would easily go up to gigabytes. I had to resize the disk and reboot the system during the contest.
Unless we prepare the stress test, these kinds of critical errors which would have very bad and irreversible effects on the ongoing contest are really difficult to be found.
The text was updated successfully, but these errors were encountered: