Hi,
is it possible to issue fire-and-forget Redis commands?
Something similar to this: https://github.com/StackExchange/StackExchange.Redis/blob/master/Docs/Basics.md#sync-vs-async-vs-fire-and-forget
Thanks in advance!
Closest thing is a Pipeline which can send commands as a batch without waiting for a response. This ends up being much faster than waiting for the I/O response after every command.
There are 2 API’s for using a pipeline:
A high-level using CreatePipeline(): https://github.com/ServiceStack/ServiceStack.Redis/blob/master/tests/ServiceStack.Redis.Tests/RedisPipelineTests.cs
And a lower level using CreatePipelineCommand():
https://github.com/ServiceStack/ServiceStack.Redis/blob/master/src/ServiceStack.Redis/RedisClient_List.cs#L83