How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask Mr. Gregory White Your Own Question
Mr. Gregory White
Mr. Gregory White, Professor
Category: Homework
Satisfied Customers: 5240
Experience:  M.A., M.S. Education / Educational Administration
Type Your Homework Question Here...
Mr. Gregory White is online now
A new question is answered every 9 seconds

Design and implement a Java program that transfers fragments

Customer Question

Design and implement a Java program that transfers fragments of a file to multiple remote nodes. The class should take as input:
1. A file path to file of a fixed size (64MB).
2. An unordered list of 64 IP addresses/port numbers.
3. The maximum transfer rate for the sender (in Kbps). The rate limits the total amount of bandwidth a sender consumes when transferring file fragments.
The program should divide the file up into 64x1MB fragments and send one fragment to each of the 64 nodes. A TCP socket should be used for communication with each of the nodes. The transfer should honor the rate set by the user. Assume that each of the remote nodes have equal upstream and downstream bandwidth. The focus should be to:
· Minimize the total time it takes to send the entire 64MB file.
· Minimize the communication overhead.
· Minimize system resources consumed during the transfer.
Please submit working code with build instructions (Eclipse project environment preferred), all test code (JUnit or other code used to debug the solution), a one page (or less) description of how you tested your solution and why you tested the way you did, and a one page (or less) description of why you chose the solution and an evaluation of how it performs against the goals stated above.
Exceptional solutions will:
Handle both IPv4 and IPv6 format addresses
Handle endpoints that receive data at different rates
Gracefully recover from errors (make good use of exception handling)
Be thoroughly commented
Submitted: 1 year ago.
Category: Homework
Customer: replied 1 year ago.
Posted by JustAnswer at customer's request) Hello. I would like to request the following Expert Service(s) from you: Live Phone Call. Let me know if you need more information, or send me the service offer(s) so we can proceed.
Expert:  Mr. Gregory White replied 1 year ago.

Hello, my name is Greg.

Is there any other information you can send to see if I can assist on it this for you? If you have any documents you can upload, you can do so to or and share the link here with us.

If I had a model and could provide that as a model (would have to check files to see if I have one), would that be sufficient or are you seeking a fully written new model document?

Customer: replied 1 year ago.
Hi, I am looking for the entire solution actually (code, junit, and two 1-page summary). There is no additional document. I would need it done soon, as the way justanswer acts is a bit misleading. I sent the question on Saturday,, I have to submit on thursday, meaning I need the answer by tomorrow or day-after, so as to clarify doubts, go through the solution, and then submit. Will that be doable for you Mr. White? I want it to be exactly as per the question, but I do not want it to be too complicated to raise alarms. They know I am a MS graduate, who is good in Java, but definitely not a pro.
Customer: replied 1 year ago.
Hi Greg, kindly let me know with a reply with your opinion. I have already been charged and am counting on you. Please feel free to share your opinion at the earliest as I have limited time. Thanks.
Expert:  Mr. Gregory White replied 1 year ago.

You need to spend $3 to view this post. Add Funds to your account and buy credits.
Customer: replied 1 year ago.
Okay, I have to submit this on thursday. Thanks for your support.