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

  How did your beliefs facilitate or hinder learning process

Consider two (2) courses that you have participated in; one that you liked and one that you did not like. Compare the teaching methodologies used.

  Decision making in transaction processing system

Decision making in Transaction Processing System - Write title for the project, Abstract, proposals

  Discuss the concept of limited liability

Discuss the concept of limited liability and how it may influence the type of business entity a person chooses when forming a business.

  Should medicare cover medical services

If a Medicare beneficiary lives in or travels to a foreign country, does or should Medicare cover medical services rendered in that country.

  How and why were the changes significant

In 2008, the Americans with Disabilities Act was amended and was retitled the Americans with Disabilities Act as Amended (ADAAA). The ADAAA addressed.

  How angiotensin-converting enzyme inhibitors

identify the three normal controls of blood pressure and how angiotensin-converting enzyme inhibitors

  Conduct and document a post implementation review process

Students are required to design and develop a learning framework for a unit of work for 1 week for any one of the CEFR levels. Conduct and document a post implementation review process

  Describe the major life events of the theorist

For this assignment, you will have a chance to put into practice all you have been learning throughout this course. You will analyze the personality development

  How long is a broken machine out of service?

how long is a broken machine out of service?

  How is the neighborhood and extended family reacting

Grandson Josh, starting to have drug problems. How is the neighborhood and extended family (meso) reacting to the situation?

  Show the steps - delamere dairy drinks

Show The steps - Delamere Dairy Drinks should go through to derive a new innovative drink

  How would you define civic engagement-responsibility

How would you define civic engagement/ responsibility? (Please for this question, do not look anything up online.

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