The worker pool multi-threading architecture, Software Engineering

Assignment Help:

QUESTION

(a) Compare the worker pool multi-threading architecture with the thread-per-request architecture.

(b) What thread operations are the most significant in cost?

(c) A file server uses caching, and achieves a hit rate of 80%. File operations in the server cost 5 ms of CPU time when the server finds the requested block in the cache, and take an additional 15 ms of disk I/O time otherwise. Clarifying any assumptions you make, estimate the server's throughput capacity (average requests/sec) if it is:

i) single-threaded

ii) two-threaded, running on a single processor

iii) two-threaded, running on a two-processor computer.

(d) A client makes RMIs to a server. The client takes 5 ms to calculate the arguments for each request, and the server takes 10ms to process each request. The local OS processing time for each send or receive operation is 0.5 ms, and the network time to transmit each request or reply message is 3 ms. Marshalling or unmarshalling takes 0.5 ms per message. Approximation the time taken by the client to generate and return from 2 requests

(i) if it is single-threaded

(ii) If it has two threads which can make requests concurrently on a single processor.


Related Discussions:- The worker pool multi-threading architecture

How the class concept used in software engineering, Q. How the Class concep...

Q. How the Class concept used in Software Engineering? Class:- A class encapsulates data and procedural abstractions required to describe the content and behavior of some real

What is a user friendly document, What is a user friendly document? Ans)...

What is a user friendly document? Ans) A document is user friendly, when it is designed and written with simple of use, as single of the primary objectives of its design.

System analyst, Explain the role and functions of a Systems Analyst in the ...

Explain the role and functions of a Systems Analyst in the overall project development.

Explain the meaning of throw away prototyping, What is meant by Throw away ...

What is meant by Throw away Prototyping? Giving the user a system which is incomplete and then augmenting and modifying it so that user requirements become clear. The obj

Different type of testing tools, Different type of testing tools. (a) T...

Different type of testing tools. (a) Test Case Generators: (b) Capture/ Playback and Test harness tools: (c)  Coverage Analysis Tools: (d) Test Comparators e) Memor

Give the procedure of the delphi method, Give the procedure of the Delphi m...

Give the procedure of the Delphi method. 1. The co-ordinator shows a specification and estimation form to each expert. 2. Co-ordinator calls a group meeting in which the exp

What are the main objectives of reverse engineering, Q. Define Reverse Engi...

Q. Define Reverse Engineering? What are the main objectives of reverse engineering? Ans: The reverse engineering is the procedure of generating representations that are imple

Explain fan in, FAN IN is simply a count of the number of other Components...

FAN IN is simply a count of the number of other Components that can call, or pass control, to Component A.

What is iso 9000 certification, What is ISO 9000 certification? Qualit...

What is ISO 9000 certification? Quality standards and procedures should be recognized in an organisational quality manual An external body may confirm that an organisation'

Explain the bath tub curve of hardware reliability, Q. Explain the bath tub...

Q. Explain the bath tub curve of hardware reliability? Ans: As indicated in the diagram below there are three phasing in the life of whichever hardware component that is burn

Write Your Message!

Captcha
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