Optimization Patterns

Use when optimizing performance, implementing caching, fixing N+1 queries, improving database queries, adding indexes, reducing latency, choosing a data structure, deciding whether to optimize at all, or reviewing code for performance anti-patterns. Covers caching strategies and the cache hierarchy, cache invalidation, the Python LRU cache and its pitfalls, N+1 detection and eager loading, index strategy, algorithmic complexity and Big-O tradeoffs, lazy loading, and connection pooling. Applies once a bottleneck is known; to find the bottleneck first, use profiling-guide.

AeyeOps Updated

File contents

AeyeOps/aeo-skill-marketplace/tree/main/aeo-performance/skills/optimization-patterns commit 781bba9324

Frequently asked questions

npx skillmds@latest add aeyeops/optimization-patterns