Documentation
¶
Overview ¶
Distributed deployment: multiple instances share the same Redis. Only one instance (leader) advances the time wheel. All instances can Add/Pop/Finish.
Run two instances in separate terminals:
INSTANCE_ID=node-1 go run . INSTANCE_ID=node-2 go run .
Then add tasks from either instance — they share the same Redis.
Click to show internal directories.
Click to hide internal directories.