Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Reliability And Performance?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/sivaprasadreddy-reliability-and-performance)
---
name: reliability-and-performance
description: Design applications for predictable performance and graceful behavior under load, dependency failure, resource pressure, and partial outages.
---
# Reliability and Performance
## Purpose
Improve user-visible reliability and performance through explicit budgets, failure handling, capacity awareness, and measurement.
## When to use
Use when defining non-functional requirements, designing critical workflows, integrating dependencies, scaling workloads, or investigating performance and availability problems.
## Principles
- Define user-visible expectations before optimizing.
- Measure representative workloads; do not rely on intuition or microbenchmarks alone.
- Set end-to-end latency and resource budgets.
- Bound queues, concurrency, payload sizes, and expensive operations.
- Apply backpressure rather than allowing unbounded work to accumulate.
- Use timeouts for all remote calls and cancellation where possible.
- Retry only transient failures, with limits and jitter.
- Use circuit breakers, bulkheads, rate limits, and load shedding when justified by failure modes.
- Design degraded behavior for non-critical dependencies.
- Make background jobs safe to retry and recover.
- Consider capacity, cost, and operational complexity together.
## Workflow
1. Identify critical journeys and define measurable performance/reliability targets.
2. Model expected and peak traffic, payload sizes, data growth, and dependency limits.
3. Measure baseline latency, throughput, error rate, and resource usage.
4. Locate bottlenecks using profiling and traces.
5. Prioritize changes by user impact and evidence.
6. Define overload and dependency-failure behavior.
7. Test load, stress, soak, and recovery scenarios appropriate to risk.
8. Re-measure and compare against the baseline and targets.
## Common design considerations
- Cache only when freshness, invalidation, and failure behavior are understood.
- Use pagination, streaming, or asynchronous processing for large workloads.
- Avoid N+1 queries, unbounded scans, and excessive serialization.
- Prevent thread, connection, worker, and memory pool exhaustion.
- Avoid synchronized retry behavior across many clients.
- Design startup, shutdown, and deployment behavior to avoid dropping critical work.
- Consider graceful degradation and clear user feedback when optional capabilities fail.
## Review checklist
- Are targets measurable and tied to user experience?
- Are workloads and capacity assumptions explicit?
- Are all queues and resource pools bounded?
- Are timeouts, retries, and cancellation coherent end-to-end?
- Is overload behavior safe?
- Are bottlenecks supported by measurements?
- Can the system recover after dependency or instance failure?
Do not claim scalability based solely on architecture labels or theoretical horizontal scaling.