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 test file generators and test harness systems, Q. What is Test file...

Q. What is Test file generators and test harness systems? Test file generators: This creates a file of information that is utilized as the program and does so based on commen

Define data objects attributes and relationship, Define Data objects, attr...

Define Data objects, attributes & relationship. Data object: Illustration of any composite information that must be understood by a software. It can be any external entity. Att

Explain in detail about the real time systems, Explain in detail about the ...

Explain in detail about the real time systems. Hard and soft real time systems. Real time and high performance. Real-Time control. Real time software design P

Explain equivalence partitioning, What is equivalence partitioning? Equ...

What is equivalence partitioning? Equivalence partitioning is a black box procedure that divides the input domain into classes of data. From this data test cases can be foun

What is data flow analysis, What is Data Flow Analysis? Ans) Having of t...

What is Data Flow Analysis? Ans) Having of the graphical analysis of collections of (sequential) data definitions and reference patterns to verify constraints that can be placed

What is parkinsons law, What is Parkinson's Law? Parkinson's Law states...

What is Parkinson's Law? Parkinson's Law states that work expands to fill the time available. The cost is fixed by available resources rather than by objective assessment.

What is requirement elicitation methods, Q. What is requirement elicitation...

Q. What is requirement elicitation methods? Subsequent to receiving the problem statement from the customer the first step is to arrange a meeting with the customer. During the

How do software myths affect a software process, Q 1 Define a software proc...

Q 1 Define a software process. How do software myths affect a software process? Ans: A Software process is a Coherent set of activities for designing, specifying, implementin

Explain static analysis, Explain Static analysis? Ans) (1) Analysis of a...

Explain Static analysis? Ans) (1) Analysis of a program that is performed without implementing the program. (2)The process of assessing a system or component based on its for

Explain the design steps of the transform mapping, Explain the design steps...

Explain the design steps of the transform mapping. Review the fundamental model. Review and refine the DFD for the software. Verify whether the DFD has the transf

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