No, we’re not a travel agencywww.tripadvisor.com/careers
Postgres at TripAdvisorByDon O’Neill & Boris Partensky2© 2011 TripAdvisor LLC All rights reserved.
TripAdvisor is the world’s largesttravel site3© 2011 TripAdvisor LLC All rights reserved.
440Mmonthly visitors4Mvisitors/day20+M registered members45+Mreviews & opinions© 2011 TripAdvisor LLC All rights reserved.
Business runs on PostgresLarge Mission critical deploymentCombination of 8.3 and 8.4Site Technologies includeLinux (CentOS), ApacheJava, Tomcat, Velocity, and MemcachedNo commercial Software – All Open SourceWeb Scale DeploymentOver 100 Frontend and Backend servers per Data Center14 Postgres Database Servers per Data CenterDR Data Center with Replication between the twoPlatform5© 2011 TripAdvisor LLC All rights reserved.
33 Postgres Servers across 3 Data CentersNot including Dev and QA serversSSD’s instead of Spinning disks for select serversMultiple Read Only DB Servers Load Balanced using BigIPSync’d using DB Mirror replicationJust under 1 TB of data in multiple databasesSharded Pin Table Over 1.5 billion rowsSharded to improve read and write performance Spread over 12 databases on 2 ServersScale out to multiple servers as neededRouting logic built into our application layerBy the Numbers6© 2011 TripAdvisor LLC All rights reserved.
All Servers configured as Active/Passive ClusterNot using Shared Disks or SAN’sDRBD for Block level replication between systemsHeartbeat for automatic failover between nodesData Replicated to DR SiteTripAdvisor has 2 Data centers (MA and VA)One site “Live” at a timeEqual capacity at both sitesRoutinely switch between sitesData Replicated between data centersRedundancy/Failover7© 2011 TripAdvisor LLC All rights reserved.
Replication based on DBmirrorLike Slonyonly deprecated Community project once part of the core distributionTrigger based Master/Slave ReplicationWritten in C and PerlAll replicated tables must have primary keysTripAdvisor Updates includeA Rewrite in Java!Support for SQL ServerLots of Hardening for large scale useReplication8© 2011 TripAdvisor LLC All rights reserved.
20 TB Data Warehouse todayExpecting to grow significantly in 12 months16 Node cluster expanding to 24Based on Hadoop and HiveReporting and Cubes built with SQL ServerEnd users access the data via Excel and Reporting ServicesCritical for the growth of the businessLong term data storage in Hadoop and not our SAN!Mobile ApplicationsAward winning travel applicationSupported in iPhone, iPad, Android, Nokia, Windows, Palmhttp://www.tripadvisor.com/MobileAppsFacebook IntegrationMore and more users logging in via FacebookBetter social experience on the siteMajor  Initiatives9© 2011 TripAdvisor LLC All rights reserved.
Q&AQuestions?Did I mention we’re hiring?10© 2011 TripAdvisor LLC All rights reserved.

More Related Content

PPTX
BigDataInOperationsV8
PPTX
Managing Large Scale Financial Time-Series Data with Graphs
PPTX
Spark Summit Keynote by Suren Nathan
PPTX
It’s All About The Cards: Sharing on Social Media Encouraged HTML Metadata G...
PDF
Big Data LDN 2016: Out of the Data Warehouses, and into the Data Lakes and St...
PDF
Memrise presentation @ London Snowplow meetup
PDF
Treasure Data From MySQL to Redshift
PDF
Simplifying Event Streaming: Tools for Location Transparency and Data Evoluti...
BigDataInOperationsV8
Managing Large Scale Financial Time-Series Data with Graphs
Spark Summit Keynote by Suren Nathan
It’s All About The Cards: Sharing on Social Media Encouraged HTML Metadata G...
Big Data LDN 2016: Out of the Data Warehouses, and into the Data Lakes and St...
Memrise presentation @ London Snowplow meetup
Treasure Data From MySQL to Redshift
Simplifying Event Streaming: Tools for Location Transparency and Data Evoluti...

What's hot (20)

PPTX
The Stream is the Database - Revolutionizing Healthcare Data Architecture
PPTX
Enabling Next Gen Analytics with Azure Data Lake and StreamSets
PPTX
Virtualizing Analytics with Apache Spark: Keynote by Arsalan Tavakoli
PPTX
Spark Summit Keynote by Seshu Adunuthula
PDF
Introduction to basic data analytics tools
PDF
Database Camp 2016 @ United Nations, NYC - Michael Glukhovsky, Co-Founder, Re...
PDF
Big and fast a quest for relevant and real-time analytics
PDF
Spark and the Enterprise by Tony Baer
PPTX
Middle Tier Scalability - Present and Future
PDF
MongoDB World 2019: Streaming ETL on the Shoulders of Giants
PDF
Spark Usage in Enterprise Business Operations
PDF
Moving eBay’s Data Warehouse Over to Apache Spark – Spark as Core ETL Platfor...
PDF
Cassandra Essentials Day Cambridge
PPTX
DataStax Enterprise in Practice (Field Notes)
PDF
Unlocking Value in Device Data Using Spark: Spark Summit East talk by John La...
PPTX
SomeSQL at Skyscanner - Scaling in a changing world of databases and hardware
PPTX
Presto summit israel 2019-04
PPTX
Spark Summit presentation by Ken Tsai
PDF
Winning the On-Demand Economy with Spark and Predictive Analytics
PPTX
Data analytics at a petabyte scale final
The Stream is the Database - Revolutionizing Healthcare Data Architecture
Enabling Next Gen Analytics with Azure Data Lake and StreamSets
Virtualizing Analytics with Apache Spark: Keynote by Arsalan Tavakoli
Spark Summit Keynote by Seshu Adunuthula
Introduction to basic data analytics tools
Database Camp 2016 @ United Nations, NYC - Michael Glukhovsky, Co-Founder, Re...
Big and fast a quest for relevant and real-time analytics
Spark and the Enterprise by Tony Baer
Middle Tier Scalability - Present and Future
MongoDB World 2019: Streaming ETL on the Shoulders of Giants
Spark Usage in Enterprise Business Operations
Moving eBay’s Data Warehouse Over to Apache Spark – Spark as Core ETL Platfor...
Cassandra Essentials Day Cambridge
DataStax Enterprise in Practice (Field Notes)
Unlocking Value in Device Data Using Spark: Spark Summit East talk by John La...
SomeSQL at Skyscanner - Scaling in a changing world of databases and hardware
Presto summit israel 2019-04
Spark Summit presentation by Ken Tsai
Winning the On-Demand Economy with Spark and Predictive Analytics
Data analytics at a petabyte scale final
Ad

Similar to Postgres Sql at TripAdvisor (20)

PPTX
Making Social Media Work for You
PPTX
PPTX
Slides: Polyglot Persistence for the MongoDB, MySQL & PostgreSQL DBA
PDF
Tripadvisor East Africa
PDF
Inside Tripadvisor’s real-time personalization with ScyllaDB and AWS
PDF
OITUR-FULP. Investigación universitaria y tendencias tecnológicas en el secto...
PDF
Guest Column Apr May 07
PDF
Online marketing and e-commerce for tourism: the Open Platform approach
PDF
Implementing MongoDB at Shutterfly (Kenny Gorman)
PPTX
4TH QTR TLE7- LESSON HOSPITAL INDUSTRY.pptx - STUDENT COPY.pptx
PPT
tripadvisor diapositivas para informacion 2024
PPTX
Mongo db conference march 2012 (1)
PPTX
MongoDB at Flight Centre Ltd
PDF
PDF
Tourism technology and marketing
PDF
Wongnai Engineering Story
PPTX
PPT
Splunk at Expedia - Gartner Symposium
KEY
Digital mobile app
PDF
Tourism Trend Tracker June 2010
Making Social Media Work for You
Slides: Polyglot Persistence for the MongoDB, MySQL & PostgreSQL DBA
Tripadvisor East Africa
Inside Tripadvisor’s real-time personalization with ScyllaDB and AWS
OITUR-FULP. Investigación universitaria y tendencias tecnológicas en el secto...
Guest Column Apr May 07
Online marketing and e-commerce for tourism: the Open Platform approach
Implementing MongoDB at Shutterfly (Kenny Gorman)
4TH QTR TLE7- LESSON HOSPITAL INDUSTRY.pptx - STUDENT COPY.pptx
tripadvisor diapositivas para informacion 2024
Mongo db conference march 2012 (1)
MongoDB at Flight Centre Ltd
Tourism technology and marketing
Wongnai Engineering Story
Splunk at Expedia - Gartner Symposium
Digital mobile app
Tourism Trend Tracker June 2010
Ad

Recently uploaded (20)

PDF
STKI Israel Market Study 2025 version august
PPTX
Chapter 5: Probability Theory and Statistics
PDF
Architecture types and enterprise applications.pdf
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PPT
What is a Computer? Input Devices /output devices
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
PDF
CloudStack 4.21: First Look Webinar slides
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
Getting started with AI Agents and Multi-Agent Systems
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
Enhancing emotion recognition model for a student engagement use case through...
PPTX
Benefits of Physical activity for teenagers.pptx
PPTX
observCloud-Native Containerability and monitoring.pptx
PPT
Module 1.ppt Iot fundamentals and Architecture
PPTX
Modernising the Digital Integration Hub
PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
August Patch Tuesday
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
A review of recent deep learning applications in wood surface defect identifi...
STKI Israel Market Study 2025 version august
Chapter 5: Probability Theory and Statistics
Architecture types and enterprise applications.pdf
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
What is a Computer? Input Devices /output devices
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
CloudStack 4.21: First Look Webinar slides
NewMind AI Weekly Chronicles – August ’25 Week III
Getting started with AI Agents and Multi-Agent Systems
Hindi spoken digit analysis for native and non-native speakers
Enhancing emotion recognition model for a student engagement use case through...
Benefits of Physical activity for teenagers.pptx
observCloud-Native Containerability and monitoring.pptx
Module 1.ppt Iot fundamentals and Architecture
Modernising the Digital Integration Hub
1 - Historical Antecedents, Social Consideration.pdf
August Patch Tuesday
Final SEM Unit 1 for mit wpu at pune .pptx
A review of recent deep learning applications in wood surface defect identifi...

Postgres Sql at TripAdvisor

  • 1. No, we’re not a travel agencywww.tripadvisor.com/careers
  • 2. Postgres at TripAdvisorByDon O’Neill & Boris Partensky2© 2011 TripAdvisor LLC All rights reserved.
  • 3. TripAdvisor is the world’s largesttravel site3© 2011 TripAdvisor LLC All rights reserved.
  • 4. 440Mmonthly visitors4Mvisitors/day20+M registered members45+Mreviews & opinions© 2011 TripAdvisor LLC All rights reserved.
  • 5. Business runs on PostgresLarge Mission critical deploymentCombination of 8.3 and 8.4Site Technologies includeLinux (CentOS), ApacheJava, Tomcat, Velocity, and MemcachedNo commercial Software – All Open SourceWeb Scale DeploymentOver 100 Frontend and Backend servers per Data Center14 Postgres Database Servers per Data CenterDR Data Center with Replication between the twoPlatform5© 2011 TripAdvisor LLC All rights reserved.
  • 6. 33 Postgres Servers across 3 Data CentersNot including Dev and QA serversSSD’s instead of Spinning disks for select serversMultiple Read Only DB Servers Load Balanced using BigIPSync’d using DB Mirror replicationJust under 1 TB of data in multiple databasesSharded Pin Table Over 1.5 billion rowsSharded to improve read and write performance Spread over 12 databases on 2 ServersScale out to multiple servers as neededRouting logic built into our application layerBy the Numbers6© 2011 TripAdvisor LLC All rights reserved.
  • 7. All Servers configured as Active/Passive ClusterNot using Shared Disks or SAN’sDRBD for Block level replication between systemsHeartbeat for automatic failover between nodesData Replicated to DR SiteTripAdvisor has 2 Data centers (MA and VA)One site “Live” at a timeEqual capacity at both sitesRoutinely switch between sitesData Replicated between data centersRedundancy/Failover7© 2011 TripAdvisor LLC All rights reserved.
  • 8. Replication based on DBmirrorLike Slonyonly deprecated Community project once part of the core distributionTrigger based Master/Slave ReplicationWritten in C and PerlAll replicated tables must have primary keysTripAdvisor Updates includeA Rewrite in Java!Support for SQL ServerLots of Hardening for large scale useReplication8© 2011 TripAdvisor LLC All rights reserved.
  • 9. 20 TB Data Warehouse todayExpecting to grow significantly in 12 months16 Node cluster expanding to 24Based on Hadoop and HiveReporting and Cubes built with SQL ServerEnd users access the data via Excel and Reporting ServicesCritical for the growth of the businessLong term data storage in Hadoop and not our SAN!Mobile ApplicationsAward winning travel applicationSupported in iPhone, iPad, Android, Nokia, Windows, Palmhttp://www.tripadvisor.com/MobileAppsFacebook IntegrationMore and more users logging in via FacebookBetter social experience on the siteMajor Initiatives9© 2011 TripAdvisor LLC All rights reserved.
  • 10. Q&AQuestions?Did I mention we’re hiring?10© 2011 TripAdvisor LLC All rights reserved.