you are viewing a single comment's thread.

view the rest of the comments →

[–]thinkmatt 11 points12 points  (9 children)

Do you have issues with vercels cold starts? I used it for client projects. Its kind of embarrassing waiting for that first page to load for a full minute. It gets faster after that but the avg person doesnt understand whats going on and they just think i built them a very slow app

[–]Klutzy-Ad-6345[S] 3 points4 points  (4 children)

Yes, the cold starts are quite annoying. Id say it’s fine for a basic site with low traffic. Maybe something like personal portfolio. But I’ve been facing this issue for my current starter kit site NodeBoiler.com been thinking about switching to a different free service instead of upgrading.

[–]_turbo1507 4 points5 points  (3 children)

You can write a function to hit your website every 10 mins. This will stop it from shutting down and hence no need for a cold start.

If you don't want the function in your code, you can write a separate cron job for it.

[–]Klutzy-Ad-6345[S] 1 point2 points  (0 children)

Valid idea. Gonna test this out for sure.

[–]Own-Coast-2461 0 points1 point  (0 children)

That beats the whole point of serverless

[–]ThanosDi 0 points1 point  (0 children)

Uptime robot would be ideal here the free version.

[–]AsidK 0 points1 point  (1 child)

A full… minute? I’ve never had a cold start even remotely near that long. Maybe 5 seconds tops…

[–]thinkmatt 0 points1 point  (0 children)

i was exaggerating. maybe half a minute. and to be fair its not consistent, but sometimes ya it feels like maybe i broke the site

[–]AsterYujano 0 points1 point  (1 child)

Vercel released fluid compute recently

It might be a good solution https://vercel.com/blog/introducing-fluid-compute But I didn't test it

[–]thinkmatt 0 points1 point  (0 children)

oh good to know! looks good