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

what is a user interface, What is a user interface Ans) "User interfac...

What is a user interface Ans) "User interface" is the interface among a human user and a computer system. It access the passage of information among a human user and hardware or

Advanced buttons and event detection, Question: Advanced Buttons and Ev...

Question: Advanced Buttons and Event Detection. a. With two ways to assign event handlers to buttons, which one do you preferably use and why? on(press) vs. onPress b. Wh

SRS, i want to make a case study of any topic of SRS but i am little confus...

i want to make a case study of any topic of SRS but i am little confuse about SRS plz give me Idea how to work in SRS and how to select a model

What is user friendly software, A computer program is "user friendly", when...

A computer program is "user friendly", when it is designed with simple of use, as one of the primary purposes of its design.

Patient management system for a hospital, Maintain you are involved in a la...

Maintain you are involved in a large project concerning the development of a patient management system for a hospital. You may opt for one of two plans. The first plan is to start

Explain the information flow continuity, What is meant by Information flow ...

What is meant by Information flow Continuity? When we refine a fundamental model for a system, the information flow continuity should be maintained .ie, input & output to each

Define cyclomatic complexity, Define Cyclomatic complexity Cyclomatic ...

Define Cyclomatic complexity Cyclomatic complexity :- This is a measure of the control complexity of a program. This control complexity may be connected to program understanda

The worker pool multi-threading architecture, QUESTION (a) Compare the ...

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? (

Calculate the development time, Q. Assuming the Putnam model and given S = ...

Q. Assuming the Putnam model and given S = 100,000 C = 5000 and D 0 = 15 calculate the development time t d.  Ans: In Putnam model (S/C ) 3 = D 0 t d 7 lhs = 20

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