issues
search
cap-js-community
/
event-queue
An event queue that enables secure multi-tenant enabled transactional processing of asynchronous events, featuring instant event processing with Redis Pub/Sub and load distribution across all application instances.
https://cap-js-community.github.io/event-queue/
Apache License 2.0
12
stars
1
forks
source link
Introduce acquire lock for broadcast events arriving via redis
#150
Closed
soccermax
closed
4 months ago
soccermax
commented
6 months ago
Only works for Redis. To be enabled by config (beta feature)
Broadcast function publish with a new uuid
uuid is going to be part of worker queue entry
here are two options:
if element is picked from the queue broadcast the delete to all instances
acquire a lock for the given UUID if available process if not skip
[only if option one is used] try to delete from worker queue
Only works for Redis. To be enabled by config (beta feature)