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 are the elements of computer based systems, What are the elements of C...

What are the elements of Computer based Systems? Software: Data structures, Computer programs, & related document Hardware: Electronic devices, inter connectivity devices, E

Srs, Why SRS document is also called as boack-box specification of a system...

Why SRS document is also called as boack-box specification of a system

State lehmans first law, State Lehman's First law. A program that is u...

State Lehman's First law. A program that is used in true world environment essentially must change or become progressively less useful in that environment.

Ethical issue moduel, i want to select topic to my ethical issues assignmen...

i want to select topic to my ethical issues assignment can u propose reasonable topic?

Key process areas of capability maturity model (cmm), Key process areas of ...

Key process areas of Capability Maturity model (CMM) Effectiveness, Predictability and control of an organization's software processes are believed to get better as the organiz

Software design by using stacks and queues, Instructions: For this assignm...

Instructions: For this assignment, you will be using stacks and queues to solve a maze in a couple of different ways. You are supplied with code to start you off. When run, it ope

Difference between pilot and beta testing, Difference between Pilot and Bet...

Difference between Pilot and Beta Testing. Pilot testing includes having a group of end users try the system prior to its full deployment in order to give feedback on its perfo

What are the challenges in software, What are the challenges in software?  ...

What are the challenges in software?  Copying with legacy systems. Heterogeneity challenge  Delivery times challenge

Post-production design feedback for future designs, Q. Post-production desi...

Q. Post-production design feedback for future designs ? Post-production design feedback for future designs Implementation it is introducing the designed solution into

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