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

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

What are the benefits of smoke testing, What are the benefits of smoke test...

What are the benefits of smoke testing? Integration risk is decreased. The quality of the end-product is better. Error diagnosis and correction are simplified. Assessment of pr

Draw an entity-relationship model, (a) Draw an Entity-Relationship model f...

(a) Draw an Entity-Relationship model for the relational schema given in the Appendix. Show all the entities, relationships, relationship names, and attributes and also underline

What is walkthrough, What is Walkthrough? Ans) Usually, a step-by-step s...

What is Walkthrough? Ans) Usually, a step-by-step simulation of the implementation of a procedure, as when walking by code, line by line, with an imagined set of inputs. The wor

Define top-down testing, Define top-down testing. System developed star...

Define top-down testing. System developed starting from most general modules. Testing begins from the most general module.

Cohesion, Cohesion for Each Module? Compute average daily temperatures at v...

Cohesion for Each Module? Compute average daily temperatures at various sites Initialize sums and open files Create new temperature record Store temperature record Close files and

Explain validation, Validation (Product Oriented) Validation is worried...

Validation (Product Oriented) Validation is worried with whether the right functions of the program have been properly executed, and that this function will properly make the c

What is failure-directed testing, What is Failure-directed Testing Ans) ...

What is Failure-directed Testing Ans) Testing based on the information of the types of errors made in the earlier period that are likely for the system under test.

Define software lifecycle, Define Software Lifecycle. Software Lifecycl...

Define Software Lifecycle. Software Lifecycle is the time period beginning with the idea for a Software product ending whenever the Software is unavailable for use. SLC = SL

Determine ways to handle concurrency, How to handle concurrency:  Mech...

How to handle concurrency:  Mechanisms Locks Semaphores Monitors Synchronized methods Methods Deadlock avoidance Verification Sim

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