StackPractices

performance

Practical resources about performance for software engineers.

103 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

Full-Text Search — Implement Search That Actually Works

A practical guide to full-text search: PostgreSQL tsvector, Elasticsearch indexing, query design,...

intermediate

Read Replicas: Scale Reads Without Changing Your App

Production guide to database read replicas: streaming replication setup, read/write routing (app,...

advanced

Real-Time Analytics: From Events to Dashboards in Seconds

A practical guide to real-time analytics: event collection, stream processing, data warehousing,...

advanced

Complete Guide to MongoDB Indexing

Choose the right MongoDB index for every query pattern: compound, text, geospatial, TTL, wildcard,...

advanced

Complete Guide to PostgreSQL Tuning

Tune PostgreSQL for high throughput: server config, indexes, query plans, connection pooling,...

advanced

Complete Guide to SQL Query Optimization

Find and fix slow SQL queries: read EXPLAIN plans, index the right way, kill N+1 queries, and apply...

intermediate

Database Denormalization: Storage for Read Speed

A practical guide to database denormalization: when to trade storage for read performance, common...

intermediate

Database Indexing Strategies — From B-Trees to BRIN

A practical guide to database indexes: B-Trees, Hash, GIN, GiST, BRIN, and partial indexes. Learn...

intermediate

Time-Series Databases — InfluxDB, TimescaleDB, ClickHouse

Practical guide to time-series databases: when to use a TSDB, data model, retention policies, and...

clickhouse influxdb timescaledb time-series
intermediate

Blue-Green Deployment Guide

A practical guide to blue-green deployments: architecture decisions, traffic-switch mechanisms,...

intermediate

Canary Deployment: Gradual Rollouts with Safety Controls

A practical guide to canary deployments: traffic splitting, automated promotion, rollback triggers,...

intermediate

Logging, Monitoring & Observability Guide

A guide to building observable systems with structured logging, metrics, and distributed tracing.

intermediate

Site Reliability Engineering

A practical guide to SRE: defining SLIs, SLOs, and SLAs, managing error budgets, toil reduction,...

advanced

Bundle Size Optimization: A Practical Frontend Guide

A hands-on guide to measuring and reducing JavaScript bundle size with tree shaking, code...

performance frontend bundle-size code-splitting
advanced

Complete Guide to React 19 Features

A practical walkthrough of React 19: server components, the use() hook, actions, ref as a prop,...

react frontend guide server-components
intermediate

Complete Guide to React Performance Optimization

Optimize React apps for speed. Covers memoization, virtualization, code splitting, bundle analysis,...

advanced

Complete Guide to React Server Components: RSC Architecture

A deep dive into React Server Components: the RSC payload, server-client boundaries, data loading,...

intermediate

React State Management: Zustand, Jotai, TanStack Query

How to choose and combine React state management tools: Context API, Zustand, Jotai, and TanStack...

intermediate

Metrics and Dashboards: A Prometheus & Grafana Guide

A practical guide to metrics and dashboards: instrumenting applications, choosing metric types,...

intermediate

Web Performance Optimization Guide

A thorough guide to optimizing web application performance for better Core Web Vitals and user...

No results found.