Relative Content

Tag Archive for redisreal-time-dataredistimeseries

Redis TimeSeries TS.MADD delay

I am using node.js and Redis TimeSeries. I need to add real-time crypto trading data (around 300 coins) to Redis TimeSeries. The task must be completed within a few milliseconds. I am using the TS.MADD command with pipelining and TCP_NODELAY options. I have noticed that 99% of the data is added in less than 5 milliseconds, but one or two records experience a delay until the very end of the second (around 990 ms) before being added. System resources are utilized at less than 5%, everything is happening on the same server, so there is no network delays. I need to find out how to complete the entire TS.MADD task without this delay.