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 random testing, What is Random Testing? This is one of process...

What is Random Testing? This is one of process used to exercise a class. It is based on developing a random test series that tries the minimum number of operations typical to th

Data modeling and normalization, The task in this project is to design a no...

The task in this project is to design a normalized database that could be used to collect and store information for a video rental outlet. The database should be structured to s

Difference between module coupling and module collection, What is the diffe...

What is the difference between module coupling and module collection? Cohesion is the property of a one module and can be defined as glue that keeps the data elements within a

What is a state transition diagram, What is a state transition diagram? ...

What is a state transition diagram? State transition diagram is basically a collection of states and events. The events cause the system to change its state. It also show what

Evaluate the bulleted list of information-related items, It goes by many te...

It goes by many terms - information overload, analysis paralysis, data dumping, and so on. You know what we're talking about. It is indeed greater to live in the information age wi

Software engineering, Software Engineering A  high technology system e...

Software Engineering A  high technology system encompasses a  number of  elements like   people, hardware, software, database, documentation, and process.  System engineering

Discuss in details the design principles, Discuss in details the design pri...

Discuss in details the design principles. The design process is free from tunnel vision. The design should be observable to the analysis model. Design should not reinv

Define the product metrics, Q. Define the Product metrics? (i) Product ...

Q. Define the Product metrics? (i) Product metrics: Explains the characteristics of the product such as complexity, size, design features, performance, efficiency, reliability,

How can we re-engineering of any product, How can we re-engineering of any ...

How can we re-engineering of any product One additional difficulty in adopting this approach is large investment which exists in software system maintenance. It requires additi

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