New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CAL-119] Initial rendering of calendar takes 3-5 seconds! #4535
Comments
can you post the link here? |
Update from @emrysal
|
We also experience this issue. A lot. @Jaibles |
we have an ongoing task to improve performance of this. the main issue is that the cold boot of serverless functions is slow. this gets better if your app is used more frequenlty -- i know not a perfect solution. we're trying to find a way to do this without cold boot |
note to self: https://cal.com/peer/30min is faster, surprisingly |
What API is it using? What file? Random guess: https://github.com/calcom/cal.com/blob/main/apps/web/pages/api/book/event.ts You might consider using Edge API Routes, which will help you get faster cold startups: https://nextjs.org/docs/api-routes/edge-api-routes export const config = {
runtime: 'edge',
}
export default async function handler(req: Request) {
return new Response()
} But I think would need to verify this is possible with |
the
|
Woah.
https://github.com/prisma/prisma/releases/tag/4.8.0 You might want to update! (Assuming this API route uses Prisma) |
well 3 seconds is still better than 5 to 10 seconds (which we have seen too) |
anyone interested in this, we're making a bit of progress. stay tuned.🙏 |
we have identified that one of the slowness reasons is a slow caldav server for the affected users. we can still improve prisma and cold boots tho |
/bounty $1000 per second |
💎 $1,000.00 bounty created by PeerRich |
@PeerRich I have an idea that could solve this, i will submit a pull request soon. |
💡 roae submitted a pull request that claims the bounty |
@roae cal wants to reward your solution. Please sign up on Algora, link your Github account and connect with Stripe on your dashboard. |
roae has completed their onboarding. You can now complete the payment on your org dashboard |
🎉🎈 @roae has been awarded $1,000! 🎈🎊 |
we ended up hiring @roae 🙏 |
@timfee we just released Data Proxy. Can you verify if it's still slow? |
See attachment. Still seems like it's a bit slow, but better than before! Upload.from.GitHub.for.iOS.MOV |
See image -- on a fast connection, with a single calendar configuration -- painfully slow.
The text was updated successfully, but these errors were encountered: