Dev deployment is a lot faster than a production one
How come a dev deployment mutations and queries are faster than a production one, in dev it feels like a state update whereas a prod one is noticeably slower. Im using all convex standards in my functions, no ctx.run_, just old plain db interactions
5 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
Any chance you have more data in production than dev? Scanning in queries will take longer as the number of scanned records increases.
No I actually have less
Hmm that's odd. Are the times in the dashboard logs actually higher or is this in the round trip to your client
agree, if you can share some log output or something from one vs. the other, that would be helpful