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

Explain integration testing, 1. An orderly development of testing in which ...

1. An orderly development of testing in which software elements, hardware elements, or both are joined and tested, to check out their interactions, unless the entire system has bee

Need help with my program deadline is tomoroow , I have a vb.net applicatio...

I have a vb.net application i would like to add database function + coding the the function to let the application work and also to add a login window for the customers + custom

Design and run the usability testing, You have been commissioned to design ...

You have been commissioned to design and run the usability testing for an upcoming e-commerce website that will sell computing hardware and software. In this first part of the

Different phases of the rational unified process, Problem: (a) Briefly...

Problem: (a) Briefly explain the different phases and workflows of the Rational Unified Process. (b) What are the two benefits that might be gained when using such a life-c

State the both cardinality and modality, Define Cardinality & Modality. ...

Define Cardinality & Modality. Cardinality: Specification of the number of occurrences of one that can be correlated to number of occurrences of another. Modality: The Moda

What are the functions of data architecture, What are the functions of data...

What are the functions of data architecture? It gives the information needed for a business function. Recognize the data objects and their relationship. Eg: Custome

Define the product metrics, Q. Define the Product metrics? (i) Product ...

Q. Define the Product metrics? (i) Product metrics: Explains the characteristics of the product such as complexity, size, design features, performance, efficiency, reliability,

explain equivalence partitioning, Describe Equivalence Partitioning An...

Describe Equivalence Partitioning Ans) Input data of a program is separated into different categories so that test cases can be developed for every category of input data. The g

Explain cyclomatic complexity, What is cyclomatic complexity? Cyclomati...

What is cyclomatic complexity? Cyclomatic complexity is given by McCabe. The general formula to compute cyclomatic complexity is M=V (G)=E - N + 2P Where E-Number of e

What is quality assurance (qa), (1)The planned systematic activities essent...

(1)The planned systematic activities essential to make sure that a component, module, or system conforms to established technical requirements. (2) All actions that are taken to

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