Distributed Lock Manager (DLM) for .NET?
Asked Answered
B

4

11

I've been examining several DLM's but most of them are written in JAVA or C++. Can't seem to find any service specifically implemented for .NET. Any idea or recommendations for distributed synchronization in .NET?

Behring answered 20/12, 2010 at 12:1 Comment(2)
Do you need a lockserver or a distributed lock managing framework?Uncontrollable
A lock server. No platform requirement. But needs to have a good .NET client library.Behring
C
2

Have you looked into Apache Zookeeper?

ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services.

There is a .NET API for that at

https://github.com/ewhauser/zookeeper/tree/trunk/src/dotnet

Charin answered 21/12, 2010 at 14:19 Comment(1)
I have looked briefly at zookeeper but did not see that there was a .NET client library. Will look into it. If it works as expected and can provide the type of synchronization im after then I'll accept your answer.Behring
M
3

Quite late to the party, but for anyone interested now, ServiceStack's Redis client might be useful:

https://github.com/ServiceStack/ServiceStack.Redis/wiki/RedisLocks

Mahdi answered 10/2, 2014 at 11:44 Comment(0)
C
2

Have you looked into Apache Zookeeper?

ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services.

There is a .NET API for that at

https://github.com/ewhauser/zookeeper/tree/trunk/src/dotnet

Charin answered 21/12, 2010 at 14:19 Comment(1)
I have looked briefly at zookeeper but did not see that there was a .NET client library. Will look into it. If it works as expected and can provide the type of synchronization im after then I'll accept your answer.Behring
J
0

Just leaving it here for historic purposes. For a Distributed Lock Management in a .NET/Windows native environment you can use NCache. Its a distributed caching solution built using C# hence in .NET and integrates well with Windows.

Check the following post, its a good start

http://blogs.alachisoft.com/ncache/distributed-locking/

Jail answered 3/5, 2016 at 5:53 Comment(0)
E
0

You can check my article about implementing DLM by Redlock.net and Redis Here

Embryogeny answered 2/3, 2022 at 11:6 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.