SpinTheMic
Pro

Explain it in 60 seconds

Policy enforcement at the edge vs in services

System Design · APIs and Communication · Experienced

Which policies belong at the API gateway and which belong inside services?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Edge: authentication, coarse rate limits, request validation, WAF.
  • Services: fine-grained authorisation, business rules.
  • Defence in depth: services re-check identity.
  • Avoid business logic in gateway.
  • Central policy engines (OPA) as option.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics