cal.com icon indicating copy to clipboard operation
cal.com copied to clipboard

Extreme long build times on Vercel

Open sebiweise opened this issue 1 year ago • 4 comments

Issue Summary

We have the problem, that the build/deployment on Vercel is taking way to long. On average 14 minutes. Did we configure something wrong or do we miss some tweaks?

Steps to Reproduce

  1. Self host on Vercel

Any other relevant information. For example, why do you consider this a bug and what did you expect to happen instead?

Actual Results

  • Really slow builds

Expected Results

  • Quick build

Technical details

  • Vercel deployment
  • Vercel postgres setup and ready

Evidence

image

sebiweise avatar Feb 18 '24 17:02 sebiweise

You have not misconfigured anything it sounds like. This is how long builds take for a code base of our size at the moment.

keithwillcode avatar Feb 20 '24 07:02 keithwillcode

Ok but I also have some poor loading time in the app itself, could this be related to my Vercel Postgres db?

sebiweise avatar Feb 20 '24 07:02 sebiweise

Ok but I also have some poor loading time in the app itself, could this be related to my Vercel Postgres db?

Hard to say. We don’t use Vercel’s Postgres DB. We’ve gotten the app to run quite quickly on Vercel otherwise.

keithwillcode avatar Feb 23 '24 01:02 keithwillcode

Ok but I also have some poor loading time in the app itself, could this be related to my Vercel Postgres db?

Hard to say. We don’t use Vercel’s Postgres DB. We’ve gotten the app to run quite quickly on Vercel otherwise.

I've just moved our DB to a DigitalOcean cluster and it has improved the load times a little. Would you mind sharing which provider or where you host your DB?

sebiweise avatar Feb 23 '24 08:02 sebiweise