System Design Roadmap 03 - Application Layer and Services
0.0(0)
Studied by 0 people
Call Kai
Learn
Practice Test
Spaced Repetition
Match
Flashcards
Knowt Play
Card Sorting
1/16
There's no tags or description
Looks like no tags are added yet.
Last updated 1:33 AM on 7/23/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat
No analytics yet
Send a link to your students to track their progress
17 Terms
1
New cards
Application layer responsibility
Hosts business logic, validates requests, coordinates data access, emits events, enforces authorization, and returns APIs or rendered responses.
2
New cards
Stateless service
A service that does not keep user/session state in local memory between requests. Statelessness makes horizontal scaling and failover much easier.
3
New cards
Microservices
Small independently deployable services aligned to business capabilities. They improve ownership and independent scaling but add network, data, testing, and operational complexity.
4
New cards
Monolith vs microservices
A monolith is simpler to develop, test, deploy, and debug early. Microservices help when team/product boundaries and scaling needs justify distributed-system overhead.
5
New cards
Service discovery
A mechanism for finding healthy service instances dynamically. It can be client-side, server-side, DNS-based, or registry-based.
6
New cards
Service registry
A database of service instances and health metadata. Instances register on startup and deregister on shutdown or failed health checks.
7
New cards
API gateway
A front door for APIs that can route, authenticate, rate limit, aggregate, transform, and log requests. Avoid stuffing too much business logic into it.
8
New cards
Backends for Frontend
Separate backend/API layers tailored to different clients such as web, iOS, Android, or partner APIs. Useful when clients need different shapes or release cadences.
9
New cards
Sidecar pattern
Run helper functionality beside an app instance, often for proxies, logging, configuration, or service mesh behavior. It keeps cross-cutting concerns out of app code.
10
New cards
Ambassador pattern
A helper proxy handles outbound network concerns such as retries, discovery, routing, or TLS on behalf of the app.
11
New cards
Anti-corruption layer
A translation layer that protects a domain model from legacy systems or external models. It prevents incompatible concepts from leaking inward.
12
New cards
Strangler Fig pattern
Gradually replace a legacy system by routing new functionality to new services while old parts keep running until retired.
13
New cards
External configuration store
Centralizes config outside application binaries so settings can change safely across environments. Needs versioning, access control, and rollback.
14
New cards
Gateway routing
Route requests to services based on URL, host, headers, tenant, or version. Useful for APIs, migrations, and multi-service front doors.
15
New cards
Gateway offloading
Move shared concerns like TLS termination, auth checks, compression, or rate limits to a gateway so services stay focused.
16
New cards
Gateway aggregation
Combine calls to multiple backend services into one client-facing response. Useful for reducing client round trips but can create gateway bottlenecks.
17
New cards
Compute resource consolidation
Pack workloads efficiently to improve utilization and cost, while keeping isolation and noisy-neighbor risk under control.