A quick look at the traditional approach 

The traditional approach uses polling to check whether the stock price has changed. The following sequence diagram shows the traditional approach of building such a use case:

Once the page is rendered, it sends AJAX requests to the stock price service for the latest price, at regular intervals. These calls have to be done irrespective of whether the stock price has changed, since the web page does not have any knowledge of the stock price change.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset