Question: Recall the eStore exercise we developed in a previous exercise. In this exercise we want to do some analysis of the performance of this eStore

Recall the eStore exercise we developed in a previous exercise. In this exercise we
want to do some analysis of the performance of this eStore for the particular case of the search function. We will simplify the problem further and we assume that that the objects instantiated are:
1. A user of class User.
2. A website of class Website.
3. A database of class Database.
Assume the following table of key functions: Turn in the following:
1. A sequence diagram showing how the search is conducted between the three different objects. The user can instantiate three types of searches: (1) keywordSearch, (2) isbnSearch, or (3) authorNameSearch.
2. From the sequence diagram create a search execution model diagram and assign demand weights.
3. Assign probabilities for the search paths. You choose, but there is a constraint. What is it?
4. Calculate worst, best and average calculation times. Table 5.1: Service Demands
\begin{tabular}{|l||r|r|r|}
\hline Processing Step & 2x CPU & 1x I/O & 1x Network \\
\hline OpenPage() & 30 & 2 & 1\\
getCriteria() & 1030 & 3 & 1\\
keywordSearch() & 20000 & 0 & 0\\
isbnSearch() & 0 & 0 & 0\\
authorNameSearch() & 0 & 0 & 0\\
getBooks() & 0 & 0 & 0\\
displayResults() & 30 & 2 & 1\\
\hline Times (ms) & .001 & .02 & .1\\
\hline
\end{tabular}
Recall the eStore exercise we developed in a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!