Redis

dlock - package for distributed locks

2020-07-08

I’ve uploaded a package for distributed locks. It’s called dlock. At the moment, it supports using Kubernetes’ LeaseLock object and Redis. You might find it useful.

Distributed-Locks · K8s · K8slock · Leaselock · Redis · Redislock

1 minute

Using kettle library for master election using distributed locking

2019-06-05

I uploaded a simple library that abstracts the use of distributed locking to elect a master among group of workers at a specified time interval. It’s called kettle. You can find the source code here. We’ve been using this library mostly on these two recurring use case patterns: Consuming a dynamodbstreams endpoint across multiple containers running in Kubernetes. In this case, the master tracks the dynamic addition/removal of shards of a specific endpoint and distributes those shards to the other worker containers.

Distributed-Locking · Master · Redis · Worker

1 minute