Difference between tick timestamp & server timestamp

abhi_shah
Hi @sujith @rakeshr

We have been noticing a difference between tick timestamp & server timestamp for the past few days.
Sometimes the difference is upto 16 seconds.

Following are a few log entries:
server timestamp, tick timestamp, diff ms, symbol
1649140832764, 1649140827000, 5764, NIFTY BANK
1649140832774, 1649140828000, 4774, NIFTY 50

Due to this, we are having issues with actions that are based on feed timestamp.

Our servers are time synchronised.
Following is the timedatectl output:
Local time: Tue 2022-04-05 11:42:44 UTC
Universal time: Tue 2022-04-05 11:42:44 UTC
RTC time: Tue 2022-04-05 11:42:45
Time zone: Etc/UTC (UTC, +0000)
System clock synchronized: yes
systemd-timesyncd.service active: yes
RTC in local TZ: no

Please let me know if you need anything else to debug this.
  • rakeshr
    Are you blocking the main ticker thread? This thread explains more.
  • abhi_shah
    No, we're not blocking the main ticker thread
  • abhi_shah
    The highlighted issue is a recent issue. If the main ticker thread was blocked, then we'd face this issue since the beginning. But seeing this only since a week
  • rakeshr
    Can you DM your client_id and instrument token detail on which you are seeing this timestamp discrepancy? As we are not able to reproduce the same at our end.
  • abhi_shah
    Have DMed you some client ids
Sign In or Register to comment.