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

Cool Tech

Toys for Boys

Family Friendly

Stocking Stuffer

SmartLens - Clip on Phone Camera Lens Set of 3

Learn more >

Christmas Gift Guide

Click for more ›

Brand Post

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Aysha Strobbe

Microsoft Office 365/HP Spectre x360

Microsoft Office continues to make a student’s life that little bit easier by offering reliable, easy to use, time-saving functionality, while continuing to develop new features that further enhance what is already a formidable collection of applications

Michael Hargreaves

Microsoft Office 365/Dell XPS 15 2-in-1

I’d recommend a Dell XPS 15 2-in-1 and the new Windows 10 to anyone who needs to get serious work done (before you kick back on your couch with your favourite Netflix show.)

Maryellen Rose George

Brother PT-P750W

It’s useful for office tasks as well as pragmatic labelling of equipment and storage – just don’t get too excited and label everything in sight!

Cathy Giles

Brother MFC-L8900CDW

The Brother MFC-L8900CDW is an absolute stand out. I struggle to fault it.

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.

Featured Content

Product Launch Showcase

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?