What trade-offs come with database read replicas?
Read replicas can scale read-heavy workloads but may lag behind the primary. Route consistency-sensitive reads to the primary or use an explicit
The question library
Explore practical questions, clear explanations, and code examples across developer technologies.
Showing 3529–3540 of 3610 questions
Read replicas can scale read-heavy workloads but may lag behind the primary. Route consistency-sensitive reads to the primary or use an explicit
Define whether stale reads are acceptable and for how long. Cache-aside with TTL is simple but can be stale; write-through, versioned keys, inval
Measure representative throughput and latency under realistic load, identify bottlenecks, and apply headroom for bursts and failures. Little's La
The system preserves core functionality when optional dependencies fail, such as hiding recommendations while checkout remains available. Define
A routing layer gradually directs selected capabilities to new services while the legacy system continues serving remaining behavior. Migration r
An anti-corruption layer translates an external or legacy model into the domain model so upstream concepts and inconsistencies do not leak into a
A request that calls many downstream services increases tail latency and failure probability. Reduce serial calls, parallelize only independent w
Software testing evaluates whether a system behaves as expected and helps reveal defects, risks, and gaps in requirements.
Verification asks whether the product was built according to specification; validation asks whether it solves the user's actual problem.
The testing pyramid recommends many fast, focused unit tests, fewer integration tests, and a smaller set of end-to-end tests.
Manual testing uses a person to execute and evaluate scenarios; automated testing uses scripts or tools to repeat checks.
A test case describes preconditions, inputs, steps, and expected outcomes for a specific behavior.