2023年7月11日

.net core redislock 扩展

摘要: public static class DistributedLockExtend { public static IServiceCollection AddDistributedLock(this IServiceCollection services, string connectStr) { 阅读全文

posted @ 2023-07-11 18:28 是水饺不是水饺 阅读(35) 评论(0) 推荐(0) 编辑

.net core RedLockNet 分布式锁

摘要: github源码地址 samcook/RedLock.net: An implementation of the Redlock algorithm in C# (github.com) 源码结构 主要代码在 RedLockFactory ,RedLock 两个类中 RedLock 创建 lock 阅读全文

posted @ 2023-07-11 15:56 是水饺不是水饺 阅读(421) 评论(0) 推荐(0) 编辑