← Home ← Codex ← DEBT
Browse by Category
+ added · updated 7d
Level All Beginner Intermediate Advanced Tag: performance
✕ Clear A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
AI Model Quantization
Compressing neural network weights and activations to lower-precision formats (int8, int4, fp8) to shrink memory and accelerate inference.
3w ago ai_ml advanced
APM — Application Performance Monitoring PHP 7.0+
APM tools (Datadog, New Relic, Blackfire) automatically instrument applications to profile code-level performance — identifying slow DB queries, N+1 problems, and method-level bottlenecks.
2mo ago observability intermediate
App Shell Pattern 🧠 3
A PWA architecture that separates the minimal UI skeleton (shell) from dynamic content — the shell is cached by the service worker and loads instantly, while content is fetched fresh on each visit.
2mo ago mobile intermediate
array_column() — Plucking Values from Arrays PHP 5.5+
array_column() extracts a single column from a multi-dimensional array or array of objects — the idiomatic PHP replacement for foreach loops that build lookup arrays, and for creating ID-indexed maps.
2mo ago php beginner
Ahead-of-Time vs Just-in-Time Compilation 🧠 1
AOT compiles all code before execution (C, Go, Rust — fast startup, predictable performance). JIT compiles hot paths at runtime (PHP 8+, JVM — adapts to actual usage patterns).
3mo ago compiler intermediate
AI API Cost Management 🧠 1
Strategies to reduce LLM API costs — caching identical prompts, batching requests, choosing smaller models for simpler tasks, and minimising context length.
3mo ago ai_ml intermediate
Amortized Analysis
Averaging the cost of an operation over a sequence — explaining why dynamic array append is O(1) amortised despite occasional O(n) resizes.
3mo ago algorithms advanced
APM Tools PHP 5.0+
Application Performance Monitoring tools — Datadog, New Relic, Elastic APM — provide distributed tracing, performance profiling, error tracking, and anomaly detection in production.
3mo ago observability intermediate
App Shell Architecture PHP 7.0+ 🧠 1
Caching the minimal HTML, CSS, and JS needed to display the UI skeleton on first load — so the shell renders instantly from cache while dynamic content loads from the network.
3mo ago mobile intermediate
Diagram: APCu — In-Process User Cache APCu — In-Process User Cache PHP 5.4+
APCu stores PHP values in shared memory within the PHP-FPM pool — the fastest possible cache with no network hop overhead.
3mo ago performance intermediate
Diagram: API Pagination Patterns API Pagination Patterns
Strategies for returning large collections in manageable chunks — offset/page-based, cursor/keyset, and hybrid approaches each suit different use cases.
3mo ago api_design intermediate
Diagram: API Rate Limiting API Rate Limiting
Controlling how many requests a client can make in a time window — protecting against abuse, ensuring fair usage, and preventing accidental DoS from misbehaving clients.
3mo ago api_design intermediate
Diagram: Asset Versioning & Browser Cache Strategy Asset Versioning & Browser Cache Strategy
Serving static assets with immutable long-lived cache headers plus content-hash filenames — maximising cache hits while guaranteeing instant cache-busting on change.
3mo ago performance beginner
Diagram: Async Processing / Job Queues Async Processing / Job Queues PHP 5.0+ 🧠 1
Deferring time-consuming work (emails, image processing, third-party API calls) to background workers via a queue, improving response times.
3mo ago performance intermediate
Diagram: Asynchronous vs Parallel Execution Asynchronous vs Parallel Execution PHP 7.0+
Async enables concurrency within a single thread by interleaving tasks during I/O waits; parallel execution uses multiple threads/processes for true simultaneous CPU execution.
3mo ago concurrency intermediate
Diagram: Auto Scaling Auto Scaling PHP 5.0+ 🧠 1
Automatically adding or removing compute instances based on load metrics — ensuring capacity matches demand without over-provisioning or under-provisioning.
3mo ago cloud intermediate
Diagram: Autocomplete & Typeahead Autocomplete & Typeahead PHP 5.0+ 🧠 1
Showing relevant suggestions as the user types — requiring fast prefix search, debouncing, and careful UX to be helpful rather than distracting.
3mo ago search intermediate
✓ schema.org compliant