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

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 meant by software change, What is meant by software change? Sof...

What is meant by software change? Software change is explained as the change in nature of software as the needs of software changes.

Software requirements specification, A Software Requirements Specification...

A Software Requirements Specification (SRS) is a complete description of the behavior of the system to be developed. It includes a set of use cases, describing the interactions

What is ripple effect, Q. What is ripple effect? How does it affect the sta...

Q. What is ripple effect? How does it affect the stability of a program? Ans. The ripple effect is a term used to explain a situation where like the ever expanding ripples

Functional requirement for an library management system, Write down the fun...

Write down the functional requirement for an Library management system. The user should able to search either all of the initial set of databases or select a subset of datab

Script file, how to make script file volume of pyramid

how to make script file volume of pyramid

What is a test build manager, Test Build Managers deliver present software ...

Test Build Managers deliver present software versions to the test environment, install the application's software and relate software patches, to both the application and the opera

What is validation testing, What are the conditions exists after performin...

What are the conditions exists after performing validation testing? After performing the validation testing there exists two conditions. The function or performance characteris

What is heuristics testing, What is Heuristics Testing? Ans) Heuristics ...

What is Heuristics Testing? Ans) Heuristics Testing is the failure-directed testing.

What are the debugging programs, Q. What are the Debugging programs? De...

Q. What are the Debugging programs? Debugging programs:-A program which runs simultaneously with the program under test and provides commands to examine memory and registers st

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