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 cocomo, Problem 1. Explain different roles of the software deve...

Problem 1. Explain different roles of the software development? 2. What is conflict management? Explain various causes for conflict 3. What is COCOMO? Explain COCOMO mode

Quality control concept, (i) Concept definition of Quality Control and Qual...

(i) Concept definition of Quality Control and Quality Assurance (ii) Tools used in quality control (iii) Acceptance sampling and process control (iv) Statistical tools for

Why do dns root servers hold entries for two-level, QUESTION - Name Service...

QUESTION - Name Services (a) Illustrate with help of a diagram the results of a DNS lookup and an ARP lookup assuming we are using IPv4. (b) Why do DNS root servers hold en

Illustrate intermediate COCOMO model, Q.Illustrate Intermediate COCOMO mode...

Q.Illustrate Intermediate COCOMO model ? The intermediate COCOMO model approximation the software development effort by using 15 cost drivers' variables besides the size variab

Design and implementation constraints, The Clue-Less system shall operate w...

The Clue-Less system shall operate with the following Web browsers: Microsoft Internet Explorer, Mozilla Firefox, Google Chrome, and Safari. OE-2: The Clue-Less system shall

Joomla, want to learn joomla

want to learn joomla

Illustrate about the waterfall model, Waterfall Model It is the oldest...

Waterfall Model It is the oldest, simplest and most widely used process model. In waterfall model, every phase of the life cycle is finished before start of a new phase. It's

Database mapping, database mapping from class to database

database mapping from class to database

Define process maturity, Define process maturity. In recent years there...

Define process maturity. In recent years there has been a important emphasis on process maturity. The Software Engineering Institute. (SEI) has developed a comprehensive model

Show the reasons of current software crisis, Q. Show the Reasons of current...

Q. Show the Reasons of current software crisis? larger problem sizes, increasing skill shortage, and lack of adequate training in software engineering,

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