Implementation of Bully Election algorithm in Distributed systems

Posted on 2004-11-03
Medium Priority
Last Modified: 2011-02-08
I want to implement a bully election algorithm with seven processes(p1 to p7) communicating.where highest numbered process will be coordinator when it is down.Any of the lower number process can intiate election like p4 but the election is won by p6 if it up else p5 if p6 down and p5 up or p4 is winner when p5 , p6 are down. Can any one implement this algorithm in Java. Using RPC and multiple client server technology.
Question by:prashanth_gurijala
LVL 86

Expert Comment

ID: 12488701
This sounds like classwork/homework - please read the guidelines about this

Accepted Solution

funnyveryfunny earned 1500 total points
ID: 12499620
classwork/homework....but it is an interesting question.

I don't see why not, obviously it wont be as simple as using PVM in C programming for parallel computing.

I can't personally implement this algorithm (first time I heard of it) but you can start off by reading Java networking tutorial. It's the question of establishing a pool of nodes/processors then very much back message-passing routines.

Expert Comment

ID: 34842271
hi prashanth_gurijala, . how did you get on with this implementation.

did you manage to code the algorithm.

i am doing something very similar to this as well.


Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses
Course of the Month13 days, 16 hours left to enroll

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question