# Distributed Locking with Redis

DevFeed: [Distributed Locking with Redis](<https://devfeed.tech/articles/distributed-locking-with-redis-37697.md>)

Original publisher: [Read original article](<https://carlosbecker.com/posts/distributed-locks-redis/>)

Author: Carlos Alexandro Becker

Published: 2017-03-04T00:00:00Z

Content type: article

Language: en

Sources: [Carlos Becker](<https://devfeed.tech/sources/carlos-becker.md>)

Topics: [locking](<https://devfeed.tech/topics/locking.md>), [Redis](<https://devfeed.tech/topics/redis.md>), [Microservices](<https://devfeed.tech/topics/microservices.md>), [Java](<https://devfeed.tech/topics/java.md>), [Server](<https://devfeed.tech/topics/server.md>), [Database](<https://devfeed.tech/topics/database.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>)

Tags: [database](<https://devfeed.tech/tags/database.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [java](<https://devfeed.tech/tags/java.md>), [locking](<https://devfeed.tech/tags/locking.md>), [microservices](<https://devfeed.tech/tags/microservices.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [redis](<https://devfeed.tech/tags/redis.md>), [security](<https://devfeed.tech/tags/security.md>), [server](<https://devfeed.tech/tags/server.md>)

## AI overview

This article describes ContaAzul's distributed locking mechanism for scheduled tasks running across multiple servers. It explains the earlier Hazelcast-based design and the operational issues that motivated re-implementation, while the title identifies Redis as the article's locking technology.

## Source excerpt

At ContaAzul, we have several old pieces of code that are still running in production. We are committed to gradually re-implement them in better ways.