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 in detail about structural modelling, Explain in detail about Struc...

Explain in detail about Structural Modelling. Structural model contains a detail refinement of ERD, data flow model and control flow model. Creating an ERD. Examp

Compute act and the total cost of the system, a) Define Annual Change Traff...

a) Define Annual Change Traffic (ACT) and Annual Maintenance Effort (AME) of Boehm model. b) For a software system of 90 KLOC, 5KLOC of code was added. The initial development

Illustrate basic COCOMO model, Q. Illustrate Basic COCOMO model? Basic ...

Q. Illustrate Basic COCOMO model? Basic COCOMO model:- It provides an order of magnitude of cost. This model utilizes estimated size of software project and the type of softwar

Describe dom browser extension, Describe DOM browser extension. - Docum...

Describe DOM browser extension. - Document Object Model (DOM) browser extension is a SilkTest add-on component for testing Web applications. - DOM browser extension communic

Name the techniques used in behavioural model, Name the techniques used in ...

Name the techniques used in behavioural model In conventional approach of modeling, analyst collects great deal of comparatively unstructured data through data gathering tools

What is usability, What is Usability? Ans) "Usability" means simple of u...

What is Usability? Ans) "Usability" means simple of use; the simple with which a user can learn to control, prepare inputs for, and intended the outputs of a software product.

Data Flow Diagram, I need help creating a DFD for an assignment. Is there a...

I need help creating a DFD for an assignment. Is there anyway you could help?

What is control coupling, Q. What is Control coupling? Control couplin...

Q. What is Control coupling? Control coupling: Module A as well as B are said to be control coupled if they communicate by passing of control information. This is typically a

Draw dfd for the given requirement, A store is in the business of selling p...

A store is in the business of selling paints as well as hardware items. A numeral of reputed companies supplies items to the store. New suppliers are able to also register with the

What is relationship, What is Relationship Entities are associated t...

What is Relationship Entities are associated to each other by relationships. It denotes how two entities are associated. A diamond notation with name of relationship signifi

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