React Cheatsheet 06 — Memoization (memo, useMemo, useCallback)

Cheatsheet: when to memoize, React Compiler, perf measurement.

May 19, 2026 · 3 min · 589 words · Manvendra Rajpoot

MongoDB Cheatsheet 07 — Performance Tuning

Cheatsheet: indexes, explain, profiling, slow ops.

May 28, 2026 · 2 min · 325 words · Manvendra Rajpoot

React Cheatsheet 07 — Performance Profiling

Cheatsheet: React DevTools profiler, common bottlenecks, code splitting, Suspense.

May 19, 2026 · 3 min · 568 words · Manvendra Rajpoot

SQLAlchemy Cheatsheet 08 — Performance, N+1, Bulk Ops, Streaming

Cheatsheet: detect N+1, bulk insert/update, yield_per, load_only, defer, EXPLAIN, slow query logging.

May 12, 2026 · 3 min · 459 words · Manvendra Rajpoot

Python Cheatsheet 09 — Profiling (py-spy, cProfile, scalene)

Cheatsheet: when to use each profiler, common commands, reading output.

May 17, 2026 · 3 min · 463 words · Manvendra Rajpoot

Postgres SQLAlchemy Textbook Ch. 9 — Upsert, Bulk Insert, and COPY

Postgres-specific bulk operations: ON CONFLICT, RETURNING, bulk insert via execute, asyncpg COPY for huge data.

May 8, 2026 · 3 min · 557 words · Manvendra Rajpoot

SQLAlchemy 2.0 Textbook Ch. 9 — Performance: N+1, Bulk Ops, Streaming

Practical SQLAlchemy performance: avoiding N+1, bulk_insert_mappings, server-side cursors, EXPLAIN ANALYZE patterns.

May 7, 2026 · 4 min · 764 words · Manvendra Rajpoot

Pydantic v2 Textbook Ch. 10 — Performance, FastAPI Integration, and Alternatives

Pydantic v2 perf tips, hot path optimization, FastAPI patterns, and when to consider msgspec / attrs.

May 9, 2026 · 3 min · 608 words · Manvendra Rajpoot

Nginx Cheatsheet 11 — Performance Tuning

Cheatsheet: worker tuning, sysctl, connection limits, profiling.

May 24, 2026 · 3 min · 476 words · Manvendra Rajpoot

Linux Cheatsheet 17 — Performance Tuning

Cheatsheet: perf tools, sysctl, eBPF, network tuning.

May 25, 2026 · 3 min · 635 words · Manvendra Rajpoot