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

Define fan-in and fan-out, Define Fan-in & Fan-out. Fan-out - A measure...

Define Fan-in & Fan-out. Fan-out - A measure of the number of modules that are directly controlled by another module. Fan-in-  Shows how many modules directly control a give

Explain the software scope, Define software scope. The first software p...

Define software scope. The first software project management activity is the determination of software scope. Scope is defined answering the following questions. Context: Wh

How does the risk factor affect the spiral model, Q. How does the risk fact...

Q. How does the risk factor affect the spiral model of software development? Ans: Risk Analysis phase is the most vital part of Spiral Model. In this phase all probable (and

Describe the various types of restructuring techniques, Q.  Describe the v...

Q.  Describe the various types of restructuring techniques? Ans. Software restructuring modifies source code as well as data an effort to make it amenable to future changes

Describe the main categories of e-commerce, Question 1: (a) A company w...

Question 1: (a) A company wishes to under-go a Business Process Re-engineering activity with respect to its core business processes. Explain the extent to which MIS could be

Classify the techniques into dynamic or static, Classify the below techniqu...

Classify the below techniques into dynamic or static. i. Data Flow Analysis. ii. Use Case Testing. iii. Equivalence Partitioning. iv. Exploratory Testing. v. Inspec

What is path analysis, What is Path Analysis? Ans) Program analysis perf...

What is Path Analysis? Ans) Program analysis performed to identify all possible paths through a program, to detect incomplete paths, or to discover portions of the program that

Explain in detail about data modeling, Explain in detail about data modelin...

Explain in detail about data modeling Data modeling creates use of the ERD. Having of 3 interrelated information. The data object. Relationships. Attributes

What is recovery testing and security testing, What is recovery testing and...

What is recovery testing and Security testing  Recovery testing is system tests that bind the software to fail in a variety of ways and justify that recovery is correctly perf

Determine the cyclomatic compexity, consider the following flow chart, a. D...

consider the following flow chart, a. Draw the flow graph and show the edges, regions and nods clearly b. show the independent paths c. calculate the cyclomatic complexity in three

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