Engineering Articles

Read-Optimized, Eventually-Consistent Data Stores: In Practice

Jean-Philippe Daigle posted October 15, 2019
This is Part 2 of a series on how TripAdvisor uses event-driven architecture. In Part 1, we introduced basic concepts and trade-offs; now we’ll dig into two different real-world use cases: followee feed-building and member profile search. Both of these use cases rely on maintaining an eventually-consistent, non-authoritative view of data managed by other services for the purposes of fast querying. Followee / Follower Model The Travel Feed on TripAdvisor is a collection of recent…
Full Article

Toward CQRS: Read-Optimized Data Stores, the Join Problem, and Event Collaboration

Jean-Philippe Daigle posted October 8, 2019
This is Part 1 of a series on how TripAdvisor uses event-driven architecture and read-optimized data stores to orchestrate complex work across a complex fleet of microservices. TripAdvisor runs a constellation of microservices, several of which operate as the source of authoritative truth for one small part of the business' overall data model. Services marshall, through their public API, access and update requests for the data they manage. The Join Problem With…
Full Article

Improving TripAdvisor Photo Selection With Deep Learning

Gregory Amis posted November 18, 2017
The newly redesigned TripAdvisor.com emphasizes traveler photos throughout the site, but not all of these photos are useful in every situation. Deep Learning networks provide an excellent opportunity for us to improve our users’ experience by highlighting the most attractive and useful photos for varying presentation contexts. This post will discuss our approach for gathering training data, developing a model, and scaling it up to over 110 million photos and…
Full Article

No Software Engineers? Sorry, Exactly the Opposite

Jeff Palmucci posted November 8, 2015
This post originally appeared as part of an internal email thread at TripAdvisor. If you do not enjoy ranting on the internet (and if you say you don’t, you are not kidding anyone), please read no further. <rant> So last Friday, Ian Bogost’s post on software engineering appeared on TripAdvisor’s internal humor mailing list, “catbert”. In it, he shares his opinion that software engineers aren’t really engineers proper, because of…
Full Article