Design and implement a distributed application using C++ and BOOST, intended to run on a network...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Design and implement a distributed application using C++ and BOOST, intended to run on a network of at least three interconnected computers (initially within the same LAN or virtual LAN). 1. Select a distributed algorithm: Choose a suitable distributed algorithm for implementation. ex) histogram equalization algorithm that accepts user-provided images and saves the resulting image file. 2. Define the control plane protocol: Create a protocol that manages communication and coordination among the networked computer nodes. This protocol ensures seamless interaction between the various resources involved in delivering the distributed service. 3. Develop the data plane protocol: Establish a protocol for communication between the user and the distributed application. This protocol facilitates tasks such as uploading large files from the user's node, storing them within the distributed application (ideally replicated across nodes), performing the requested operations, and returning the processed file to the user via the network. One approach is to maintain an open data plane socket, with heartbeats to sustain the connection and possibly a status update mechanism, followed by file uploads to the user. 4. Implement networked programs: a. Create a "leader" or "coordinator" program responsible for initiating and listening to "follower" or "worker" nodes. The leader node manages the registration of worker nodes for distributed service processing. b. Develop "follower" or "worker" node programs that connect to and register with the leader or coordinator as processing nodes for the distributed service. c. Consider this as a client-server paradigm distributed across the leader and followers. The client program connects to the leader node to request services and receive results. Design and implement a distributed application using C++ and BOOST, intended to run on a network of at least three interconnected computers (initially within the same LAN or virtual LAN). 1. Select a distributed algorithm: Choose a suitable distributed algorithm for implementation. ex) histogram equalization algorithm that accepts user-provided images and saves the resulting image file. 2. Define the control plane protocol: Create a protocol that manages communication and coordination among the networked computer nodes. This protocol ensures seamless interaction between the various resources involved in delivering the distributed service. 3. Develop the data plane protocol: Establish a protocol for communication between the user and the distributed application. This protocol facilitates tasks such as uploading large files from the user's node, storing them within the distributed application (ideally replicated across nodes), performing the requested operations, and returning the processed file to the user via the network. One approach is to maintain an open data plane socket, with heartbeats to sustain the connection and possibly a status update mechanism, followed by file uploads to the user. 4. Implement networked programs: a. Create a "leader" or "coordinator" program responsible for initiating and listening to "follower" or "worker" nodes. The leader node manages the registration of worker nodes for distributed service processing. b. Develop "follower" or "worker" node programs that connect to and register with the leader or coordinator as processing nodes for the distributed service. c. Consider this as a client-server paradigm distributed across the leader and followers. The client program connects to the leader node to request services and receive results. Design and implement a distributed application using C++ and BOOST, intended to run on a network of at least three interconnected computers (initially within the same LAN or virtual LAN). 1. Select a distributed algorithm: Choose a suitable distributed algorithm for implementation. ex) histogram equalization algorithm that accepts user-provided images and saves the resulting image file. 2. Define the control plane protocol: Create a protocol that manages communication and coordination among the networked computer nodes. This protocol ensures seamless interaction between the various resources involved in delivering the distributed service. 3. Develop the data plane protocol: Establish a protocol for communication between the user and the distributed application. This protocol facilitates tasks such as uploading large files from the user's node, storing them within the distributed application (ideally replicated across nodes), performing the requested operations, and returning the processed file to the user via the network. One approach is to maintain an open data plane socket, with heartbeats to sustain the connection and possibly a status update mechanism, followed by file uploads to the user. 4. Implement networked programs: a. Create a "leader" or "coordinator" program responsible for initiating and listening to "follower" or "worker" nodes. The leader node manages the registration of worker nodes for distributed service processing. b. Develop "follower" or "worker" node programs that connect to and register with the leader or coordinator as processing nodes for the distributed service. c. Consider this as a client-server paradigm distributed across the leader and followers. The client program connects to the leader node to request services and receive results. Design and implement a distributed application using C++ and BOOST, intended to run on a network of at least three interconnected computers (initially within the same LAN or virtual LAN). 1. Select a distributed algorithm: Choose a suitable distributed algorithm for implementation. ex) histogram equalization algorithm that accepts user-provided images and saves the resulting image file. 2. Define the control plane protocol: Create a protocol that manages communication and coordination among the networked computer nodes. This protocol ensures seamless interaction between the various resources involved in delivering the distributed service. 3. Develop the data plane protocol: Establish a protocol for communication between the user and the distributed application. This protocol facilitates tasks such as uploading large files from the user's node, storing them within the distributed application (ideally replicated across nodes), performing the requested operations, and returning the processed file to the user via the network. One approach is to maintain an open data plane socket, with heartbeats to sustain the connection and possibly a status update mechanism, followed by file uploads to the user. 4. Implement networked programs: a. Create a "leader" or "coordinator" program responsible for initiating and listening to "follower" or "worker" nodes. The leader node manages the registration of worker nodes for distributed service processing. b. Develop "follower" or "worker" node programs that connect to and register with the leader or coordinator as processing nodes for the distributed service. c. Consider this as a client-server paradigm distributed across the leader and followers. The client program connects to the leader node to request services and receive results.
Expert Answer:
Answer rating: 100% (QA)
Designing and implementing a distributed application using C and Boost is a complex task that involves multiple components and careful consideration of network communication coordination and data mana... View the full answer
Related Book For
Principles Of Information Security
ISBN: 9780357506431
7th Edition
Authors: Michael E. Whitman, Herbert J. Mattord
Posted Date:
Students also viewed these programming questions
-
A motor-cycle manufacturing company desires a profit of $600,000. The fixed costs are $800,000. The unit selling price of the motor-cycle is $750 and the variable cost per unit is $680. How many...
-
Given the function. f(x) = ln (2x+3x) Compute f'(x). Enter your answer rounded to the nearest tenth
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Draw a standard normal probability function and show the area under the curve for (a) Plus or minus one standard deviation from the mean (b) Plus or minus two standard deviations from the mean (c)...
-
1. A mouse is put into a T-maze (a maze shaped like a T). In this maze, it has the choice of turning to the left and being rewarded with cheese or going to the right and receiving a mild shock....
-
Match the product with the proper parent company and country in the tablebelow: Product Arrow Shirts Braun Household Appliances b. Bidermann Intemational 2. Great Britain Lotus Autos Firestone Tires...
-
Calculate an acceptable risk of incorrect acceptance assuming: (1) audit risk is 5 percent, (2) the risk that the internal controls fail to detect material errors is 40 percent, and (3) the risk that...
-
Consider the following project network. Note that the normal or expected activity times are denoted Ïi, I = A, B, . . . , I. Let xi = the earliest finish time for activity i. Formulate a linear...
-
Stoichiometric air-fuel ratio for gasoline An average formulation for gasoline is C-H13. Complete combustion in air produces C7H13 + 10.25 02 + 38.54 N2 = 7 CO2 +6.5 H20+ 38.54 N2 Determine the...
-
An oil company produces three brands of oils: Regular, Multi grade, and Supreme. Each brand of oil is composed of one or more of four crude stocks, each having a different viscosity index. The...
-
A projectile is launched with initial velocity v =25.7 m/s at an angle 0 = 21.5. What is the height (in meters) of the projectile's apex (the highest point along its trajectory)?
-
Discuss government intervention in foreign exchange markets.
-
Stock investments are much less risky when they are held for long periods than when they are held for short periods.
-
What are FMEAs three risk assessment factors?
-
Explain why trading derivatives on centralized exchanges rather than in over-the counter markets helps reduce systemic risk. Can you think of a way in which more trading on centralized exchanges...
-
Analyze the supply of and demand for currencies to explain exchange rates in the short run.
-
During 2013, Blake transferred a corporate bond with a face amount and fair market value of $20,000 to a trust for the benefit of her sixteen-year old child. Annual interest on this bond is $2,000,...
-
Discuss the information available from the following techniques in the analysis of inorganic pigments used in antique oil paintings: (i) Powder X-ray diffraction, (ii) Infrared and Raman...
-
Contrast the Certified in the Governance of Enterprise IT (CGEIT) certification with others examined in this section as it is mostly geared towards upper-level executives (CISOs and CIOs), directors,...
-
Label that an affidavit is sworn testimony that certain facts are in the possession of the investigating officer that they feel warrant the examination of specific items located at a specific place....
-
I. Discuss awareness and training as the backbone of an information security program, ensuring that all users are both aware and trained on a minimum level of information security. II. Establish key...
-
Consider a gas metal arc welding electrode as shown in Figure P10.29 where we are consuming the electrode as we weld ( rod velocity \(\left.=v_{o} ight)\). We are interested in the steady-state...
-
Consider the heat transfer to a falling film problem of Section 10.3. The mass transfer analog is the dissolution of a solid wall into the falling film. Assuming the solid wall is composed of salt,...
-
In Smoluchowski's Theory of Coagulation we focus on an individual sphere and assume that other like particles diffuse toward it. Once they reach the sphere, they collide and form a new spherical...
Study smarter with the SolutionInn App