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

Implementing an erp system at hawkins cookers ltd, Question : (a) What ...

Question : (a) What are the main characteristics of an ERP system? List the benefits and disadvantages of implementing an ERP system at Hawkins Cookers Ltd. (b) Explain the

Preventive and protective strategies in Cyber Secur, After users are authe...

After users are authenticated, what measures can be employed in order to maintain security when users are away from their computers? 2. Discuss ways in which the use of strong au

Configuration management, Configuration Management: Because of several ...

Configuration Management: Because of several reasons, software changes during its life cycle. As a result of the changes made, many versions of the software exist at one time.

Explain the relationship between productivity and difficulty, Q. Explain th...

Q. Explain the relationship between Productivity and difficulty? Productivity refers to metrics as well as measures of output from production processes per unit of input. Pr

Define quality control, Explain Quality control This includes checking ...

Explain Quality control This includes checking the software development process to make sure that procedures and standards are being followed. There are two approaches to qu

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

Explain inspection, Explain Inspection? Ans) An inspection is more forma...

Explain Inspection? Ans) An inspection is more formalized than a 'walkthrough', typically with 3-8 people containing a moderator, reader, and a recorder to take notes. The subje

Explain applicability, Applicability: It is another significant characteri...

Applicability: It is another significant characteristic of a model. The model should be judged by its degree of applicability across software products that change in size, structu

Explain in detail about black box testing, Explain in detail about Black bo...

Explain in detail about Black box testing. Black box or behavioural testing focuses on the functional needs of the software. It is applied during the last stage of testing.

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