Abnormal Slowness on API Requests today
-
Hi,
Is there any issue? It is taking unusually long for the API requests causing major slowness.
Please investigate at the earliest.
-
HI @StocksDeveloper said in Abnormal Slowness on API Requests today:
@admin We can confirm that the performance is back to normal today.
Thanks a lot for your efforts.OK. we will update you on the same.
-
@admin We can confirm that the performance is back to normal today.
Thanks a lot for your efforts.
If you could please share some light on what was the issue & any precautions to avoid this in future?
-
HI @StocksDeveloper we have noted this we will update you soon after investigating it.
-
@StocksDeveloper I had a long discussion with Yatish from Angel & here are our findings:
- The delays are likely happening outside of the code that calculates the amount of time taken to process a request
- The delays are happening randomly & most likely for all API requests
- On normal days your apis would take 0.2 to 0.4 seconds maximum. But since this issue started they are taking 1 second to 26 seconds etc.
- As this is happening for most of the API calls randomly... It means this is not a code issue; but rather this issue has to do with one of your components (Network, Database, Servers, internal services etc.)
Please take this into consideration for your investigation.
-
The performance seems all over the place...see below:
Took 6.3 seconds to place the order:
2021-08-25 09:38:28.008 DEBUG 9599 --- Placing order: [TTVP1009 : TTVP1009] - Order [TTVP1009,REGULAR,NFO,BANKNIFTY26AUG2135800CE,INTRADAY,SELL,STOP_LOSS,Qty: 100,Prc: 150.0,Trig Prc: 190.0,ID: b95de6ab-ae48-4ecd-8a16-ecd0c3e9a4ab] 2021-08-25 09:38:34.338 DEBUG 9599 --- Order placed: [TTVP1009 : TTVP1009] - 210825000140856
Took 1 second to place the order:
2021-08-25 10:51:46.363 DEBUG 9599 --- Placing order: [TTVP1009 : TTVP1009] - Order [TTVP1009,REGULAR,NFO,NIFTY26AUG2116400CE,INTRADAY,BUY,MARKET,Qty: 200,Prc: 0.0,Trig Prc: 0.0,ID: 7647cf8a-d846-48ee-ab75-969ca3e36718] 2021-08-25 10:51:47.370 DEBUG 9599 --- Order placed: [TTVP1009 : TTVP1009] - 210825000344025
If the problem was with our code then the delay would always be more or less the same.
-
@admin We are also doing investigation on our side. We will let you know if we have any findings.
-
HI @crorepathi @pritamkat @StocksDeveloper Our team is working on this on priority we appreciate your patience.
-
HI @crorepathi kindly share your client id.
-
@admin Issue is not yet fixed..If I fire 10 orders..They take 30 seconds to finish...
-
@admin Today also there is same delay.
1 second for login
27 seconds for re-generating the tokens2021-08-25 09:07:10.576 INFO 18755 --- Logging into account: [vivekangel : CCGJ1093] 2021-08-25 09:07:11.665 DEBUG 18755 --- [vivekangel : CCGJ1093]: Sucessfully logged into to Angel. 2021-08-25 09:07:38.999 DEBUG 18755 --- [vivekangel : CCGJ1093]: Sucessfully re-generated access token from Angel.
-
@admin We are loosing clients as subbroker because of this issue..Fix it asap
-
@admin Any update on this? So that we can inform clients accordingly?
-
@admin can u guys plz do something for this,facing issue from morning ,still the same , its not good for long run , will started shifting my clients to another broker, if it takes time like this
What to say -
HI @StocksDeveloper We are working on it on priority.
-
@admin This is complete performance analysis TODAY vs YESTERDAY
TODAY
3 seconds for login
26 seconds for re-generating the tokens?2021-08-24 09:37:36.257 --- Logging into account: [vivekangel : CCGJ1093] 2021-08-24 09:37:39.354 --- [vivekangel : CCGJ1093]: Sucessfully logged into to Angel. 2021-08-24 09:38:06.456 --- [vivekangel : CCGJ1093]: Sucessfully re-generated access token from Angel.
YESTERDAY
less than 1 second for login
few milliseconds for re-generating the tokens2021-08-23 11:51:43.622 --- Logging into account: [vivekangel : CCGJ1093] 2021-08-23 11:51:44.422 --- [vivekangel : CCGJ1093]: Sucessfully logged into to Angel. 2021-08-23 11:51:44.428 --- [vivekangel : CCGJ1093]: Sucessfully re-generated access token from Angel.
-
@admin It started approximately from 9:20 am I believe...
-
HI @StocksDeveloper We will test it and update asap.