Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 523 Bytes

ReadMe.md

File metadata and controls

11 lines (7 loc) · 523 Bytes

PostgreSqlDistributedLock

This project demonstrate how you can create a Distributed Lock in PostgreSQL. Please refer to my blog post post to follow the code.

Pre-requisites to run the tests

  • Docker

Steps to run the tests

  • Create a sample PostgresSQL database using below command:

docker run --name distributed-lock-test -e POSTGRES_USER=dbUser -e POSTGRES_DB=distributed-lock-db -e POSTGRES_PASSWORD=password -p 5432:5432 -d postgres