Document "Cold starts" for Accelerate
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").
What causes this behavior?
I have been running into this a lot - what can be done about it?
@tylerwithpin @curately could I ask what DB engines/providers you're using?
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.
@jharrell
MongoDB hosted on Atlas, as well
@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 š
Thanks @nurul3101
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 š