Abnormal Slowness on API Requests today


  • @admin Today also there is same delay.

    1 second for login
    27 seconds for re-generating the tokens

    2021-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 Issue is not yet fixed..If I fire 10 orders..They take 30 seconds to finish...


  • HI @crorepathi kindly share your client id.


  • HI @crorepathi @pritamkat @StocksDeveloper Our team is working on this on priority we appreciate your patience.


  • @admin We are also doing investigation on our side. We will let you know if we have any findings.


  • @admin

    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.


  • @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.


  • HI @StocksDeveloper we have noted this we will update you soon after investigating it.


  • @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 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.