I've been doing some research for enhancement of in-house Discovery Service on my project. We have a number of nodes in a cluster accountable for discovery service, higly available. In order to get access to some service each client app sends a multicast message to all these nodes in the cluster. All nodes respond to a client and the very first response defines a particular node for further work. This is an overhead and I'm thinking of using some kind of leader election algorithm where only a single leader responds to clients. Is it reasonable to use such an algorithm for this task?
Discovery service and Leader election algorithm
615 views Asked by Ivan Voroshilin At
1
There are 1 answers
Related Questions in ALGORITHM
- MCNP 6 - Doubts about cells
- Given partially sorted array of type x<y => first apperance of x comes before first of y, sort in average O(n)
- What is the algorithm behind math.gcd and why it is faster Euclidean algorithm?
- Purpose of last 2 while loops in the merge algorithm of merge sort sorting technique
- Dots and Boxes with apha-beta pruning
- What is the average and worst-case time complexity of my string searching algorithm?
- Building a School Schedule Generator
- TC problem 5-2:how to calculate the probability of the indicator random variable?
- LCA of a binary tree implemented in Python
- Identify the checksum algorithm
- Algorithm for finding a subset of nodes in a weighted connected graph such that the distance between any pair nodes are under a postive number?
- Creating an efficent and time-saving algorithm to find difference between greater than and lesser than combination
- Algorithm to find neighbours of point by distance with no repeats
- Asking code suggestions about data structure and algorithm
- Heap sort with multithreading
Related Questions in DISTRIBUTED
- How to do a simple large matrix multiplication on multiple GPUs in PyTorch? I have wrote some simple codes, but works not well
- Problems encountered when using _shard_num when querying clickhouse shard sets
- Which web3 decentralized wallet is suitable to store my crypto assets and lock some of the tokens for certain time?
- How to use consistent hashing across publishers, queues, and consumers
- pytorch all_gather gives wrong output order
- How to save the JavaScript runtime state
- akka PubSub not working across distributed system
- About the parallel execution issue in Ray
- How to make models that contains `log_prob` and needs to create local tensors in `forward` parallelly trainable?
- Clickhouse Distributed Query take huge amount of network usage when using group by
- The two data nodes return different results
- Guidance on multi instance application with distributed redis
- Distributed memory table in Clickhouse
- Issue with Flink Job Failure when Using Custom Class as DataStreamSource Type
- Qdrant: Which shard is at which node? It seems like all shards are on the same node
Related Questions in DISTRIBUTED-SYSTEM
- How to avoid duplicates with the pull-based subscribe model?
- Micrometer & Prometheus with Java subprocesses that can't expose HTTP
- SQL connection throws error when adding DistributedSession, SessionMiddleware
- How to use NFS locks or any other mechanism to keep data in sync on multiple mountpoints
- The two data nodes return different results
- How to run an MPI program across multiple docker containers without manually ssh'ing
- How do I parallelize writing a list of Pyspark dataframes across all worker nodes?
- Does AWS use distributed systems?
- How to version control a source code which communicates with database?
- Searching for succ(p+1) in Chord systems
- How to design a long running process that can continue after an outtage?
- akka.cluster.ddata.Replicator$Internal$DeltaPropagation message from clusterReceptionist replicator is dropped because it exceeds the size limit
- In the storage-computing separation deployment mode, why does one of the three nodes have no disk space?
- Out-of-order AppendEntries in Raft
- Automatic Load Balancer with Locust 2.20.0 on Windows - High Ping and Scaling Challenges
Related Questions in SERVICE-DISCOVERY
- Cannot resolve symbol 'EnableEurekaClient'
- CloudMap usage when VPC is in a centralized account
- How does YouTube's website discover and cast to devices like Fire TV Stick directly from a web browser?
- Eureka Client is Unable to connect to Eureka Discovery Server when deployed on Stand alone Tomcat
- Spring Reactive Load Balancer Retry Is Not Working, Using RetryableLoadBalancerExchangeFilterFunction
- ECS service discovery and port mapping on fargate
- Unable to start the web server while setting-up Eureka Service, error: application missing the necessary class definition for the RestClient$Builder
- Redirect to secondary host when primary host is unavailable in Ocelot API Gateway (C#, .NET Core, Ocelot)
- Getting new service endpoint from Zookeeper when existing endpoint is unreachable
- CANNOT register maven jersey service as Eureka Client
- Emit metrics from on-premise python application to Prometheus in EKS cluster
- How to do ip multicast /broadcast in ASP.NET Core
- Discover Already known domains to netflix eureka
- AWS ECS services communicate over service discovery
- Exception when try to access microservice using Eureka Service Discovery
Related Questions in LEADER
- Handling writes & consistent reads until leader lease expires
- Re-election leader in case of crash with Leader Latch Curator
- How does Kafka partition leader ensure that replica replicated message?
- When should a leader set voteFor to null while receiving a voteRequest with higher term in Raft?
- Graceful leadership transition in Solr 6.3 and Zookeeper 3.4
- Does kafka broker always check if its the leader while responding to read/write request
- Question about Apache Curator Leader Election
- what happens if a replica leader in kafka dies after committing a message but before sending Highwater mark to ISR replicas?
- What is a partition leader in Apache Kafka?
- map vim leader key to backspace
- Difference between docker swarm node running as Leader and running as Manager
- How does etcd propagate writes to non-leader members?
- Leader dots separating columns in an HTML table
- Why Paxos is required for leader election in cassandra
- Could Raft elect a leader with uncommitted log?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I think what you are trying to do is load balance across multiple machines where in any machine can handle the requests. Leader selection etc seems a overhead. Probably a loadbalancer can solve the issue.