Back to Webinars

Scaling Service to Service Auth: Lessons from Million+ Request Architectures

Date Aired: December 9, 2025

What You’ll Learn

Scaling service-to-service auth forces authentication out of the application code and into the architecture. This session follows that progression from a monolith handling tens of thousands of requests per second to distributed systems processing hundreds of thousands or millions. You will see where databases, synchronous validation, logging, token checks, and authorization policies become bottlenecks, then learn which components to isolate, cache, queue, replicate, or move closer to the request.

Key Takeaways:

  • Authentication stops being an application detail once traffic, teams, and dependencies grow. Shared databases create contention, synchronous checks add latency, and unrelated deployments can take login down with the rest of the monolith. A dedicated identity service gives authentication its own data store, scaling controls, and failure boundary.
  • Read replicas and caching absorb the read-heavy workload behind password checks, client credential validation, sessions, and signing keys. A layered cache can push throughput much higher, but only when invalidation is designed for disabled users, changed permissions, rotated keys, and revoked credentials.
  • Human logins and machine traffic should not compete for the same capacity. API clients may generate orders of magnitude more requests than users, so dedicated identity-provider instances can isolate machine workloads while a shared control plane keeps configuration consistent.
  • Synchronous logging becomes an authentication bottleneck at high request volumes. Moving audit and security events to background workers or queues keeps token exchanges and login flows from waiting on downstream storage, SIEM ingestion, or database writes.
  • Rate limiting, load shedding, circuit breakers, and autoscaling solve different parts of the same production problem. Autoscaling adds capacity, rate limits contain abusive or accidental spikes, circuit breakers stop failing dependencies from consuming more resources, and load shedding preserves the system when demand exceeds safe limits.
  • An API gateway provides a common enforcement point for scaling service-to-service auth. It can validate credentials, cache public keys, inspect tokens, enforce limits, and pass verified identity context downstream without forcing every microservice to implement and operate its own authentication layer.
  • Local validation removes the identity provider from the critical path of most API requests. Services or gateways can cache public signing keys and validate signed access tokens themselves, reducing network calls dramatically. Revocation and key rotation still require short cache lifetimes and deliberate refresh behavior.
  • Access tokens should move through the service chain rather than be replaced at every hop. Reissuing tokens inside each microservice turns the identity provider into a shared dependency for every transaction. Propagating short-lived tokens allows downstream services to verify delegated identity locally with fewer failure points.
  • Multi-region deployments and passive identity-provider instances create a practical regional failover path. Circuit breakers can detect failure, and the API gateway can redirect traffic to a synchronized backup rather than relying on manual recovery during an outage.
  • Authorization becomes the next scaling problem after authentication is distributed. Every request may require a decision based on roles, attributes, resources, and context. Clean resource models, simpler policies, and placing decision data close to the enforcement point matter more than adding hardware to a poorly designed policy engine.
View Transcript

Who Should Watch This Webinar?

  • Security architects
  • Platform engineers
  • IAM engineers
  • API architects
  • Infrastructure engineers
  • Engineering leaders
  • Site reliability engineers

Topics Discussed:

  • Scaling service-to-service auth
  • Monolithic authentication bottlenecks
  • Dedicated identity providers
  • Identity data-store isolation
  • Read replicas and failover
  • Authentication cache hierarchies
  • Human and machine workload isolation
  • Asynchronous audit logging
  • Horizontal and vertical autoscaling
  • Load shedding and rate limiting
  • Circuit-breaking patterns
  • API gateway enforcement
  • Local access-token validation
  • Token propagation across services
  • Multi-region identity deployments
  • Sidecars and service meshes
  • Dedicated tenant infrastructure
  • RBAC and ABAC
  • Distributed authorization systems
  • Authorization policy design

Speakers:

Harsha Reddy Photo
Harsha Reddy
Lead Software Engineer, Klaviyo
Harsha Reddy is a senior software engineer with more than a decade of experience building enterprise-scale applications and leading teams focused on developer effectiveness. His work centers on authentication, authorization, and the governance frameworks that keep large engineering organizations secure without slowing them down. He holds a master's degree in computer science from UT Dallas and has published practical technical guides on code profiling and load-testing identity systems, including a well-regarded walkthrough on testing authentication layers with K6 and Grafana. Harsha leads engineering deep dives on microservice architecture and application security and is known for his ability to translate complex technical challenges into clear, actionable frameworks for the developers around him.
Brad McCarty Photo
Brad McCarty
Sr. Product Marketer, FusionAuth
Brad McCarty has a theory about identity marketing: most of it fails because it's written for everyone, which means it's useful to no one. His own work takes the opposite approach: Migration case studies documenting why organizations leave legacy providers like Auth0 and AWS Cognito, infrastructure guides on building scalable CIAM with modern cloud platforms, and market analyses like the G2 Winter 2026 Grid Breakdown, tracking real shifts in how developers are choosing identity infrastructure. He presented the FusionAuth or Keycloak Decision Framework webinar to help engineering teams work through total cost of ownership trade-offs, and led the live reveal of the 2026 State of AI & Identity Report. He's been doing this long enough to know that the gap between what a product does and what a sales team can explain is where deals are won or lost.
Featured Capability
Machine to Machine Auth
learn more
FusionAuth's Manage Permissions panel showing API permissions (Manage, Read, Update) with edit and delete actions.
Share this post
Watch  On-Demand
Subscribe to The FusionAuth Newsletter
Get updates on techniques, technical guides, and the latest product innovations coming from FusionAuth.