Tuesday, July 31, 2007

Amazon.com: Technology

To personalize the shopping experience for customers and deliver a quick response, the Amazon.com Web site must be able to recognize the user, determine which items to display, retrieve the items, and build a customized page fast enough that the user does not experience any real delay. According to the company’s senior manager of offering services, Tim Kohn, who supervises development of much of the software infrastructure, Amazon.com has been wedded to key principles in the architecture of its computing infrastructure: performance, reliability, and complete knowledge of how the infrastructure works. To satisfy the quest for performance and scalability, the company built a two-tier solution for a number of its databases: a large, back-end database tier coupled with a high-speed, distributed cache on the front end.
One of the largest databases within Amazon.com is the one that contains products and offerings information. This database runs on Oracle Database hosted on Linux and spread across numerous servers that together hold tens of terabytes of data. This database is regularly updated due to the arrival of new products at Amazon.com and at its partner stores, and by inventory counts based on completed transactions, promotional programs, and so on.
For performance purposes, Amazon.com uses a caching front-end for this database. Most customer interactions with the database are handled by this cache and do not generate I/O to the back-end servers. The caching front-end, was developed in-house using Oracle Berkeley DB as its foundation. The cache consists of multiple servers running Oracle Berkeley DB that are regularly updated by the products and offerings database
According to Tim Kohn, the company started using Oracle Berkeley DB because it was fast, reliable, and open source.
“We have a unique mission and we custom built a unique technology platform to serve it, Kohn said. “We must be running with no glitches 24 hours a day, and the only way to do that is to know everything that your infrastructure is doing. This is one of several reasons we chose Oracle Berkeley DB. The others were the incredible speed and the reliability.”
Amazon initially adopted Oracle Berkeley DB due to its hiring UNIX programmers during its formation stages, when the company was just a bookseller looking to improve the Web experience of prospective customers. The UNIX programmers remembered the remarkable performance of Berkeley DB when they designed the fast cache needed by the Amazon.com Web site. Oracle Berkeley DB is the productized version of that code, now significantly expanded from the original and proven by deployment with some of the largest commercial databases.
Kohn adds that a cadre of developers at Amazon.com knows the Oracle Berkeley DB code base intimately and regularly communicates requests to Oracle.
Oracle Berkeley DB is the most widely used developer database in the world. It is a building block for developers who are writing applications for internal use or to sell to customers. It is architected for control by programmers. For example, all administration is done programmatically. The database eschews much of today’s database paradigm: it is not relational, not object-oriented, and not client-server. It does not use SQL or ODBC. Rather, it’s an extremely fast data store that runs in 500KB and has APIs for C/C++, Java, Perl, PHP, Ruby, and many other languages.
Amazon.com uses data mining to provide customers with purchase suggestions. The use of association rules has increased sales by 15%. SAS, Inc. developed the process for Amazon.com. There are a number of data mining software packages, including Intelligent Miner by IBM. However, for good data mining software combined with good statistical software, there are two: Clementine by SPSS and Enterprise Minery SAS. Enterprise Miner as the best integration of statistics with data mining. It contains methods that SPSS does not include: link analysis, text mining, memory-based reasoning. It is the data mining used in the business world. Netezza provides Amazon.com with an analysis platform that can scale to accommodate terabytes of detailed clickstream analyses at a moment’s notice. Amazon.com chose the NPS 8650 system based on its ability to deliver query response times faster than any other alternative it had considered. The Netezza data warehouse appliance provides Amazon.com with a high-performance, low-maintenance system that can query data in near real-time, delivering faster and deeper analysis capabilities on terabytes of information. The Netezza Performance Server system is the market-leading data warehouse appliance, built specifically to analyze terabytes of detailed data 10 to 50 times faster than existing data warehouse options, at half the cost. The NPS system stores, filters and processes terabytes of records within a single unit, analyzing only the relevant information for each query. Netezza has placed the CPU power next to the data, allowing the NPS system to speed through processes that would occupy most data warehouse systems for hours, or even days, thereby enabling dramatic increases in productivity across the organization.

Amazon E-commerce Service exposes Amazon’s product data and e-commerce functionality. It allows all kind of users from different places through the Internet Service provider (ISPs) to enter Amazon online store. Internet is a vast network of computer that connects millions of people all over the world.
Amazon.com network of connections is logical connections that allow computer applications, such as e-mail programs and the browsers used to explore the World Wide Web, to exchange information. Logical connections are created by network protocols and allow data sharing between applications on different types of computers, such as an Apple Macintosh or a personal computer (PC) running the Microsoft Corporation Windows operating system, in a network. Some logical connections use client-server application software and are primarily for file and printer sharing. The Transmission Control Protocol/Internet Protocol (TCP/IP) suite, originally developed by the United States Department of Defense, is the set of logical connections used by the Internet, the worldwide consortium of computer networks. TCP/IP, based on peer-to-peer application software, creates a connection between any two computers.
Amazon Web Services (AWS): The service provides programmatic access to many features leveraged behind the scenes on its own website. AWS was rapidly adopted by what now amount to tens of thousands of software developers.
Amazon EC2 ("Elastic Compute Cloud"), a virtual site farm, allowing users to use the Amazon infrastructure with its high reliability to run diverse applications ranging from running simulations to web hosting.
Amazon EC2 provides web service interfaces to control network security. You define groups of instances and their desired accessibility.
Amazon S3 (Simple Storage Service): an online storage web service offered by Amazon Web Services. Amazon S3 provides unlimited storage through a simple web services interface. Data can be easily stored and retrieved at any time, from anywhere on the web. Amazon S3 is an inexpensive storage solution using the same scalable storage infrastructure that Amazon.com uses to run its own global e-commerce network.
Amapedia: a collaborative wiki for user-generated content related to "the products you like the most." Amapedia replaced Amazon's ProductWiki product, and all ProductWiki content was copied into Amapedia at launch.
Amazon Mechanical Turk: An application programming interface (API) allowing programs to dispatch tasks to human processors

2 comments:

Tom Abraham said...

Good job on databases and data mining. What about hardware, software and networks? Where is the conclusion?

Kathy LaPrete said...

Nice Blog...easy on the eyes with the color scheme and full of info.. I haved used Amazon only a few times, and it has always been just a place one orders stuff from....Now I know Better....Good luck on your power point presentaion and final..