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
614 Views Asked by Ivan Voroshilin At
1
There are 1 best solutions below
Related Questions in ALGORITHM
- Two different numbers in an array which their sum equals to a given value
- Given two arrays of positive numbers, re-arrange them to form a resulting array, resulting array contains the elements in the same given sequence
- Time complexity of the algorithm?
- Find a MST in O(V+E) Time in a Graph
- Why k and l for LSH used for approximate nearest neighbours?
- How to count the number of ways of choosing of k equal substrings from a List L(the list of All Substrings)
- Issues with reversing the linkedlist
- Finding first non-repeating number in integer array
- Finding average of an array
- How to check for duplicates with less time in a list over 9000 elements by python
- How to pick a number based on probability?
- Insertion Sort help in javascript -- Khan Academy
- Developing a Checkers (Draughts) engine, how to begin?
- Can Bellman-Ford algorithm be used to find shorthest path on a graph with only positive edges?
- What is the function for the KMP Failure Algorithm?
Related Questions in DISTRIBUTED
- Fill an array with spmd in Matlab
- Hazelcast Distributed Lock with iMap
- is sharding same as distributed database in mongoDB?
- How to start distributed Erlang app without starting dependencies at every node?
- Spark tasks doesn't seem to be well distributed
- OrientDB to automatically create databases on startup
- Unequal distribution of packets in distributed system
- Logical Clocks: Lamport Timestamps
- MPI Random Broadcasting
- Hazelcast (Java) and ETCD (golang) differences/similarities?
- IP addresses in distributed systems
- Usage of RemoteCache with DeltaAware and Delta interface infinispan
- How to achieve similar color distribution with fewer pixels?
- How can I ensure a periodic task will run forever on a linux machine?
- Warning that "unknown addresses are found in partition table"
Related Questions in DISTRIBUTED-SYSTEM
- Is curator's persistent ephemeral nodes just regular ephemeral with retries?
- Sequential Consistency in Distributed Systems
- Elastic Search: how to move a primary shard?
- Hbase: Understanding difference between smallCompactions and largeCompactions under majorCompaction
- Mnesia - Replicate ram_copy table to disc_only_copy table from another node
- Logical Clocks: Lamport Timestamps
- Lamport’s (Physical) Clock Synchronization Algorithm
- distributed database replication design: efficient network transfer
- Use SimPy to simulate Chord distributed system
- How CreateEntity PDU works?
- How to automatically update server and client side in java
- Distributed database use cases
- Pass map, slice over channel and over network?
- Creating a distributed memory service in Scala
- What is the biggest Couchbase cluster nodes number?
Related Questions in SERVICE-DISCOVERY
- Spring cloud sidecar can not un-register nodeJS service once it is shut down
- Where does kubernete's kubelet create service environment variables?
- mesos-dns, best practice for working with ports
- Concurrent Android - bonjour discovery possible?
- How is service discovery not a subset of centralized configuration?
- eureka unknownHostException in service discovery
- How does client side load balancer like ribbon works?
- How to use consul/registration for service discovery on kubernetes nodes?
- Looking for API Gateway Technology that call multiple microservices
- Auto discover a web server hosting PHP script
- Watson Discovery News Java API to fetch Top Stories
- Android O issues with WiFi Peer Discovery
- raspberry pi static ip vs discovery?
- Steeltoe service registry discovery and prefixing a hostname to the resolved url
- Eureka client on aws not able to connect to peer services (eureka clients)
Related Questions in LEADER
- How does raft handle committing entries from previous one?
- Copying current Vim buffer into clipboard
- Handling writes & consistent reads until leader lease expires
- Is it the best way to have a "software development project manager" who is a great developer himself?
- In raft leader election,how live leader response to RequestVote rpc from a candidate?
- Does raft leader deal with client requests synchronously or asynchronously?
- redshift leader node using up 100% of disk
- Why Paxos is required for leader election in cassandra
- What is a partition leader in Apache Kafka?
- Apache Curator LeaderSelector: How to avoid giving up leadership by not exiting from takeLeadership() method?
- Re-election leader in case of crash with Leader Latch Curator
- what happens if a replica leader in kafka dies after committing a message but before sending Highwater mark to ISR replicas?
- Type of Team Lead: More Programmer || More !Programmer
- Discovery service and Leader election algorithm
- Local register of a group leader
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)
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?
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.