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 are the elements of design model, What are the elements of design mode...

What are the elements of design model? i. Data design ii. Architectural design iii. Interface design iv. Component-level design

What are the umbrella activities of a software process, What are the umbrel...

What are the umbrella activities of a software process? Software project tracking and control. Risk management. Software Quality Assurance. Formal Technical Reviews.

What is regression testing, What is regression testing? Regression test...

What is regression testing? Regression testing is the re-execution of some subject texts that have already been conducted to make sure that changes have not propagated unintend

Explain the software design process, What is the work product of software d...

What is the work product of software design process and who does this? A design model that encompasses architectural, component level, interface and their representations is t

State the both cardinality and modality, Define Cardinality & Modality. ...

Define Cardinality & Modality. Cardinality: Specification of the number of occurrences of one that can be correlated to number of occurrences of another. Modality: The Moda

Define partitioning, Partitioning:- Problems are often too large and diffi...

Partitioning:- Problems are often too large and difficult to be understood as a whole. For this reason, we tend to partition such difficulties into parts that can be easily unders

What is cmm and cmmi, CMM = 'Capability Maturity Model', now known as the C...

CMM = 'Capability Maturity Model', now known as the CMMI ('Capability Maturity Model Integration'), developed by the SEI. It's a model of five levels of process 'maturity' that ver

Computing fundamentals, Construct an E-R diagram for a department store dat...

Construct an E-R diagram for a department store database. This database contains information about customers, items they order, departments in the store, employees, and suppliers o

What is entity, What is Entity  It is most elementary thing of an organ...

What is Entity  It is most elementary thing of an organisation about which data has to be maintained. Each entity has unique identity. It's represented by rectangular box with

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