shikhar / eskka Goto Github PK
View Code? Open in Web Editor NEWelasticsearch discovery plugin using akka cluster (unmaintained)
License: Other
elasticsearch discovery plugin using akka cluster (unmaintained)
License: Other
maybe do whatever zen does
This is already possible with JMX
This would require overriding Akka's remoting Transport
.
I'm considering eskka in a small cluster, but I'ld love for support for SRV records or multiple A records against a single domain name entry to drive populating the seed nodes.
Currently if n is the number of seed nodes there will be n ping requests received by each of them for the partitioned node. (n*n) pings sent to that node, in all. Not a big deal in small clusters.
Having read http://aphyr.com/posts/317-call-me-maybe-elasticsearch and seeing your comment, it seems like it would be better to use eskka instead of ZenDisco.
Would you consider eskka ready for production use?
It is possible that the serialized cluster state, although it is compressed, could exceed akka.remote.netty.tcp.maximum-frame-size
which defaults to 128k.
Hi, first of all thank you for this project. While studying it I encountered this piece of code in QuorumLossAbdicator.scala:
def abdicate: Actor.Receive = {
case Abdicate =>
killSeq.foreach(context.stop)
SubmitClusterStateUpdate(clusterService, "eskka-quorum-loss-abdicator", Priority.URGENT, runOnlyOnMaster = false, abdicationClusterState) onComplete {
case Success(_) =>
log.debug("cleared cluster state, now invoking restart hook")
restartHook()
case Failure(e) =>
log.error(e, "failed to clear cluster state, will retry in {}", CheckInterval)
context.system.scheduler.scheduleOnce(CheckInterval, self, Abdicate)
}
}
In the failure handler you are accessing the actor context within the onComplete callback that, If i'm not wrong, could be run in a separate thread than the actor one. One solution could be to pipe the future back to the actor and do the handling there. Feel free to correct me if I missed some piece.
remote actors master<->follower exchange DiscoveryNode
with java ser
this leads to cross-version incompatibility
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.