Author Question: Explain both the demand-side and the supply-side considerations when choosing the hardware platform ... (Read 53 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?

No drugs are available to relieve parathyroid disease. Parathyroid disease is caused by a parathyroid tumor, and it needs to be removed by surgery.

Did you know?

Autoimmune diseases occur when the immune system destroys its own healthy tissues. When this occurs, white blood cells cannot distinguish between pathogens and normal cells.

Did you know?

All adults should have their cholesterol levels checked once every 5 years. During 2009–2010, 69.4% of Americans age 20 and older reported having their cholesterol checked within the last five years.

Did you know?

Your skin wrinkles if you stay in the bathtub a long time because the outermost layer of skin (which consists of dead keratin) swells when it absorbs water. It is tightly attached to the skin below it, so it compensates for the increased area by wrinkling. This happens to the hands and feet because they have the thickest layer of dead keratin cells.

Did you know?

The most common childhood diseases include croup, chickenpox, ear infections, flu, pneumonia, ringworm, respiratory syncytial virus, scabies, head lice, and asthma.

For a complete list of videos, visit our video library