AlphaOmega
AlphaOmega2w ago

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
Convex Bot
Convex Bot2w ago
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!
erquhart
erquhart2w ago
Any chance you have more data in production than dev? Scanning in queries will take longer as the number of scanned records increases.
AlphaOmega
AlphaOmegaOP2w ago
No I actually have less
erquhart
erquhart2w ago
Hmm that's odd. Are the times in the dashboard logs actually higher or is this in the round trip to your client
jamwt
jamwt2w ago
agree, if you can share some log output or something from one vs. the other, that would be helpful

Did you find this page helpful?