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 exhaustive testing, Implementing the program with all possible comb...

Implementing the program with all possible combinations of values for program variables. Feasible only for small, simple programs.

Explain about token count - software metrics, Q. Explain about token count ...

Q. Explain about token count - software metrics? Token count :- A program is considered to be series of tokens and if we count the number of tokens, some interesting results m

Importance of function point, Importance of function point:    This is ...

Importance of function point:    This is independent of the languages tools, or methodology used for execution. They can be estimated from requirement specification or desig

Write short notes on empirical estimation models, Write short notes on empi...

Write short notes on empirical estimation models. Estimation model for computer software uses empirically derived formulas to assume effort as a function of line of codes (LOC)

Explain the phased waterfall model, Explain the Phased Waterfall Model ...

Explain the Phased Waterfall Model It is a type of waterfall model where the project is separated into small phases and delivered at intervals by dissimilar teams. Different Te

Draw a memory map for a system, Draw a memory map for a system with a memor...

Draw a memory map for a system with a memory capacity of 256MB. Each memory location in the system is 8 bits. Assume the system has one 4 MB memory block used as ROM residing at th

Cairs library management system , CARS-LMS: In this section let us try...

CARS-LMS: In this section let us try to learn about a different software package, which is commonly used in some of the libraries abroad. The package is known as CAIRS/LMS or

IEEE 802.3, what is meant by 345 rule in IEEE 802.3 ?

what is meant by 345 rule in IEEE 802.3 ?

Explain about special value testing, Q. Explain about Special Value Testing...

Q. Explain about Special Value Testing? Special Value Testing is the form of functional testing. Special value testing take places when a tester uses his or her domain knowle

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