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 what is the resource discovery problem, Question: (a) Explain ...

Question: (a) Explain what is the resource discovery problem? (b) Distinguish between centralized (hybrid) and decentralized (pure) peer to peer network? (c) Give an e

What is problem, What is Problem Any deviation from defined standards. S...

What is Problem Any deviation from defined standards. Similar as defect.

Determine in verify about capability maturity models, Determine in verify a...

Determine in verify about CAPABILITY MATURITY MODELS In this model anapproach for improving Software process is devised. It isn't concerned which life cycle modeis followed for

Write down any four application of a stack, Write down any four application...

Write down any four application of a stack. (i)  Conversion of infix to postfix form (ii)  Reversing of a line. (iii) Removal of recursion (iv) Evaluating post fix expression

Software engineer, Differance b/w Liner sequenrial modal with incremental m...

Differance b/w Liner sequenrial modal with incremental modal

What is software engineering, What is software engineering? Software en...

What is software engineering? Software engineering is a discipline in which theories, process and tools are applied to develop professional software.

Defect amplification model with no review, How can we know about to divide ...

How can we know about to divide numbers from total error from which half passed through error and half passed to amplified and how to generate defect efficiency?

What are the advantages of horizontal partitioning, What are the advantages...

What are the advantages of horizontal partitioning? i. Software is must be easy to check. ii. Software is handy to maintain. iii. Create fewer side effects. iv. Softwa

Explain cost drivers and eaf of intermediate cocomo model, Q. Explain the c...

Q. Explain the cost drivers and EAF of the intermediate COCOMO model? Ans. There are 15 different attributes described as cost drivers' attributes that determine the multiply

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