HotelTonight’s success relies on the ability to share the best available hotels closest to their users. But because they rely on cellular GPS data, they often deal with incredibly specific latitudinal and longitudinal information that makes it difficult to group requests together from users who may be right next to each other. And they were inundated with the sheer number of requests to their origin, as different devices and apps generate different URLs.
But with our edge computing language, HotelTonight leveraged Fastly’s edge to create geo-fenced URLs, which grouped requests from users within the same proximity together. This gave them the accuracy they needed to serve users the best hotel rooms, while reducing the amount of unique requests to the hotel inventory API by several orders of magnitude. They were also able to use our edge computing language to rewrite URLs at the edge, so that non-standard URLs wouldn’t negatively impact cache hit ratio. With our edge compute technology, they were able to return results in under 50ms, with an 80% reduction in traffic to their origin.