Unusual request time spike

Hi, I received an alert saying I have crossed 75% of my request time but in analytics I see that most of it coming from 2 customers and specifically related to sync. Is this normal? Are their ways to optimize sync?
No description
13 Replies
Gaurav Agarwal
Gaurav AgarwalOP•5mo ago
Usually it's ~15hrs on a day but on 19th it crossed 50hrs
No description
No description
Gaurav Agarwal
Gaurav AgarwalOP•5mo ago
Hi @Chocci_Milk - can you please help me on this or point me to the right person? Thank you
Chocci_Milk
Chocci_Milk•5mo ago
Could you please share the email associated with your account?
Gaurav Agarwal
Gaurav AgarwalOP•5mo ago
Gaurav.agarwal1904@gmail.com
Chocci_Milk
Chocci_Milk•5mo ago
Your average request time per action was 184ms which is quite low. That suggests that this is legitimate traffic. Have you tried counting to see how many records are in the database for the top two shops? Specifically the discount and customer models.
No description
No description
No description
Gaurav Agarwal
Gaurav AgarwalOP•5mo ago
oh let me check.. is there a dashboard or link where I can check these easily? like how much data etc? and also the above graph that you posted? Is there a way to connect a postgres tool to gadget db and run queries?
Chocci_Milk
Chocci_Milk•5mo ago
You'd need to make a computed field from a parent model to do a count. So in your case make a computed field on ShopifyShop and count the discount records We have a feature coming out called Computed Views which will allow you to make more dynamic queries like this but there's currently no way to connect directly to the DB
Gaurav Agarwal
Gaurav AgarwalOP•5mo ago
Got it, thanks @Chocci_Milk
Chocci_Milk
Chocci_Milk•5mo ago
No problem. Let us know if you need any more help If you'd like to be added to that beta let us know. We currently have about 5-6 people in it and feedback would be very helpful
Gaurav Agarwal
Gaurav AgarwalOP•5mo ago
Yes if possible please do add me to the beta 🙂
Chocci_Milk
Chocci_Milk•5mo ago
I see that you have a team member on your account, could you please share their Discord username so I can add them too? I've added you to the beta channel. Give me a moment to add your app to the beta The app has been added to the beta
Gaurav Agarwal
Gaurav AgarwalOP•5mo ago
Thanks. Will check it out tomorrow morning for sure. Its okay not to add my team member for now. Thanks
Chocci_Milk
Chocci_Milk•5mo ago
FYI, docs are pinned to the beta channel

Did you find this page helpful?