Reuters/Toru Hanai

Table for two? It's on.

Online reservations are supposed to make snagging a table a breeze, but when it comes to in-demand restaurants, the process is going the way of stock trading and concerts on Ticketmaster: Pretty soon you’re going to get beaten by bots, big time.

Diogo Mónica, a security engineer at payment start-up Square, was trying to find a seat at the popular San Francisco eatery State Bird Provisions on the restaurant reservation site Urbanspoon. Tables can be booked up to 60 days in advance, with new time slots opening up every day at 4:00 am. By 4:01, they were gone. “It quickly became obvious,” he wrote on his blog, “that these were reservation bots at work.”

To retaliate, Ars Technica reports,  Mónica wrote his own computer code to check for available reservations and grab them on his behalf. “You fight fire with fire,” he said, “so I made my own reservation bot.” At last, a table was his. He then released the code online to level the playing field—at least for anyone who knows how to run a ruby script.

It’s a great story and a win for Mónica, but it’s not exactly a happy ending. With bots fighting bots, we’re setting ourselves up for a world in which the hottest restaurant reservations can only be purchased from scalpers at exorbitant prices. Mónica joked on Twitter that he will have to take a page from high-frequency traders for the next round of battle: Now that everyone has access to his code, he’ll have to set up shop as close as possible to the reservation system’s server to beat everyone else by a microsecond or two.

This post originally appeared on Quartz, an Atlantic partner site.

About the Author

Most Popular

  1. Environment

    A 13,235-Mile Road Trip for 70-Degree Weather Every Day

    This year-long journey across the U.S. keeps you at consistent high temperatures.

  2. A photo of police officers sealing off trash bins prior to the Tokyo Marathon in Tokyo in 2015.
    Life

    Carefully, Japan Reconsiders the Trash Can

    The near-absence of public garbage bins in cities like Tokyo is both a security measure and a reflection of a cultural aversion to littering.

  3. An illustration of the Memorial Day flood in Ellicott City, Maryland.
    Environment

    In a Town Shaped by Water, the River Is Winning

    Storms supercharged by climate change pose a dire threat to river towns. After two catastrophic floods, tiny Ellicott City faces a critical decision: Rebuild, or retreat?

  4. Cars sit in a crosswalk.
    Transportation

    What if More People Could Issue Parking Tickets?

    Washington, D.C., considers training a group of residents to give tickets for some parking violations. Would it make streets safer for pedestrians and cyclists?

  5. A line of stores in Westport, Connecticut
    Equity

    Separated by Design: How Some of America’s Richest Towns Fight Affordable Housing

    In southwest Connecticut, the gap between rich and poor is wider than anywhere else in the country. Invisible walls created by local zoning boards and the state government block affordable housing and, by extension, the people who need it.