Open Hackatosh opened 9 months ago
@Hackatosh maybe try creating seperate redis connection while calling xadd using connection.duplicate().xadd()
It works for me
@shivanshtalwar I don't think it will be acceptable for performance : each time we will push data to redis streams, we will need to open a new connection. We need to have something very fast for our outbox
Hello !
On our production environnement, we have a process that regularly polls data from a database and put the data inside Redis Streams using XADD commands (we use a transactionnal outbox pattern). In some case, this process seems to get stuck. We suspect that the process get stuck while issuing the XADD commands.
Redis version :
6.2.12
ioredis version :5.3.2
NodeJS version :18.15.0
Settings of our ioredis connection includes :
Do you have any ideas how we can solve this issue ?