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 iso 9000 certification, ISO 9000 certification Quality standard...

ISO 9000 certification Quality standards and procedures should be documented in an organisational quality manual. An external body might be certify that an organisation's qu

Explain exhaustive testing, Implementing the program with all possible comb...

Implementing the program with all possible combinations of values for program variables. Feasible only for small, simple programs.

Span and average span size of a program, Q. Explain Span and average span s...

Q. Explain Span and average span size of a program? Span dimension indicates the number of statements that pass between successive uses of a variable. For illustration in the f

Define the concept of SRS, Define the concept of SRS An SRS clearly def...

Define the concept of SRS An SRS clearly defines following:  • External Interfaces of the system: They identify information which is to flow 'from and to' to the system.

Illustrate about web-testing, Illustrate about web-testing - Web testin...

Illustrate about web-testing - Web testing is software testing concentrating on web applications. - It assists in addressing issues before making the application live to pub

What is boundary data- Test data, What is boundary data- Test data Ex...

What is boundary data- Test data Extreme/boundary data -  This is data at the limits of validity/acceptability (for instance, if a date is being input, two values at the

How abstraction used in stepwise refinement, Q. How Abstraction used in ste...

Q. How Abstraction used in stepwise refinement? Abstraction:- Abstraction permits one to concentrate on a problem at some level of generalization without regard to irrelevant l

Unix, A friend has promised to log in at a particular time. However, he nee...

A friend has promised to log in at a particular time. However, he needs to be contacted as soon as he logs in. The shell script checks after every minute whether he has logged in o

What do you mean by class, Q. What do you mean by class? A class is a t...

Q. What do you mean by class? A class is a template that specifies the properties of objects. Classes have an interface that consists of the operation a body which implements t

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