Find Jobs
Hire Freelancers

Ring Coordinator Election Algorithm using GUI (Java)

$2-8 USD / hour

In Progress
Posted almost 11 years ago

$2-8 USD / hour

Ring Coordinator Election Algorithm using GUI (Java) Objectives 1. Implement the Ring Coordinator Election Algorithm using socket programming for inter-process communication Project Specification 1. Implement the Ring Coordinator Election Algorithm over sockets. More specifically, your program needs to simulate the following scenarios: a. Initially, all processes start up and communicate in a ring organization. They should display the messages being passed so that we can observe the process. They should pass a “token” around the ring. You should build delays into the process so that you can clearly demonstrate the working of the algorithm. Processes are numbered. Each process should receive the token at some small, predetermined interval. Make this interval different for each process so that they do not initially all start an election at the same time. b. When a process does not see the token in the expected interval it will initiate an election. After the system elects a coordinator you will need to demonstrate the following scenario: i. Manually stop communication by the current coordinator. ii. An election will be initiated by a process that does not see the token when expected. iii. The election should proceed according to the ring algorithm given in Chapter 6 c. The crashed process should be brought back up and it should initiate an election. d. Set the timers so that two elections (by processes 2 & 5) run at the same time and show that they still work. 2. You need to clearly show the communication between processes. The program should clearly show the following: 1 – Using sockets for inter-process communication 2 – All processes start up correctly 3 – Shut down the coordinator communication 4 – Election initiated when the coordinator stops communicating 5 – The correct process wins the election 6 – Correct messages communicated and shown on each process 7 – Multiple elections work correctly
Project ID: 4383346

About the project

3 proposals
Remote project
Active 11 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Being a computer science PhD student I have a decent experience in implementing a lot numbers of algorithm. I would like to be of your help.
$5 USD in 10 days
0.0 (0 reviews)
0.0
0.0
3 freelancers are bidding on average $7 USD/hour for this job
User Avatar
Hi, I am JAVA expert and can surely help you here, Thanks
$11 USD in 15 days
4.9 (166 reviews)
6.4
6.4
User Avatar
I have good knowledge with Java and Socket API. You will get 100% quality assured.
$5 USD in 15 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
St Paul, United States
5.0
2
Member since Mar 30, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.