Author Question: Explain both the demand-side and the supply-side considerations when choosing the hardware platform ... (Read 65 times)

Medesa

  • Hero Member
  • *****
  • Posts: 507
Explain both the demand-side and the supply-side considerations when choosing the hardware platform for an e-commerce site. Include a discussion of I/O-intensive vs. CPU-intensive operations and scalability.
 
  What will be an ideal response?

Question 2

All of the following are methods of improving the processing architecture of a website except:
 
  A) separating static content from dynamic content.
  B) optimizing ASP code.
  C) optimizing the database schema.
  D) adding web servers.



Perkypinki

  • Sr. Member
  • ****
  • Posts: 339
Answer to Question 1

The hardware platform refers to the underlying computing equipment that a system will need in order to perform all of the necessary e-commerce functions. You must have enough platform capacity to meet peak demand, without overinvesting in unnecessary and expensive equipment. The question is: How much computing and telecommunications capacity will be enough to meet that peak demand?

On the demand side, the first factor to consider is the maximum number of simultaneous users your site experiences. System performance will degrade as more simultaneous users request service. Processing HTTP requests for static pages is an I/O or input/output intensive operation, meaning that it does not require heavy-duty processing power. However, as customers request more advanced services such as searching the site, registering with the site, filling a shopping cart and checking out, and particularly downloading large multimedia files, much more processing power is required and site performance can deteriorate rapidly. The user profile on your site will help to determine the necessary hardware platform. What types of requests will users on your site make, for how many pages, and for what kind of service? Another factor to consider is the nature of the content on your site. If your site uses dynamic page generation and business logic, as does the shopping cart, the load on the processor increases rapidly. These types of requests are CPU-intensive operations, meaning that they require a great deal of processing power. Any user interactions that require interfacing with a database, such as filling out forms, adding items to the shopping cart, making purchases, or filling out customer questionnaires, require lots of processing power. The final factor to consider on the demand side is the telecommunication link your site has to the Web. The number of hits your site can handle per second depends on the bandwidth connections between your server and the Web. The larger the available bandwidth, the more simultaneous users your site can handle. The connection to the client is also a consideration. As consumers embrace broadband connections, they will be able to make far more frequent requests and will demand richer content from your site. This increased demand will mean that additional capacity requirements may be needed.

After you have estimated the present and future demands you expect your site to have, you will have to look at the supply side considerations. First and foremost is scalability. How will your site be able to increase in size as demand warrants? You can scale your site vertically by upgrading the servers from single processor to multiple processors. The drawbacks are that this can become expensive with each growth cycle and that the site becomes overly dependent on just a small number of powerful machines. You can scale your site horizontally by adding multiple single processor servers and balancing the load among many servers.

This can be less expensive as you can use older PCs that would otherwise be discarded, but you will have to purchase special load-balancing software. The main drawbacks are that the size of the physical facility must increase and that there is added management complexity. Perhaps the best method for meeting the demands for service on your site is to improve the processing architecture of your site by splitting the workload up into I/O-intensive and CPU-intensive operations. Then you can fine-tune the servers to handle each type of workload. You can add RAM to servers that will store the HTML pages, reducing the load on the hard drives, and move the CPU-intensive activities to high-end multiple processor servers that are dedicated to handling a particular task such as order processing and accessing the necessary databases. These steps will enable you to reduce the number of servers required to handle your peak demand.

Answer to Question 2

D



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
 

Did you know?

Every flu season is different, and even healthy people can get extremely sick from the flu, as well as spread it to others. The flu season can begin as early as October and last as late as May. Every person over six months of age should get an annual flu vaccine. The vaccine cannot cause you to get influenza, but in some seasons, may not be completely able to prevent you from acquiring influenza due to changes in causative viruses. The viruses in the flu shot are killed—there is no way they can give you the flu. Minor side effects include soreness, redness, or swelling where the shot was given. It is possible to develop a slight fever, and body aches, but these are simply signs that the body is responding to the vaccine and making itself ready to fight off the influenza virus should you come in contact with it.

Did you know?

In ancient Rome, many of the richer people in the population had lead-induced gout. The reason for this is unclear. Lead poisoning has also been linked to madness.

Did you know?

Every 10 seconds, a person in the United States goes to the emergency room complaining of head pain. About 1.2 million visits are for acute migraine attacks.

Did you know?

Ether was used widely for surgeries but became less popular because of its flammability and its tendency to cause vomiting. In England, it was quickly replaced by chloroform, but this agent caused many deaths and lost popularity.

Did you know?

All adverse reactions are commonly charted in red ink in the patient's record and usually are noted on the front of the chart. Failure to follow correct documentation procedures may result in malpractice lawsuits.

For a complete list of videos, visit our video library