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

Why we need restructuring techniques, Q. Why we need restructuring techniqu...

Q. Why we need restructuring techniques? The restructuring helps in maintaining a program in the following ways: (a) Programs have higher excellence better documentation l

December 2010, differentiate between structured analysis and structured des...

differentiate between structured analysis and structured design

What are the types of requirements, What are the Types of Requirements ...

What are the Types of Requirements There are numerous categories of the requirements. On the basis of their priority, requirements are classified into below 3 types: 1.

Full form of fast, FAST stands for :- FAST :- Facilitated Application...

FAST stands for :- FAST :- Facilitated Application Specification Technique

XML, Ask Create an XML file with markup tags and some sample data to repres...

Ask Create an XML file with markup tags and some sample data to represent a list of invoices.

Explain common coupling, Common coupling: Common coupling is when two modu...

Common coupling: Common coupling is when two modules share the similar global data (e.g. a global variable). Changing the shared resource implies changing all the modules using it

Name certain common tools which are used for load testing, Name certain com...

Name certain common tools which are used for load testing. - Rational Performance Tester by IBM Rational - Open STA an Open Source tool - LoadRunner by HP - Silk Perfo

Explain code inspection, A manual [formal] testing [error detection] method...

A manual [formal] testing [error detection] method where the programmer reads source code, statement by statement, to a group who ask questions determined the program logic, determ

Define the term software architecture, Define the term "software architectu...

Define the term "software architecture." The software architecture of a program or a computing system is the basic structure of the system, which comprises software components

What is maintenance, Define maintenance. Maintenance is defined as the ...

Define maintenance. Maintenance is defined as the procedure in which changes are executed by either modifying the existing system's architecture or by adding new mechanism to t

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