Habibullah Bahar
Habibullah Bahar
CCConvex Community
Created by Habibullah Bahar on 4/24/2025 in #support-community
High Latency in Queries from Convex DB (1.5s per Request)
I hope you're doing well. Could you please let me know if you're available for just 5–10 minutes? It would be extremely helpful for us to make the right decision regarding the database provider for our project. If Convex can meet our needs, we're ready to move forward with the Pro plan. However, if it doesn't align with our requirements, we'll need to explore other options. We’re at a decision-making point, and a quick conversation would really help us move forward confidently. Thank you!
17 replies
CCConvex Community
Created by Habibullah Bahar on 4/24/2025 in #support-community
High Latency in Queries from Convex DB (1.5s per Request)
Yes, the query does have an index, and the 126ms shown in the dashboard reflects only the server-side execution time. However, in practice, it's taking around 2885ms to complete the process. I'm using the Convex HTTP client to first fetch the current user, perform some validation, and then fetch the list of users—both via separate Convex HTTP client requests. So while the function itself executes quickly, the total round trip time is significantly higher due to multiple Convex HTTP client calls and associated overhead. If you're open to it, I'd love to hop on a quick 5-minute video call. I can walk you through the code and show exactly how I'm using the Convex client — it might help clarify the issue better.
17 replies
CCConvex Community
Created by Habibullah Bahar on 4/24/2025 in #support-community
High Latency in Queries from Convex DB (1.5s per Request)
In convex dashboard I can see it is showing only 126ms but, I shared with you a screenshot, how I am calculating the execution time of convex function using convex http client. Please take a look on the above codes as well and let me suggest a better way. or you have a time for a quick call, I can show you my code on the call properly.
17 replies
CCConvex Community
Created by Habibullah Bahar on 4/24/2025 in #support-community
High Latency in Queries from Convex DB (1.5s per Request)
Are you asking this?
17 replies
CCConvex Community
Created by Habibullah Bahar on 4/24/2025 in #support-community
High Latency in Queries from Convex DB (1.5s per Request)
No description
17 replies
CCConvex Community
Created by Habibullah Bahar on 4/24/2025 in #support-community
High Latency in Queries from Convex DB (1.5s per Request)
Here I added few screenshots how I am calculating the time of executing a function.
17 replies
CCConvex Community
Created by Habibullah Bahar on 4/24/2025 in #support-community
High Latency in Queries from Convex DB (1.5s per Request)
No description
17 replies
CCConvex Community
Created by Habibullah Bahar on 4/24/2025 in #support-community
High Latency in Queries from Convex DB (1.5s per Request)
Just to confirm — as a developer using the free plan: Is there anything I can do from my side to reduce the query response time (e.g., optimizing functions, reducing payloads, or upgrading the plan)? And if I upgrade, will I get access to region selection or better latency for apps hosted outside the US?
17 replies