Distributed system development projects

Assignment Help Other Subject
Reference no: EM133188618

DDE602 Distributed Development

Implement a Large-Scale Distributed System

Learning Outcome 1: Prioritise and distinguish the core elements of distributed system technologies and trends in the industry;

Learning Outcome 2: Work independently with a distributed system-based problem and demonstrate knowledge of the core concepts of distributed development;

Learning Outcome 3: Reflect on research findings and demonstrate ability in developing large-scale distributed applications.

Learning Outcome 4: Critically evaluate distributed system development considering realistic planning.

Learning Outcome 5: Research and analyse various types of distributed system development projects considering scalability and fault tolerance.

Learning Outcome 6: Create and analyse a design strategy informing the development of distributed applications.

Task Summary

In this assignment, you will be implementing a peer-to-peer (P2P) application. The system will have a master and slaves and will be responsible for basic file sharing between peers.

The master in the system will implement a centralised index and be responsible for discovering new slaves, monitoring them, keeping track of what files they have and finally, redirecting peers to them to download the file.

In summary, you will

• Demonstrate an understanding of P2P computing concepts;
• Apply P2P concepts in code; and
• Produce scalable, fault tolerant and robust systems.

Context

Master

The master will listen on a well-known port for slaves to join the network. A slave will connect to the master when it wishes to advertise files available for download. The master will make note of that slave and periodically test its responsiveness. In the event that the slave cannot be reached, the master will remove the slave from its memory and no longer advertise it or its services to other peers.

Once joined, a slave will advertise to the master what files it has available for download. In this network, the names of the objects are mutually exclusive; that is, no other slave can advertise the same file name.

Slaves

In this network, slaves can either advertise files that can be downloaded by peers or they can search and download a specified file from a peer once it has been discovered by the master.

When a slave wishes to advertise files available for download, it contacts the master and advertises the file is available for download. Similarly, a slave may revoke a file being downloaded at any time. When this occurs, the master updates its central index of what is available on what peer.

When a slave wishes to download a file, it contacts the master and performs a search. If the file is found in the centralised index, the master returns the address of the slave and the requesting slave attempts to download the object from its peer.

Architecture and Behaviour

As the developer of this system you have complete design authority over how it will be implemented. In developing the system, you should take reasonable steps to ensure its robustness and best performance.

Task Instructions

To complete this assignment, follow these steps:

Step 1: Implement a P2P environment with one master instance and multiple slave instances, all listening to different ports. This can be implemented in a single computer or over multiple computers. Then, write programs for all the instances to connect with each other using necessary protocols.

Step 2: Implement your P2P system, such that if the master fails, peers can continue to discover and download files from one another.

Step 3: Implement the following:

o A protocol is implemented in the master to accept registrations from peers.
o The master implements an algorithm to monitor peers and manage the registrations of failures to connect to peers.
o The master is able to accept registrations of a file from peers and enforce mutual exclusion constraints.
o Peers implement a protocol to register availability and the files to the master.
o Slaves implement threads to act as both peers and slaves as outlined above. Both peers and slaves have the ability to identify and download objects using sockets.
o The master and slaves should be able to do all of the above in a scalable fashion with a growing number of activities between them.

Step 4: You can use the programming language of your choice. However, Python is recommended for this type of project. The code must be well formatted and conform to Python naming conventions. You also need to provide sufficient comments in the code.

Referencing

It is essential that you use appropriate APA style for citing and referencing research.

Attachment:- Distributed Development.rar

 

Reference no: EM133188618

Questions Cloud

Establishing business relationships : Establishing business relationships Outline your role and the industry that you operate in. give details of: 1. communication channels and policies
Formulate a mathematical model : Where X represents units of production of product X and Y represents units of production of product Y. Producing one unit of product X requires 5 labor-hours an
What is the target inventory level needed : Use the information in Scenario 9.15. What is the target inventory level needed to achieve a 90% service level
Calculate the net present value : The Robinson Corporation has $25 million of bonds outstanding that were issued at a coupon rate of 10.750. Calculate the net present value
Distributed system development projects : Research and analyse various types of distributed system development projects considering scalability and fault tolerance
What type of account is each, asset, liability, equity : FOB shipping point. 100 items of BAC at a cost of $50 each. Identify two accounts and what type of account is each, asset, liability, equity, revenue or expense
Prepare the production budget for may : Each month's ending inventory of finished units should be 50% of the next month's sales. Prepare the production budget for May
How companies give equal employment opportunities : By reflecting more accurately the changing demographics of the marketplace, a diverse workforce improves a company's ability to serve diverse population
What is the effect of wade proposed change on net income : Clean Aire Anti-Pollution Company is suffering declining sales of its principal product, What is the effect of Wade proposed change on net income

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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