RedisTimeSeries / NRedisTimeSeries

.Net Client for RedisTimeSeries
https://redistimeseries.io
BSD 3-Clause "New" or "Revised" License
29 stars 12 forks source link

Pipelining of TS.ADD #39

Closed lhh31 closed 3 years ago

lhh31 commented 4 years ago

Version

1.3.0

Issue

Does the TS.ADD implement a pipelining mechanism to allow for higher throughput? Is using the Async mechanism analogous to pipelining, if so are there any examples on how to implement pipelining correctly?

gkorland commented 4 years ago

TS has an even more optimized way to push data see MADD. You can see an example here: https://github.com/RedisTimeSeries/NRedisTimeSeries/blob/master/NRedisTimeSeries.Test/TestAPI/TestMAddAsync.cs

AvitalFineRedis commented 3 years ago

Also, you can use the asynchronous methods for pipelining your requests :-)