liberapay / liberapay.com

Source code of the recurrent donations platform Liberapay
https://liberapay.com/
1.66k stars 213 forks source link

Stress testing #1917

Open Changaco opened 3 years ago

Changaco commented 3 years ago

It could be useful if this repository contained a script to flood a local instance of the Liberapay app with lots of requests in order to detect issues like memory leaks (#1916) and server errors (5XX HTTP responses).

bobbbay commented 3 years ago

Heyo, I'd be interested in taking up this issue to write some scripts - is there a preffered programming language? I see Liberapay is written in Python, but maybe you'd want another language like Go, Rust or C? (to make use of multithreading or get rid of the "slowness" of Python).

Cheers!

Changaco commented 3 years ago

The script should preferably be written in Python, using the multiprocessing module to fully exploit the machine's cores.