StackPractices

performance

Practical resources about performance for software engineers.

109 results

Optimizing for Speed and Efficiency

Performance is a feature. Slow applications lose users, increase infrastructure costs, and create a poor developer experience. Profiling, benchmarking, and systematic optimization are essential skills for senior engineers.

This section covers profiling techniques, database query optimization, frontend bundle analysis, memory leak detection, and latency reduction strategies. Each guide includes measurable targets and before/after benchmarks.

intermediate

Database Query Tuning Checklist

Checklist for systematic SQL query optimization: EXPLAIN plan analysis, index strategy, N+1 query...

intermediate

Load Test Plan Template

Template for planning and documenting load tests: test scenarios, user journey definitions, ramp-up...

intermediate

Performance Budget Template

Template for defining and enforcing web performance budgets: LCP, INP, CLS targets, resource...

performance web-vitals lighthouse core-web-vitals
intermediate

Capacity Planning Template

A reusable template for planning system capacity, estimating growth, and preventing performance...

advanced

Complete Guide to LLM Application Architecture

Build production LLM applications end-to-end. Covers API layers, prompt management, streaming,...

advanced

Complete Guide to LLM Cost Optimization

Optimize LLM costs in production. Covers model routing, prompt compression, caching, batch API,...

advanced

Complete Guide to LLM Evaluation

Evaluate LLM applications in production. Covers RAGAS, LLM-as-judge, human evaluation, A/B testing,...

advanced

Complete Guide to OpenAI API Mastery

Master the OpenAI API in production. Covers chat completions, streaming, function calling,...

advanced

Complete Guide to GraphQL Caching

Cache GraphQL responses at every layer: CDN, gateway, DataLoader, persisted queries, and...

advanced

System Design Interview Guide: Key Concepts

A practical guide to system design interviews: scalability, databases, caching, load balancing,...

advanced

Complete Guide to Application-Level Caching

Implement in-memory, distributed, and hybrid caches at the application layer. Covers LRU caches,...

caching in-memory distributed-cache guide
advanced

Complete Guide to Cache Invalidation

Master cache invalidation strategies: TTL expiration, event-driven invalidation, versioned keys,...

advanced

Complete Guide to CDN Caching Strategy

Design CDN caching for web applications and APIs. Covers edge caching, cache keys, cache headers,...

advanced

Complete Guide to Redis Caching Strategies

Master Redis caching with cache-aside, read-through, write-through, write-behind, and refresh-ahead...

advanced

Complete Guide to Go Concurrency

Master Go concurrency in production. Covers goroutines, channels, context, select, sync primitives,...

advanced

Complete Guide to Java Concurrency

Master Java concurrency in production. Covers threads, locks, CompletableFuture, virtual threads,...

advanced

Complete Guide to Python Asyncio

Master asynchronous Python programming with asyncio. Covers coroutines, tasks, event loops,...

advanced

Complete Guide to Python Asyncio in Production

Run Python asyncio in production with confidence. Covers event loops, task management, debugging,...

intermediate

Blob Storage: S3, GCS, and Azure Blob Patterns for Engineers

A practical guide to cloud blob storage: bucket design, access control, lifecycle policies,...

intermediate

Caching Strategies: From Browser to Database, a Complete

A practical guide to caching strategies: browser caching, CDN edge caching, application caching...

No results found.