docs icon indicating copy to clipboard operation
docs copied to clipboard

Document "Cold starts" for Accelerate

Open nikolasburk opened this issue 2 years ago • 2 comments

We regularly have users who are confused about cold starts of Accelerate and individual queries taking 5-6 randomly. We should document this behaviour in the Accelerate docs (maybe under "Limitations").

nikolasburk avatar Dec 06 '23 09:12 nikolasburk

What causes this behavior?

tylerwithpin avatar May 20 '24 17:05 tylerwithpin

I have been running into this a lot - what can be done about it?

curately avatar Jun 24 '24 11:06 curately

@tylerwithpin @curately could I ask what DB engines/providers you're using?

jharrell avatar Jul 12 '24 13:07 jharrell

Hi, I’m using mongoDB hosted on Atlas.

Best, Chris

On 12 Jul 2024, at 14:30, Jon Harrell @.***> wrote:

@tylerwithpin https://github.com/tylerwithpin @curately https://github.com/curately could I ask what DB engines/providers you're using?

— Reply to this email directly, view it on GitHub https://github.com/prisma/docs/issues/5523#issuecomment-2225597317, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3RZDTBFCFQCFCLOSSYCPMTZL7LAZAVCNFSM6AAAAABAJBC6K6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRVGU4TOMZRG4. You are receiving this because you were mentioned.

curately avatar Jul 12 '24 13:07 curately

@jharrell

MongoDB hosted on Atlas, as well

tylerwithpin avatar Jul 12 '24 16:07 tylerwithpin

@curately @tylerwithpin

This issue is caused due to a bug in MongoDB Rust Driver. We have reported the bug with all the details here: https://github.com/mongodb/mongo-rust-driver/issues/1170

MongoDB team has acknowledged the bug and created a Jira issue here: https://jira.mongodb.org/browse/RUST-1994

We are in touch with the MongoDB team and are taking measures to expedite this šŸ™

nurul3101 avatar Jul 18 '24 08:07 nurul3101

Thanks @nurul3101

indie-ridge-dev avatar Jul 18 '24 13:07 indie-ridge-dev

The cold start issue with MongoDB + Accelerate should be fixed in prisma version 5.19.0.

Please upgrade to version 5.19.0 to try out the fix šŸ™

nurul3101 avatar Aug 27 '24 15:08 nurul3101