You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.
@cyanidee and me have decided to stress test Shiro. We have used the following:
102 successful login tries
100ms pause between the hits
Shiro was able to correctly process all 102 login tries for about 20 seconds before resulting in a segmentation fault.
This means that Shiro was able to process (102 * (20 * (1000 / 2))) = 1'020'000 login retries within 20 seconds perfectly without any hiccups. The CPU and RAM usage was not measured as my system monitor didn't update fast enough to notice any major difference to before hitting.
Now this is already a great number considering Ripple, the most widespread cho-protocol implementation server, crashes with just 5 successful tries every second within 20 seconds (tested by @cyanidee).
To prevent further crashes by running out of memory, implementation of rate limit is suggested.
The text was updated successfully, but these errors were encountered:
@cyanidee and me have decided to stress test Shiro. We have used the following:
Shiro was able to correctly process all 102 login tries for about 20 seconds before resulting in a segmentation fault.
This means that Shiro was able to process (102 * (20 * (1000 / 2))) = 1'020'000 login retries within 20 seconds perfectly without any hiccups. The CPU and RAM usage was not measured as my system monitor didn't update fast enough to notice any major difference to before hitting.
Now this is already a great number considering Ripple, the most widespread cho-protocol implementation server, crashes with just 5 successful tries every second within 20 seconds (tested by @cyanidee).
To prevent further crashes by running out of memory, implementation of rate limit is suggested.
The text was updated successfully, but these errors were encountered: