Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

How would you implement such a system? Distributed systems are difficult to implement but they are even more difficult to test! Suppose somebody wants you

image text in transcribedHow would you implement such a system?

Distributed systems are difficult to implement but they are even more difficult to test! Suppose somebody wants you to implement a news aggregator application. The application is a client- server application in which the client and the server communicate through a socket-based HTTP- like protocol. The server aggregates news from news-producing servers and shows the latest news to the client upon request. The protocol between the server and news servers is such that the server will know once news servers have new information. The list of news servers on the server can be appended with other news servers that the client wants to observe. How would you implement such a system? In your answer, you will want to consider the following questions: What is the communication protocol between the client and server? What requests will the client perform? What will the server reply? What is the communication protocol between the server and the news servers? How will the server know that there is new information on any of the news servers? Is it a push mechanism or a pull mechanism? Why? How will you ensure that your application can sustain more than one client? Say you've implemented the above application. How will you test it? In your answer, you will want to consider the following questions What is the normal operation mode for this application? In a single-client mode, what are the possible breaking points in your application? In a multiple-client mode, what are the possible breaking points in you application? How will you reproduce them? What is the pseudo-code for your testing harness

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

More Books

Students also viewed these Databases questions

Question

How can expectations and perceptions be managed?

Answered: 1 week ago

Question

2. Identify and choose outcomes to evaluate a training program.

Answered: 1 week ago

Question

6. Conduct a cost-benefit analysis for a training program.

Answered: 1 week ago