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

Write definition of dfd, Write definition of DFD? Data Flow Diagram sup...

Write definition of DFD? Data Flow Diagram supplies the information flow and the transforms that are used on the data as it moves from input to output.

PSEUDO CODE, You are to create a decision table to help you decide what to ...

You are to create a decision table to help you decide what to do for the day. If it is a weekday and it is not a holiday, then you go to work. However, if it is a weekday and it

Analyses the system design process of a project, Write a report which criti...

Write a report which critically analyses the system design process of a project. Projects might include designing a light rail network for a city, more environmentally-conscious bu

What is reverse engineering, What is reverse engineering?    It is a pr...

What is reverse engineering?    It is a process of examining software with a view to understanding its design and specification. -  In reverse engineering, source code and i

What is meant by data dictionary, What is meant by Data dictionary? The...

What is meant by Data dictionary? The Data dictionary is a prepared listing of all data elements that are pertinent to the system, with precise, rigorous explanations so that b

Explain basic execution time model, Q. Explain Basic Execution Time Model? ...

Q. Explain Basic Execution Time Model? The model was developed by the J.D. MUSA in 1979(MUSA79) and is based on execution time. It is presumed that failures may occur according

Aggregation between objects, Aggregation between objects Aggregation am...

Aggregation between objects Aggregation among objects shows a relationship. It is a whole/part relationship. Aggregation might be implying containment.

Software metrics, what is halstead software science measures

what is halstead software science measures

Explain effort adjustment factor, Q. Explain effort adjustment factor? ...

Q. Explain effort adjustment factor? All of the 15 attributes receives a rating on a six-point scale that ranges from very low to extra high (in importance or value). An endeav

SYSTEM ANALAYSIS AND DESIGN , #questionHomes R Us is a group of large depar...

#questionHomes R Us is a group of large department stores who wish to improve the customer service they decide they need a database to capture and store information relating to cus

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