Explain the Bulkhead pattern.
Bulkheads isolate resource pools or dependencies so saturation in one area does not consume all capacity. Separate connection pools, concurrency
The question library
Explore practical questions, clear explanations, and code examples across developer technologies.
Showing 3505–3516 of 3610 questions
Bulkheads isolate resource pools or dependencies so saturation in one area does not consume all capacity. Separate connection pools, concurrency
Retry only transient failures and operations safe to repeat, cap attempts, add jitter, and honor deadlines/cancellation. Unbounded or synchronize
A downstream timeout must fit within the caller's remaining deadline, leaving time for processing and response. Propagate deadlines and avoid ret
Closed allows calls while tracking failures; open rejects calls temporarily; half-open permits limited probes. Configure thresholds and recovery
A Saga coordinates local transactions and compensating actions instead of one global ACID transaction. Compensation is a new business action, may
Store the business change and an outbox event in the same local database transaction. A publisher sends pending events asynchronously; consumers
Assign a stable message ID and record processed IDs atomically with the business change. If the ID has already been applied, acknowledge without
Replicas or services may temporarily return different values after a write, but converge if updates stop and propagation succeeds. Design UI and
CQRS separates command handling from read models when write rules and read/query needs differ significantly. It adds projection lag, operational
Choose a key such as API consumer, user, or tenant; select fixed-window, sliding-window, token-bucket, or leaky-bucket semantics; return 429 with
Load shedding rejects low-priority or excess work before queues and latency grow without bound. Pair it with admission control, bounded queues, a
Backpressure communicates that a consumer cannot safely accept more work. Bounded queues, demand-aware streams, and producer throttling keep memo