欧美一级a免费放视频,欧美一级a免费放视频_丰满年轻岳欲乱中文字幕电影_欧美成人性一区二区三区_av不卡网站,99久久精品产品给合免费视频,色综合黑人无码另类字幕,特级免费黄片,看黃色录像片,色色资源站无码AV网址,暖暖 免费 日本 在线播放,欧美com

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

代做COP5615,、代寫Java,Python編程

時間:2023-11-04  來源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯


代做COP5615,、代寫Java,,Python編程
COP5615- Distributed Operating System Principles
Fall 2023
Programming Assignment #2
Chord: P2P System and Simulation
Deadline: Nov 2, 2023
LATE submission will be accepted for grading!
How to submit: Please complete the group submission via CANVAS system.
Introduction
The goal of this project is to implement the Chord protocol using F#.
The specification of the Chord protocol can be found in the paper “Chord: A Scalable Peer-to-peer
Lookup Service for Internet Applications” by Stoica, Morris, et.al.
https://pdos.csail.mit.edu/papers/ton:chord/paper-ton.pdf. The paper above, in section 2.3 contains a
specification of the Chord API and of the API to be implemented by the application.
You can also refer to the Wikipedia page: https://en.wikipedia.org/wiki/Chord(peer-to-peer). Requirements
You are required to implement functions to:
 Create the network ring (create() function mentioned in the paper) with numNodes number of
nodes in it. numNodes will be passed as command line argument to the program. Each node in the
network must be associated with an integer key. Also create finger tables for each node.
 Add nodes to the ring dynamically (join() function from the paper). Your code should update the
finger tables with information about the new nodes that have joined the network.
 Function for scalable key lookup as described in the Chord paper (Section 4).
 A simulator for key lookups. In the simulator, each node must perform numRequests number of
requests. numRequests will be passed as a command line argument to the program. Count the
number of hops required for each request made by every node, sum it up and find the average
number of hops as:
Average number of hops =
Sum of number of no. of hops for all requests for all nodes
𝑛w**6;𝑚𝑅Ү**;w**2;w**6;Ү**;w**4;w**5;w**4; ∗ 𝑛w**6;𝑚Ү**;w**0;𝑑Ү**;w**4;
Input
The input provided (as command line arguments to Program.fs) will be of the form:
dotnet run numNodes numRequests
Where numNodes is the number of peers to be created in the peer-to-peer system and numRequests is the
number of requests each peer has to make. When all peers have performed those many requests, the
program can exit. Each peer should send a request/second.
Output
Print the average number of hops (node connections) that are made to deliver a message.
Actor model
In this project, you have to use exclusively the AKKA actor framework (projects that do not use multiple
actors or use any other form of parallelism will receive no credit). You should have one actor for each of
the peers modeled.
Report
In the report, include the following:
 Team members
 How to run your program?
 What is working?
 Attach screenshots of the output you get.
 A table of the average hop count results you obtained by executing your program with various
number of nodes.
 A graph of “number of nodes” vs “average hop count” that your program outputs.
 Any assumptions you have made about the protocol.
 What is the largest network you managed to deal with?
Submission Guidelines
1. The project folder should be called Chord. It should contain a Program.fs file which would be the entry point of your program and some other configuration files which are included when the project is created. 2. Do not include any executable files in your submission.
3. Include the report in .pdf or .txt format. Name it report.pdf/txt.
4. Zip all your files into a packet: Team_ID.zip
5. Upload the zip packet as attachment in CANVAS before deadline.
Your project structure should be like this:
Grading Criteria
Correct Implementation / Outputs 80%
Report 15%
Readability / Comments / Code structure 5%
Total 100% 
請加QQ:99515681 或郵箱:[email protected]   WX:codehelp

掃一掃在手機打開當前頁
  • 上一篇:SEHH2042代寫,、代做Python,,Java編程
  • 下一篇:COMP3173代做,、代寫C/C++程序設(shè)計
  • 無相關(guān)信息
    合肥生活資訊

    合肥圖文信息
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發(fā)動機性能
    挖掘機濾芯提升發(fā)動機性能
    戴納斯帝壁掛爐全國售后服務(wù)電話24小時官網(wǎng)400(全國服務(wù)熱線)
    戴納斯帝壁掛爐全國售后服務(wù)電話24小時官網(wǎng)
    菲斯曼壁掛爐全國統(tǒng)一400售后維修服務(wù)電話24小時服務(wù)熱線
    菲斯曼壁掛爐全國統(tǒng)一400售后維修服務(wù)電話2
    美的熱水器售后服務(wù)技術(shù)咨詢電話全國24小時客服熱線
    美的熱水器售后服務(wù)技術(shù)咨詢電話全國24小時
    海信羅馬假日洗衣機亮相AWE  復(fù)古美學(xué)與現(xiàn)代科技完美結(jié)合
    海信羅馬假日洗衣機亮相AWE 復(fù)古美學(xué)與現(xiàn)代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 上海廠房出租 短信驗證碼 酒店vi設(shè)計