Christoph Eicke

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

They cached 72 million IPs to fix a performance bug, but the system kept failing. The real root cause was far more subtle.

IP Authentication: A Tale of Performance Pitfalls and Challenges in Prod
#1about 1 minute

The case against IP-based authentication for microservices

Migrating a PHP monolith to microservices revealed the fundamental problems with using IP-based authentication, a method you should avoid.

#2about 6 minutes

Understanding the mechanics and tradeoffs of IP authentication

IP authentication simplifies user access for large institutions by mapping an IP address to a user, but it creates issues with user tracking, licensing, and technical complexity.

#3about 3 minutes

Investigating initial deployment failures and performance issues

The first two production deployments failed due to massive error spikes, leading to an architectural change from a slow MySQL database lookup to a faster Redis cache.

#4about 2 minutes

Adopting a fail forward strategy to debug in production

After repeated failures, the team decided to stop rolling back and instead collaborated directly with customers in screen-sharing sessions to diagnose the issue live.

#5about 2 minutes

Discovering the root cause of the infinite redirect loop

The core problem was that legacy and new AWS accounts read the user's IP from different headers, causing a mismatch that sent cookieless bots into an infinite redirect loop.

#6about 2 minutes

How proxies and data entry errors break assumptions

The investigation revealed that academic and corporate proxies often rewrite URLs and strip cookies, and a simple data entry error in the CRM granted access to 1.5% of the internet.

#7about 1 minute

Lessons in collaborative problem-solving and architecture evolution

Using mob programming sessions during the crisis strengthened the team, and the final architecture evolved from Lambda to Fargate for cost and performance reasons.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

Related Articles

View all articles
DC
Daniel Cranney
Dev Digest 188: CfP time, the risks of NPM and IKEA algorithms
Inside last week’s Dev Digest 188 . 🤖 GitHub Copilot CLI is now in public review 💻 Microsoft is bringing ‘vibe working’ to office apps 🎣 Attackers abuse AI tools to generate captchas in fishing attacks ⚠️ When LLMs autonomously attack 🧠 Common cause...
Dev Digest 188: CfP time, the risks of NPM and IKEA algorithms
DC
Daniel Cranney
Dev Digest 194: AI vs. Version Control, Password Louvre & Cursed Webdev
Inside last week’s Dev Digest 194 . 🧠 Learn how to become an AI-native software engineer 🤷‍♂️ How can you stand out when anyone can build anything? 👂 Whisper Leak allows listening to encrypted chats 🐝 What’s new the OWASP2025 Top Ten List 🙅‍♀️ Curse...
Dev Digest 194: AI vs. Version Control, Password Louvre & Cursed Webdev
CH
Chris Heilmann
Dev Digest 134 - Where pixels sing?
News and ArticlesWeAreDevelopers LIVE Data and Security Day is on Wednesday, 25/09/2024. Learn about OPC UA Updates, Best Practices for Using GitHub Secrets, Passwordless Web 1.5, Emerging AI Security Risks, Data Privacy in LLMs and get a chance to t...
Dev Digest 134 - Where pixels sing?
DC
Daniel Cranney
Dev Digest 170: All things MCP, huge login data leaks and web privacy
Inside last week’s Dev Digest 170 . 🙌 MCP - Hype or hope? 🤖 Hidden costs of AI coding 😬 2 billion Discord messages leaked 🕵️ W3C releases web privacy principles ⚠️ Detecting malicious unicode 🎂 The history of JavaScript and Java at 30 ▦ A Tailwind g...
Dev Digest 170: All things MCP, huge login data leaks and web privacy

From learning to earning

Jobs that call for the skills explored in this talk.

IAM Architect

IAM Architect

LA International
Charing Cross, United Kingdom

£153-156K
Azure
Powershell
Microsoft Active Directory
Scripting (Bash/Python/Go/Ruby)
IAM Engineer

IAM Engineer

IntelStack
Municipality of Vitoria-Gasteiz, Spain

API
JSON
Azure
DevOps
Python
+1
IAM Engineer

IAM Engineer

IntelStack
Municipality of Valencia, Spain

API
JSON
Azure
DevOps
Python
+1
IAM Engineer

IAM Engineer

IntelStack
Municipality of Madrid, Spain

API
JSON
Azure
DevOps
Python
+1
Product Owner IAM

Product Owner IAM

Sopra Steria
Municipality of Córdoba, Spain

Microsoft Active Directory
Product Owner IAM

Product Owner IAM

Sopra Steria
Municipality of Santiago de Compostela, Spain

Microsoft Active Directory