New every Friday: the week's best founder lessons in one email. Subscribe free
Back to All Episodes
S5 Bonus: Scaling an IP API to 1 Trillion Requests with Ben Dowling of IPinfo
Dec 16, 2021 28:57

S5 Bonus: Scaling an IP API to 1 Trillion Requests with Ben Dowling of IPinfo

Bonus
0:00 / 28:57

About this episode

IP API: Ben Dowling of IPinfo on providing geolocation and network data for IP addresses, and scaling the service to enormous request volumes.

———

Ben Dowling lives in Seattle, and loves it there. He is married, and a father of three kids - ages 11, 8 and 5 - so he's a busy dude. He loves to hike, and recently took his family on a weekend trip to Mount Rainer. He loves to snowboard, and get away from the screen - though he admits, that tech is also his hobby... building side projects, apps, websites, etc.

Ben was working on a bunch of different side projects in 2013. The process to get IP Info was manual, tedious, and filled with headaches across projects. After he felt this pain point multiple times, he decided to build a solution to solve it... not knowing that he would quickly start getting millions of requests in a short time.

This is the creation story of IPInfo.

Sponsors

  • Courier
  • Img.ly
  • Routable
  • CTO.ai
  • Cloudways offers peace of mind and flexibility so you can focus on growing your business instead of dealing with server management. With Cloudways, you get an optimized stack, managed servers, backups, staging environment, integrated Git, pre-configured, Composer, 24/7 support, and a choice of five cloud providers: AWS, DigitalOcean, Linode, Google Cloud, and Vultr. Get up to 2 Month Free Hosting by using code "CODE30" and get $30 free hosting credit.

Links

Times are from the episode recording; ad breaks in your player may shift them a bit later.

Read the key answers from this episode, with quotes and timestamps from Ben Dowling from IPinfo: https://www.codestory.co/episodes/s5-bonus-scaling-to-1-trillion-requests-how-ipinfo-built-a-global-api-with-ben-dowling/



Current Sponsors:

Checkout our Substack

Checkout our Stacklist!

Checkout our Patreon!

Hosted by Noah Labhart.



Our Sponsors:
* Check out Granola and use my code granola.ai/CODESTORY for a great deal: https://granola.ai
* Check out Perplexity: https://pplx.ai/codestory


Advertising Inquiries: https://redcircle.com/brands

Privacy & Opt-Out: https://redcircle.com/privacy

Chapters

Featured Guest

Latest Season of the Podcast is Sponsored By

Key Takeaways

  • An Evening to First Version: Curious why a website placed him in Texas while he was in Seattle, Ben Dowling registered a domain and built an IP-on-a-map page in a couple of hours. Over the following weeks it evolved into an API.
  • API Before Dashboard: Early on there were no logins or user database. Stripe handled payments, and Dowling answered usage and card-update requests by email, for probably a year or more, while focusing on reliability, latency and data fields.
  • Own the Data Quality: IPinfo began as a thin layer over existing data sets. Repeated reports of wrong locations pushed it to produce better data itself and add context such as VPN detection and carrier information.
  • Fail Open on Rate Limits: Rate limiting was asynchronous and designed to fail open. If it went down, some users might exceed their limits, but paying customers would keep working.
  • Simplicity Over Global Redundancy: Multiple providers, then many AWS regions, added cost and complexity and slowed feature launches. After asking customers, IPinfo moved to a single Google Cloud region and found it seemed a non-issue.

Frequently Asked Questions

What is IPinfo and why was it created?

IPinfo provides IP address context data, including geolocation, mobile carrier and VPN or proxy detection. Ben Dowling started it to avoid maintaining geolocation files and update jobs across several side projects, with a simple API where you "pass an IP address in and we'll give you the geolocation data back" [03:34].

How long did it take to build the first version of IPinfo?

The initial website, which showed your IP address on a Google Maps widget, took Dowling a couple of hours. As he recalled, "The very first version I built in an evening." [05:49] The API followed over the next few weeks.

Why did IPinfo start building its own IP geolocation data?

Users kept reporting wrong locations, and at first the company told them to report errors to the upstream data source. As the feedback continued, Dowling's team asked, "okay, well, can we produce better data ourselves?" [04:49]

How does IPinfo handle rate limiting if its infrastructure fails?

Dowling designed rate limiting to be asynchronous and to fail open, so an outage there does not block paying customers. In his view, "it's much better to give away a few extra requests" [18:18] than to upset them.

What was a major mistake IPinfo made with its free API?

IPinfo gave free users no way to sign up for a couple of years, leaving it unable to tell them about new products or approaching rate limits. Dowling said one of the main mistakes "was not capturing email addresses of free" [21:54] users early on.

Media List 5000, Podcasts, Fall 2026