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 test data generators - testing tools, Q. Explain Test data generato...

Q. Explain Test data generators - testing tools? Test data generators: this is a hard one and at lease for the present is one for which no general solution exists. One of the

What is the objective of regression testing, The aim of regression testing ...

The aim of regression testing is to test that the fixes have not formed any other problems elsewhere. The aim is to ensure the software has remained intact. A baseline set of data

SOFTWARE, EXPLAIN COMPONENTS OF DATABASE MANAGEMENT

EXPLAIN COMPONENTS OF DATABASE MANAGEMENT

How to compute the cyclomatic complexity, How to compute the cyclomatic com...

How to compute the cyclomatic complexity? The cyclomatic complexity can be computed by any one of the following ways. 1. The numbers of regions of the flow graph correspond

What is security testing, What is security testing? Security testing at...

What is security testing? Security testing attempts to determine that protection mechanism built into a system will protect it from improper penetration.

Define the structural testing, Q. Define the Structural Testing? For a ...

Q. Define the Structural Testing? For a moment it called white-box testing. At this point derivations of test cases are according to the program structure. Knowledge of the pro

List the process maturity levels in seis cmm, List the process maturity lev...

List the process maturity levels in SEIs CMM. Level 1: Initial - Few processes are explained and individual efforts are taken. Level 2:Repeatable - To track cost schedule an

Explain the cardinality and optionally, Cardinality & Optionally Card...

Cardinality & Optionally Cardinality represents the relationship between two entities. Consider one to many relationship between two entities -student andclass. Here cardinal

Why is good design important for a product, Q. Why is good design important...

Q. Why is good design important for a product? Ans: A superior design is the key to successful product. Almost 2000 years previously a Roman Architect recorded the followin

What is execution, What is Execution Ans) The process of a computer gett...

What is Execution Ans) The process of a computer getting out an instruction or instructions of a computer. Exhaustive Testing: Implementing the program with all possible combina

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