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

Identify all activity dependencies in the project, Question: The activi...

Question: The activities in a project are given the PERT chart below: a) Identify all activity dependencies in the project. b) Clearly distinguish between critical

Determine the concept of concurrency, Determine the concept of Concurrency ...

Determine the concept of Concurrency The basic concept in computer programming is concept of handling more than one task at a time. Many programming problems need that the pro

The phases of a problem solving loop, Problem solving is a critical skill f...

Problem solving is a critical skill for success in business—in fact it’s often what you are hired and paid to do. This article explains the five problem solving steps and provides

What is gamma testing, Gamma testing is testing of software that does have ...

Gamma testing is testing of software that does have all the needed features, but did not go by all the in-house quality checks.

What is the need for obtaining ISO 9000 certification, Q. What is the need ...

Q. What is the need for obtaining ISO 9000 certification? The need for obtaining ISO 9000 certification :- Confidence of customers in an organization improves when orga

Explain the meaning of the three-tier architecture, QUESTION (a) Explai...

QUESTION (a) Explain the meaning of the three-tier architecture (b) An Internet banking system can be said to be based on a three-tier architecture. Illustrate this with a d

what is virtual address, In virtual storage systems, virtual addresses ar...

In virtual storage systems, virtual addresses are allocated to auxiliary storage locations. The use of virtual addresses permit those locations to be accessed as by they were part

What are the advantages of evolutionary prototyping, What are the benefits ...

What are the benefits of evolutionary prototyping? i. Fast release of the working system. ii. User is engaged while developing the system. iii. More functional system can

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