samcook / RedLock.net

An implementation of the Redlock algorithm in C#
MIT License
947 stars 167 forks source link

Can it be used with single Redis? #71

Closed ggeorgop closed 4 years ago

ggeorgop commented 4 years ago

Is it possible to start with one Redis instance and then proceed to a clustered architecture? Can the library work unobtrusively or are changes reqauired?

samcook commented 4 years ago

Yes it will work with a single redis instance just fine (obviously without any resiliency to failure of that instance, but locking will work nonetheless).