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

Define process specification, Define Process Specification. Process Sp...

Define Process Specification. Process Specification is used to explain all flow model processes that appear at the final level of refinement. Check & Convert pressure Ch

Advantages of using mobile agents, Question: (a) Give three advantages...

Question: (a) Give three advantages of using mobile agents. (b) Distinguish between Static Itinerary Static Order (SISO) and Static Itinerary Dynamic Order (SIDO) mobility

Explain about total quality management, Q. Explain about Total Quality Mana...

Q. Explain about Total Quality Management? TQM is a part of management practices throughout the organization, geared to make sure the organization consistently exceeds or meets

Static single variable model and static multivariable model, Q. Static sing...

Q. Static single variable model and static multivariable model? Static single variable model : Methods using this model utilize an equation to estimate the desired value such

What is recovery testing, What is recovery testing? Recovery testing is...

What is recovery testing? Recovery testing is a system test that forces the software to fail in a various of ways and verifies that recovery is properly done.

Explain sci, What is SCI? Software Configuration Item is information th...

What is SCI? Software Configuration Item is information that is carried as part of the software engineering process.

What is partition testing, This method categorizes the inputs and outputs o...

This method categorizes the inputs and outputs of a class in order to test them separately. This decreases the number of test cases that have to be designed. To verify the diffe

Data dictionary, how to write data dictionary for course management system

how to write data dictionary for course management system

Explain in detail about structural modeling, Explain in detail about Struct...

Explain in detail about Structural Modeling. Structural model having a detail refinement of ERD, data flow model and control flow model. Creating an ERD. Example: Saf

What is parallel testing, Testing a new or an changed data processing syste...

Testing a new or an changed data processing system with the similar source data that is used in another system. The other system is taken as the standard of comparison.

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