Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    Abnormal Slowness on API Requests today

    Test
    4
    18
    55
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      StocksDeveloper @admin last edited by

      @admin Any update on this? So that we can inform clients accordingly?

      1 Reply Last reply Reply Quote 0
      • C
        crorepathi @admin last edited by

        @admin We are loosing clients as subbroker because of this issue..Fix it asap

        1 Reply Last reply Reply Quote 0
        • S
          StocksDeveloper @admin last edited by

          @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.
          
          1 Reply Last reply Reply Quote 0
          • C
            crorepathi @admin last edited by

            @admin Issue is not yet fixed..If I fire 10 orders..They take 30 seconds to finish...

            A 1 Reply Last reply Reply Quote 0
            • A
              admin @crorepathi last edited by admin

              HI @crorepathi kindly share your client id.

              A 1 Reply Last reply Reply Quote 0
              • A
                admin @admin last edited by

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

                S 2 Replies Last reply Reply Quote 0
                • S
                  StocksDeveloper @admin last edited by

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

                  1 Reply Last reply Reply Quote 0
                  • S
                    StocksDeveloper @admin last edited by StocksDeveloper

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

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      StocksDeveloper @StocksDeveloper last edited by StocksDeveloper

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

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        admin @StocksDeveloper last edited by

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

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          StocksDeveloper @admin last edited by

                          @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?

                          1 Reply Last reply Reply Quote 0
                          • A
                            admin last edited by

                            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.

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post