tbwork / anole Goto Github PK
View Code? Open in Web Editor NEWThe entire solution for online enterprise real-time configuration management.
The entire solution for online enterprise real-time configuration management.
One friend recently asked me that how Anole tackles with the situation that if one worker is shutdown unexpectedly and some clients could receive the latest value in real-time and the others not (those clients would retrieve the latest value in several seconds after re-connect with the new worker ). And my answer at that time is :
In terms of my experience in Ctrip and DaZhongDianPing(DZDP), their real-time configuration framework (Apollo in Ctrip and Lion in DZDP) allows delayed configuration update. By the way, the situation of unexpected shutdown of one work server is very unusual and the client still could retrieve
old values from the local cache.
However, there is indeed some situations that the clients should retrieve the latest configurations in real-time, it requires immediate re-connect with new worker and get the new value rather than the delayed detection of connection-broken by the LCM(long connection manager).
So, my plan is to provide a new feature named "volatile", it can be specified in the **getProperty(...)" like:
Anole.getProperty(key, volatile);
The parameter of volatile is a bool value, true means retrieving data from the server first every time.
Sometimes we want to update certain configuration at certain specified time like 12:00 at midnight.
Anole would provide such a mechanism to support this.
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.