himadieievsv / redpulsar Goto Github PK
View Code? Open in Web Editor NEWDistributed locks and other utils, can be used with Jedis client and Lettuce client for Redis
License: Apache License 2.0
Distributed locks and other utils, can be used with Jedis client and Lettuce client for Redis
License: Apache License 2.0
Summary
It nice to have FairLock
.
Basic requirements:
Motivation
FairLock is attempt to have fairness in lock obtaining racing, if client first requested lock it should be able obtain lock as soon as lock is available.
multiInstanceExecute can get result properly with strategy waitForMajority.
There are multiple unit tests failures due to that
Summary
Load LUA script prior to commands execution on Redis.
Initialization can be done when object created once per application.
Motivation
All Redis backends are sending LUA scripts as is. Those calls ending up with slitty bigger size.
Reduce that redundancy with using script hash to call it.
Caveats
Summary
It nice to have ListenerLock
in oppose to polling locks.
Basic requirements:
Motivation
Reduce calls to backend attempting to lock resource
Summary
It nice to have Leader election algorithm too.
Basic requirements:
TBD
Motivation
Currently it is possible to have only one node in luster to perform workload using locks, but it have many drawbacks for using that approach in cluster with different types of nodes (computing power, network bandwidth, memory capacity, etc ). Ideally nodes should vote on the best candidate.
Workaround
Use locks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.