Airbnb offers a query tool for unlocking massive data sets

Airbnb is known for its home rental services, but check out its tool for opening data warehouses

AirBnB's Airpal makes data analysis easier with a intuitive graphical user interface

AirBnB's Airpal makes data analysis easier with a intuitive graphical user interface

Airbnb has open-sourced a tool that allows its non-technical employees to work like data scientists, and it hopes others will use the software to more effectively mine their own data

Airbnb's Airpal application, when linked with the PrestoDB open source query engine developed by Facebook, could provide a lower cost alternative to a data warehouse, or a more friendly interface for accessing large swaths of data stored in a Hadoop cluster.

"We think of Airpal as being a supercharger on top of PrestoDB, which takes Presto from being a command line only for computer scientists to a first class tool for all the employees in a company," said James Mayfield[cq], Airbnb product manager.

Airbnb has been using Airpal for about a year. About a third of its employees have used the tool to query internal data, a far greater proportion than it anticipated, Mayfield said.

The software offers a GUI for exploring the company's operational data, about a half petabyte's worth. The data is managed by the Apache Hive data warehouse software and resides on a Hadoop file system. PrestoDB provides the ability to search this Hive data using the SQL (Structured Query Language).

While well-known by database administrators and programmers, SQL can confound most non-computer science-types. Airpal provides a more intuitive way of searching the data, according to Mayfield.

Data is a big part of the company's business. Airbnb was founded in 2008 to provide a way for people to rent their dwellings or individual rooms to travelers. Using the Web and a set of mobile apps, the company has facilitated 25 million bookings in 34,000 cities.

Airpal has helped Airbnb "democratize its data," Mayfield said, referring to how any Airnb employee, not just dedicated business analysts, can explore the company's data.

"It is always great to be able to build a product informed by metrics, rather than just one based on introspection or guesses," Mayfield said.

The software can answer questions an employee may have about the company's operations. How many bookings did Airbnb get on a given day? How many people are staying at an Airbnb location tonight? How many listings are there in any given market, city or neighborhood? How many of the users speak German, or Spanish?

Users can submit their queries using a Web browser. Results are returned as a CSV file, so they can be easily digested by a spreadsheet or an internal application. They can search for database tables and access a database's metadata, schemas and sample rows. Searches can be saved to be run again, and new tables can be created from queries.

For Airbnb administrators, the Airpal/PrestoDB stack eliminated a considerable amount of middleware that would be needed to execute these complex queries.

Prior to using the Airpal/PrestoDB combo, Airbnb used Amazon Web Service's Redshift service.

Redshift requires a set of ETL (Extract, transform and load) tools to prepare the data. It had a limit on how many queries can be run at once, which could limit wider use of the data. Also, Airbnb developers found the Redshift error messages to be obtuse, making it difficult to debug issues, said Andy Kramolisch, AirBnB software engineer.

Airbnb will explain AirPal in greater detail March 19 at a Presto meetup on the Facebook campus in Menlo Park, California.

Joab Jackson covers enterprise software and general technology breaking news for The IDG News Service. Follow Joab on Twitter at @Joab_Jackson. Joab's e-mail address is Joab_Jackson@idg.com

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags softwareapplication developmentDevelopment toolsAirbnb

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Joab Jackson

IDG News Service
Show Comments

Father’s Day Gift Guide

Brand Post

Bitdefender 2019

Bitdefender solutions stop attacks before they even begin! Get cybersecurity that 500 MILLION users already have and trust.

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Luke Hill

MSI GT75 TITAN

I need power and lots of it. As a Front End Web developer anything less just won’t cut it which is why the MSI GT75 is an outstanding laptop for me. It’s a sleek and futuristic looking, high quality, beast that has a touch of sci-fi flare about it.

Emily Tyson

MSI GE63 Raider

If you’re looking to invest in your next work horse laptop for work or home use, you can’t go wrong with the MSI GE63.

Laura Johnston

MSI GS65 Stealth Thin

If you can afford the price tag, it is well worth the money. It out performs any other laptop I have tried for gaming, and the transportable design and incredible display also make it ideal for work.

Andrew Teoh

Brother MFC-L9570CDW Multifunction Printer

Touch screen visibility and operation was great and easy to navigate. Each menu and sub-menu was in an understandable order and category

Louise Coady

Brother MFC-L9570CDW Multifunction Printer

The printer was convenient, produced clear and vibrant images and was very easy to use

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Featured Content

Product Launch Showcase

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?