Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Implementation: A Framework for Distributed Computing of Matrix Multiplication Using One Client and Multiple Servers in Python Programming Language. You will extend your program into

Implementation: A Framework for Distributed Computing of Matrix Multiplication Using One Client and Multiple Servers in Python Programming Language. You will extend your program into having multiple servers and one client:

  • A client divides a big application into several small problems which are processed by multiple servers.

  • All servers compute their respective solutions and send the result to the client.

  • The client assembles the result and outputs the final result to the user.

  • The client acts as a supervisor.

  • The number of available servers and their fully qualified Internet names can

    be saved in a file (some server configuration).

    Client (As a coordinator)

  • It reads the server configuration file to get information about the available

    servers.

  • It creates an array of sockets and input/output data streams with all servers.

  • It passes control to a main function to invoke the work to be done.

Server (Worker)

  • It creates a server socket on an unused port number;

  • It waits for connection on that port. Once it gets a request from a client, it

    accepts that connection.

  • It creates an input/output data stream for the socket. This establishes the

    basis for communication between the server socket and the client.

  • It then passes control to the server body, which contains the code specific to

    the application being executed either in parallel or in distributed manner.

  • The main server can accept the connection from the client, create a socket

    and invoke the server body to handle that client.

  • It goes back and waits for another client.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Objects And Databases International Symposium Sophia Antipolis France June 13 2000 Revised Papers Lncs 1944

Authors: Klaus R. Dittrich ,Giovanna Guerrini ,Isabella Merlo ,Marta Oliva ,M. Elena Rodriguez

2001st Edition

3540416641, 978-3540416647

More Books

Students also viewed these Databases questions

Question

What are the objectives of Human resource planning ?

Answered: 1 week ago

Question

Explain the process of Human Resource Planning.

Answered: 1 week ago

Question

4. Describe cultural differences that influence perception

Answered: 1 week ago