World Congress 2025

IP Authentication: A Tale of Performance Pitfalls and Challenges in Prod

July 10, 2025 16:10 – 16:40 · 30 min Stage 1

What this session covers

I explore our journey with IP-based authentication as part of a major re-engineering of our authentication methods. I will focus on the inherent performance challenges and unexpected issues we encountered… in production. I will talk about why IP authentication, despite its initial appeal, is a problematic solution in practice.

  • The fundamental flaw
  • Performance implications of constant IP checks
  • Production rollout tale: Massive error rates (>30k/hour)
  • Root cause analysis: Unexpected impact of cookieless crawlers
  • Lessons learned

I will offer insights for engineers considering IP authentication (don’t do it). I will discuss how the requirement for constant IP checking creates a performance bottleneck, and how seemingly minor factors like crawler behavior and old clients can significantly impact system stability. I will also talk about our production fuckups and how we tried to find out if our customers really had a problem or if this was just a storm in the waterglas.

performance

World Congress 2025

Related talks

Open session

Lessons learned from observing a billion API requests

  • Pratim Bhosale

    Treblle

    Senior Developer Experience Engineer

Open session

Keycloak case study: Making users happy with service level indicators and observability

  • Alexander Schwartz

    Red Hat

    Principal Software Engineer

Open session

Delegating the chores of authenticating users to Keycloak

  • Alexander Schwartz

    Red Hat

    Principal Software Engineer

Open session

The AI Agent Path to Prod: Building for Reliability

  • Max Tkacz

    n8n

    Staff Developer Advocate

All sessions at this congress