I did a bunch more optimisations and stuff as well! I think the biggest factor w...

@hexaitos@social.jnpw.net

I did a bunch more optimisations and stuff as well! I think the biggest factor was adding another worker and using a multi-worker Puma setup. But the new DB indices and a few other smaller things (such as some PRAGMAs I set) also helped!

This was with a Locust script with five somewhat heavy users! So not really a high load and you can see the old version struggled a ton even with such a low load :alice_nervous:

I still have to look into that failure rate! It only happens on my guessing game so I think there's some session handling problems there when several people are using it simultaneously.

I also did a 200 user test and the difference was even more stark there ☠️