Navigation

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

    Periodic latency spikes in websocket connection

    General Discussion
    0
    5
    39
    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.
    • T
      trader_noob last edited by

      I am connected to the websocket for data, but I have observed a weird issue that has started today only:
      Every 25 seconds or so, the websocket gets stuck and takes some delay to release the incoming data. Basically, the latency (local_time - exchange_time) suddenly spikes every 25 seconds.

      This has to be some server issue at your end, please check this and sort. As I said, this has started happening from today only.

      V M 2 Replies Last reply Reply Quote 0
      • V
        vivekjha05 @trader_noob last edited by

        @trader_noob I am seeing massive delay in the websocket now. Around 5-10 mins old data is streaming strangely.

        V 1 Reply Last reply Reply Quote 0
        • V
          vivekjha05 @vivekjha05 last edited by

          @vivekjha05 @admin @admin123

          M 1 Reply Last reply Reply Quote 0
          • M
            Moderator_1 @trader_noob last edited by

            Hello @trader_noob, @vivekjha05

            We will get this checked by our tech team and get back to you.

            Thank you.
            Regards
            SmartAPI Team

            1 Reply Last reply Reply Quote 0
            • M
              Moderator_3 @vivekjha05 last edited by

              Hello @vivekjha05
              Are you doing any data processing in the code while getting the data stream? Doing additional data processing in the might be causing the delay. Please do all the data processing only after the data has been received and modify your code accordingly.

              Regards,
              SmartAPI Team

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