Distributed information systems

Assignment Help Computer Engineering
Reference no: EM1383310

1. Complete the partial code provided with this lab that implements a simple group communication application using Java's MulticastSocket class.

2. Change this program so that the members now send their ID and x messages (passed as arguments) and receive an unlimited number of messages. To identify the messages during the execution, you can use the following notation: MSG11 is the first message sent by member1, MSG32 is the second message transmitted by the member3. For example the first member will pass the following parameters: 1 3 228.5.6.7, specifying that the program the ID of the member which is 1, and that he will send 3 messages: MSG11, MSG12, and MSG13 to the group identified by the IP address 228.5.6.7.

1. In general, in group communication we need a coordinator to help coordinating all the members. For example, if the members need to order the received messages they will need the coordinator to tell them how to order these messages. Or, if the members need updates they can ask the coordinator. One thing that you will notice from the previous question is that a member will not receive the messages that were transmitted before he joins the group. In the next task, make sure that all new members receive the previously transmitted messages. This can be one of the roles of the coordinator.

You are asked to update the program of part 2 and making sure now that the coordinator keeps record of all transmitted messages and provides old messages to new members. The first member (ID1) to join the group will be considered as the coordinator. Its role is to act as a member, but also to send previously received messages to new members. The coordinator can deduce the IP address and port number of the new member that just joined the group and sends all previously received messages using UDP unicast interprocess communication.

Reference no: EM1383310

Questions Cloud

Determine the compression of each spring : The 75 lb block is released from rest 5 ft above the plate. Determine the compression of each spring when the block momentarily comes to rest after striking the plate.
Roles and responsibilities of leaders : Analyze the roles and responsibilities of leaders in creating and maintaining a healthy organizational culture. Differentiate between management and leadership.
Explain process of diagnosing and troubleshooting errors : How do third-party plug-ins change process of diagnosing and troubleshooting errors in the application? What steps would you take in diagnosing the application which has been changed from its original state?
What things must we keep in mind when writing an email : What things must we keep in mind when writing an email versus speaking with someone face-to-face
Distributed information systems : Complete the partial code provided with this lab that implements a simple group communication application using Java's MulticastSocket class.
What is the relationship between group norms : What is the relationship between group norms and group cohesiveness? What roles do both cohesiveness and norms play in shaping group performance?
Distance between adjacent pairs of loci : Here are the distances between adjacent pairs of loci. A map distance of fifty = independent assortment. Please map genes giving distances between adjacent pairs of loci.
Duplex system with no redundancy : What is the salt usage for each regeneration if the system regenerated every 10 days? What size resin tanks (diameter, height) would be required for a duplex system with no redundancy?
Explaining somalian refugee crisis : At least 500-600 Somali refugees are going to be settled in Figaro in upcoming year, as part of U.S. government program. Somali refugees have been resettled in number of cities in U.S. already.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd