We tried building a ticket system for selling tickets to nollor/phaddrar during the introduction period. Unfortunately it crashed immediately under load making it completely unusable.
To-do
Begin by investigating what is slowing down our application, for instance using tracing.
Original issue
This image is a quite accurate illustration of how we currently interact with the database. Unfortunately it's titled with "don't do this"...
Expected follow up: Read through this guide on how you should query the database in SvelteKit. Restructure the application to follow the recommended approaches.
After doing some investigation here it's still not entirely clear why the application performs poorly. Possible culprits are slow server hooks, poor database performance and blocking load functions.
Background
We tried building a ticket system for selling tickets to nollor/phaddrar during the introduction period. Unfortunately it crashed immediately under load making it completely unusable.
To-do
Begin by investigating what is slowing down our application, for instance using tracing.
Original issue
This image is a quite accurate illustration of how we currently interact with the database. Unfortunately it's titled with "don't do this"...
Expected follow up: Read through this guide on how you should query the database in SvelteKit. Restructure the application to follow the recommended approaches.
See also: https://www.captaincodeman.com/securing-your-sveltekit-app