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 a cohesive module, What is a cohesive module? A cohesive module...

What is a cohesive module? A cohesive module performs only "one task" in software process with little interaction with other modules. In other words cohesive module performs on

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

Program to simulate protein synthesis from dna, Overview In this assig...

Overview In this assignment, your program will simulate protein synthesis from DNA. Speci_cally, it reads a DNA string from a file specified on the command line, synthesizes th

Software restructuring, Software restructuring Software restructuring c...

Software restructuring Software restructuring changes source code and / or data an effort to make it amenable to future changes. In general, restructuring does not change the o

Explain the structured requirements definition, Explain the Structured Requ...

Explain the Structured Requirements Definition Structured Requirements definition is an approach to perform study about complete system and its various sub-systems, external ou

Usual stages of the simplified design process, Q. Usual stages of the simpl...

Q. Usual stages of the simplified design process? Pre-production design Design brief it is an early often the beginning statement of design goals Analysis i

What is structured programming explain, Q. What is structured programming a...

Q. What is structured programming and why is it important? Ans. Structured programming is a term that was coined in the late 1960's to mean programming without using go to st

Define behavioral modelling, Define Behavioral Modelling The state tran...

Define Behavioral Modelling The state transition diagram represents the behavior of a system by depicting its states and the events that cause the system to change state.

Define the optimising level of maturity model, Level 5 (Optimising) O...

Level 5 (Optimising) Organisation satisfies all the requirements of level-4. This is final level. Organisation at this maturity level is considered almost perfect. At this st

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