Do Not Use! This is a WIP
Stack Logic
- Vercel
- PlanetScale
- database-js
- Fetch API-compatible PlanetScale database driver.
- This allows for using edge functions. Since Sveltekit uses Fetch-API on backend as well, this is perfect.
FAQ
But what about speed?
If you need speed for a specific task, add a message queue, write a consumer in Go / Rust, and let that crunch the data asynchronously at bare metal speeds. RabbitMQ, Soketi, Pocketbase are common solutions for this.
TODO:
- setup planetscale integration
- test orm
- find ui for viewing database
- learn more about edge functions
- figure out how sign-up works