distributed

command
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2026 License: MIT Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL