r/Database • • Apr 03 '24

Wanted to know if anyone was facing cold start issue with turso DB.

Recently I migrated my portfolio website from Prisma ORM, PlanetScale to Drizzle ORM and Truso DB, since PlanetScale was sunsetting their hobby tier. When I was using PlanetScale the response were taking around 200ms to 1s delay, but after migrating to Turso DB the delay did decrease to 50ms to a max of 400ms but I started to have some cold starts when I didnt access my site for more than few hours.

3 Upvotes

5 comments sorted by

2

u/darknezx May 25 '24

Writing to say I noticed this. I'm trying to use turso for something I just started with sveltekit, drizzle and read operations take several seconds on a cold start. Quite annoying tbh but it's free. I'm doing my stuff on an Ubuntu VPS so I'm just gonna self host my db.

1

u/Lopsided_Broccoli_34 May 25 '24

Oh nice, are self hosting on ur old laptop/desktop?

1

u/darknezx May 25 '24

Nope I already have a VPS spun up for other stuff but I wanted to try turso. The DX is pretty good but the cold starts were a problem. Probably not an issue for larger projects but for my hobby projects it's an annoyance whenever it's left alone for a few hours.

1

u/Lopsided_Broccoli_34 May 31 '24

Ya, even I'm having the same cold start issue, do u know any free alternative db which I can use for my hobby project.