Read The First Prettier Plugin For Twig is Here
Frontend Open Source

The First Prettier Plugin For Twig is Here

Posted on

trivago open sourced a Prettier plugin for the Twig template language. It is available under the Apache 2.0 license, and you can access it on trivago’s Github space. The trivago core product runs on our own frontend framework Melody. Melody uses a Twig-inspired template language because when it was introduced, it had to be interoperable with our existing codebase, which was based on the Symfony PHP framework with Twig as the default template language.

Read the post
Read Why We Chose Go
Backend DevOps

Why We Chose Go

Posted on

To the outside, trivago appears to be one single software product providing our popular hotel meta search. Behind the scenes, however, it is home to dozens of projects and tools to support it. Teams are encouraged to choose the programming languages and frameworks that will get the job done best. Only few restrictions are placed on the teams in these decisions, primarily long-term maintainability. As a result, trivago has a largely polyglot code base that fosters creativity and diverse thinking.

Read the post
Read An Open Door to Open Source: Relive our OSS Conference
Engineering Culture Frontend Open Source

An Open Door to Open Source: Relive our OSS Conference

Posted on

A quick recap At the end of last year, to celebrate our continued sponsorship of the Open Source community, we hosted a small conference with special guests at our Düsseldorf campus. We initially hoped to welcome Tobias Koppers and Sean Larkin from Webpack, plus some internal speakers. What we didn’t expect was the huge amount of fantastic speakers who wanted to present their projects to the community. In the end, Sean unfortunately couldn’t make it but we did have a chance to welcome Marvin Hagemeister, Juan Picado, Norbert de Langen and Pia Mancini as speakers, plus our own amazing talents.

Read the post
Read Better URL Search with Elasticsearch
Monitoring

Better URL Search with Elasticsearch

Posted on

At trivago, we generate a huge amount of logs and we have our own custom setup for shipping logs using mostly Protocol Buffers. Eventually we end up with some fields in Elasticsearch (ES) that contain partial (or full) URLs. For instance, in our specific case we store the query component of the URL in a field called query and the path component in a field named url_path. Sample values for these fields could be:

Read the post
Read Meet us at A New Dawn, IxDA20 in Milan, Italy
User Experience Frontend

Meet us at A New Dawn, IxDA20 in Milan, Italy

Posted on

A New Dawn, IxDA20 is one of the biggest events dedicated to design and brings together some of the brightest talent in the world from design to psychology to business. At trivago we live diversity. We have 55 localised platforms and internally you can find talents from around 90 different nationalities all working towards providing a better experience to our customers. We are constantly evolving as we face organisational, societal and industrial challenges.

Read the post

We're Hiring

Tackling hard problems is like going on an adventure. Solving a technical challenge feels like finding a hidden treasure. Want to go treasure hunting with us?

View all current job openings
Read trivago Magazine's Journey to Server-Side Rendering
Engineering Frontend Open Source

trivago Magazine's Journey to Server-Side Rendering

Posted on

In the beginning of 2019, the trivago Magazine team decided to switch over from a JavaScript Single Page Application to Server-Side Rendering. This article describes the why, the how, and further challenges of this journey. Single Page Applications and their Issues The trivago Magazine started as a simple WordPress (WP) blog about interesting hotels and travel destinations. We used a customized WP theme that provided proper user navigation as well as SEO and further functionality.

Read the post
Read Meet us at FOSDEM, Brussels, Belgium
Engineering Culture Open Source

Meet us at FOSDEM, Brussels, Belgium

Posted on

FOSDEM in Brussels is one of our favorite conferences each year as it fully reflects our love for Free and Open Source software. We strongly believe in sharing knowledge not only internally, but also with the tech community around the world. This is one of the reasons why we support Open Source software through development and sponsorship. For example, we are the second biggest supporter on Open Collective and we have a ton of our own Open Source projects too.

Read the post
Read Getting Ready For The Big Data Apocalypse
Backend Data Science Engineering

Getting Ready For The Big Data Apocalypse

Posted on

trivago Intelligence was born in 2013 with two main objectives: First, to provide bidding capability to the advertisers, who are listed on trivago, and second, to provide them with metrics related to their own hotels; like clicks, revenue, and bookings (typical BI data). This project faced a wave of inevitable data growth which lead to a refactoring process which produced a lot of learnings for the team. As I expect it to be useful for other teams who deal with similar challenges, this article will describe why a team started a full migration of technologies, how we did it and the result of it.

Read the post