competing-consumers

command
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

We have a table containing some entries, for each one we need to lock, do some work, then unlock the entry.

To illustrate a typical distributed solution we make a couple of competing consumers which get a list of entries and try and lock them to perform this work. If one of the works fails the other will take up the slack.

Jump to

Keyboard shortcuts

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