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

Creating the field selection table - database definition, Creating the Fiel...

Creating the Field Selection Table (FST) : Entering of data and creating indexes for searching is a very important feature associated with any information storage and retriev

Explain evolutionary development model, Evolutionary Development model. ...

Evolutionary Development model.  Evolutionary Development Model : Evolutionary development model resembles iterative enhancement model. The similar phases as defined for the w

Describe structure-based testing techniques, Describe Structure-based testi...

Describe Structure-based testing techniques - Structure-based testing techniques are also known as white-box testing techniques. - They use internal structure of the softwar

Explain incremental model, Explain incremental model? The incremental ...

Explain incremental model? The incremental model is proposed by D.L PARNAS. It is basically executed by combining elements of linear sequential model and iterative prototyping

What is intrusive testing, Testing that collects timing and processing info...

Testing that collects timing and processing information during program implementation that might change the behavior of the software from its behavior in a actual environment. Usua

Explain static multivariable model, Q. Explain Static multivariable model? ...

Q. Explain Static multivariable model? They relies on several variables representing various aspects of the software development environment for example methods used and user p

Cocomo 81 estimation model, You are preparing a bid for a refinery control ...

You are preparing a bid for a refinery control system for Australian Petroleum Ltd (APL) using the CoCoMo 81 estimation model. You are familiar with industrial control system softw

December 2010, differentiate between structured analysis and structured des...

differentiate between structured analysis and structured design

Explain equivalence class partitioning, Explain Equivalence Class Partition...

Explain Equivalence Class Partitioning Equivalence Class Partitioning: It is a method in black box testing. It is designed to decrease the number of test cases by dividing 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