Most sandboxes in CodeSandbox are stored in a Postgres database.
40M sandboxes and 400M files stored in Postgres, and we still have performant load times.
When going with Postgres, I thought "this is the first thing we'll have to replace". Still didn't happen after 6 years 🤷
In 2020 Figma started hitting growing pains with their single managed Postgres database.
That means they managed to grow to a $2B company on a single mged instance.
I bet at they hired engineers around this time who grumbled about not picking a more ‘scalable’ tech.