Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Contents
What is eBay? Platforms System requirements Architecture overview Data tier Application tier Search
eBay??
An online auction and shopping website Founded in September of 1995 Global online marketplace where practically anyone can trade practically anything Global presence in 39 markets, including the U.S Registered at NASDAQ as EBAY
The Numbers
212 million registered users
1 billion photos
1 billion page views a day, 105 million listings, 2 peta bytes of data, 5 billion API calls a month Marketplaces net revenues totalled $1.6 billion in Q2 2011
The database is virtualized and spans 600 production instances residing in more than 100 server clusters.
16,000 application servers, all J2EE. About 100 groups of functionality
Platforms
Java Oracle
Systemic Requirements
Availability Reliability Massive Scalability Security
Different Versions
Architecture overview
Strictly divided into layers: Data tier, application tier, search and operations Everything is planned with the question "what if load increases by 10x Scale out, not scale up Leverages MSXML framework for presentation layer Asynchronous Integration
Database
Oracle databases
Database splits for horizontal scalability Items split by category Every database has at least 3 on-line databases Segmented by function: user, item account, feedback, transaction, over 70 in all No stored procedures, some simple triggers
Minimize dependencies Between applications Between functional areas From applications to data tier resources
Virtualized data access
Scaling Search
In 2002, third party off-the-shelf search engine had reached its limits eBay wanted Real time updates, exhaustive recalls , flexible data storage New implementation had the following features Real time feeder infrastructure Real time indexing In-memory search index Horizontal segmentation Caching To retrieve search results, an aggregator component parallelizes queries over multiple partitions, and makes a highly partitioned search grid appear to clients as one logical index.