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 the meaning of system engineering, What is the meaning of System En...

What is the meaning of System Engineering? System Engineering means designing, deploying, implementing and operating systems which include hardware, software and user.

In how many types requirements have been classified, In how many types requ...

In how many types requirements have been classified Requirements are classified in the below two types: i)  Functional requirements: They define the factors such as I/O fo

What is open box testing, Open box testing is similar as white box testing....

Open box testing is similar as white box testing. It's a testing approach that consider the application's program structure, and derives test cases from the application's program l

Event management information system in uml, Company Universal Consulting is...

Company Universal Consulting is a large consulting firm that specializes in IT consulting services for the Healthcare industry. The company employs over 2,000 dedicated IT professi

State the level 5 of key process areas, Level 5 KPAs 1)Defect Prevent...

Level 5 KPAs 1)Defect Prevention (DP): It discovers causes of defects and devises techniques which prevent them from recurring. 2)Technology Change Management (TCM): It

Explain the bath tub curve of hardware reliability, Q. Explain the bath tub...

Q. Explain the bath tub curve of hardware reliability? Ans: As indicated in the diagram below there are three phasing in the life of whichever hardware component that is burn

Explain different recording modes, Explain different recording modes. T...

Explain different recording modes. There are two type of recording modes: context sensitive and analog. - Context Sensitive - identifies GUI objects and records operations

What is process and procedures, Processes and procedures make sure the corr...

Processes and procedures make sure the correct steps are being implemented to facilitate a successful finished off a task. They also make sure a process is repeatable.

Determine the technique - parallel, Determine the technique - Parallel ...

Determine the technique - Parallel With this approach, old and new systems are run together for a time  -  If new system goes down for any reason, you still have old system

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