- Horizontal scaling
- Adding more server instances to a pool rather than upgrading a single machine. Enables near-linear capacity growth and eliminates single-machine ceilings.
- Load balancer
- A component that distributes incoming requests across a pool of servers using an algorithm (round-robin, IP hash, least-connections, etc.) and removes unhealthy servers via health checks.
- SPOF (Single Point of Failure)
- Any component whose failure brings the entire system down. Eliminated by adding redundancy — duplicate instances that take over automatically on failure.
- REST
- Representational State Transfer — an HTTP-based API style where resources are addressed by URL and manipulated with standard HTTP methods (GET, POST, PUT, PATCH, DELETE).
- GraphQL
- A query language for APIs, created by Facebook, where clients specify the exact shape of the data they need in a single request to a single endpoint, eliminating over-fetching and under-fetching.
- gRPC
- Google's high-performance RPC framework that uses Protocol Buffers over HTTP/2. Most commonly used for server-to-server communication where raw throughput matters more than browser compatibility.
- WebSocket
- A protocol that upgrades an HTTP connection to a persistent, bidirectional channel, allowing servers to push data to clients without polling. Required for real-time features.
- AMQP
- Advanced Message Queuing Protocol — an enterprise messaging protocol that decouples producers and consumers through a message broker, guaranteeing delivery and enabling async processing.
- JWT (JSON Web Token)
- A signed, self-contained token format that encodes claims as JSON. Not an authentication method itself — used to carry authentication or session state between parties without a database lookup.
- OAuth2
- A delegated authorization framework that lets a service access resources on another service on behalf of a user, using short-lived access tokens. It proves the app can access a resource, not that it knows who the user is.
- RBAC (Role-Based Access Control)
- An authorization model that assigns permissions to roles and then assigns roles to users. Simple to audit but inflexible for fine-grained or context-dependent rules.
- ABAC (Attribute-Based Access Control)
- An authorization model that evaluates access based on attributes of the user, resource, and environment at request time. More expressive than RBAC but harder to reason about and audit.
- CSRF (Cross-Site Request Forgery)
- An attack where a malicious site tricks a logged-in user's browser into sending authenticated requests to another site. Mitigated by requiring a secret token the attacker cannot read from a cross-origin page.
- SQL Injection
- An attack that embeds malicious SQL into user input to manipulate database queries. Prevented by parameterized queries, which separate code from data at the database driver level.
- Idempotent (HTTP method)
- A request that produces the same result whether executed once or many times. GET, PUT, and DELETE are idempotent; POST is not — important for safe retry behavior.