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

Recreating Sections of Google+ in C, Create a compound data type called Pos...

Create a compound data type called Post to store messages posted on Google+. Post should include: Name / Data Type / Description date / char [9] / date fields for

Explain basis path testing, Explain Basis Path Testing? Ans) Basis path ...

Explain Basis Path Testing? Ans) Basis path testing is a white-box method. It permits the design and definition of a basis set of execution paths. The test cases created from th

Preventive and protective strategies in Cyber Secur, After users are authe...

After users are authenticated, what measures can be employed in order to maintain security when users are away from their computers? 2. Discuss ways in which the use of strong au

Explain cocomo model with its applicable equations, Q. Explain COCOMO model...

Q. Explain COCOMO model with its applicable equations. Describe various attributes of cost drivers used in COCOMO model. Ans. COCOMO denotes for constructive cost model -

Explain predictive validity, Q. Explain Predictive validity? Predictiv...

Q. Explain Predictive validity? Predictive validity: It is the potential of the model to predict future failure behaviour from present and past failure behaviour. This capabi

Show the importance of function point, Q. Show the Importance of function p...

Q. Show the Importance of function point? Importance of function point: - This is self-determining of the languages tools or methodology used for implementation. - They

What is test objective, An identified set of software features to be calcul...

An identified set of software features to be calculated under specified conditions by comparing actual behavior with the needed behavior described in the software documentation.

Explain the term in brief-test script and test specification, Explain the t...

Explain the term in brief- Test Script and Test Specification: Test Script: - It is generally used to refer to instructions for a particular test which will be carried out

Explain the various phases of SDLC, Explain the Various phases of SDLC ...

Explain the Various phases of SDLC Various phases of SDLC are defined as below: Requirements Analysis Design Coding Software Testing Maintenance.

Need of data dictionaries, Objectives of Data dictionaries:- 1) A stand...

Objectives of Data dictionaries:- 1) A standard definition of every terms in a system that is each item of data is uniquely identified and defined. 2) Simple cross-referenci

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