Skip to content
Tag47 articles2 courses

Performance

Everything on CoreConcept tagged with Performance. Explore related tags below.

Related tags

Courses

Intermediate~25 min

Orientation to composition, custom hooks, and performance optimization. Course content is still expanding.

Intermediate~6.5 hours

From fundamentals to production — caching strategies, eviction policies, invalidation, Redis, CDN caching, and multi-level architectures. Practical patterns and a guided final project you build in your own stack (no bundled starter repo).

Articles

Large Language Model inference is notoriously memory-bandwidth bound. Generating tokens autoregressively requires loading all 70B parameter weights from GPU VRA

Aug 1, 20263 min read
Read

At the heart of every database system lies a Storage Engine that determines how data is written to disk, indexed, and retrieved. Relational databases like Postg

Aug 1, 20263 min read
Read

Rate Limiting is a critical defense mechanism for production APIs, protecting downstream microservices from traffic spikes, denial-of-service (DoS) attacks, and

Aug 1, 20263 min read
Read

Deploying open-weights foundation models (such as DeepSeek-R1, Llama 3, and Qwen 2.5) requires choosing a high-performance Inference Engine. Raw PyTorch models

Aug 1, 20263 min read
Read

Next.js 16 continues the evolution of web application architecture, refining React Server Components (RSC), introducing Partial Prerendering (PPR) into producti

Aug 1, 20263 min read
Read

System design interviews evaluate a candidate's ability to architect scalable, resilient, and cost-effective distributed systems under real-world constraints. S

Aug 1, 20263 min read
Read

In-memory caching is an essential component of high-throughput web architectures, reducing database read load and accelerating API response times. When selectin

Aug 1, 20265 min read
Read

With the release of OpenAI's reasoning model series (such as o3-mini), developers gain direct control over inference-time compute using the reasoning_effort par

Jul 31, 20263 min read
Read

In enterprise AI applications, system instructions, database schemas, codebases, and retrieval contexts are frequently repeated across thousands of API calls. P

Jul 31, 20263 min read
Read

Deploying AI agents inside enterprise monorepos containing millions of lines of code, hundreds of microservices, and gigabytes of build artifacts presents sever

Jul 31, 20265 min read
Read

The same model that answers instantly on a short prompt can crawl once a conversation grows long, and the bill grows with it even though the question did not ge

Jul 29, 202611 min read
Read

Shrinking a model can mean two very different things. Quantization keeps the model architecture mostly the same but stores and computes weights with lower preci

Jul 28, 20263 min read
Read

A model does not see your prompt as words or characters. It sees token ids produced by a tokenizer. That is why a short-looking string can be expensive, a long

Jul 28, 20264 min read
Read

LLM caching sounds simple until the cached answer crosses a tenant boundary, repeats stale product policy, or hides a model regression. The hard part is not sto

Jul 28, 20268 min read
Read

A product manager says PAY-204: next Friday's campaign may double checkout traffic for three hours. The beginner mistake is asking, "How many servers do we need

Jul 22, 202612 min read
Read

A dashboard can look “fast” while users still wait, and a load test can report huge requests-per-second while p99 checkout times explode. Latency is how long on

Jul 17, 20267 min read
Read

You press Enter on https://shop.example/products/42. A moment later, a product page appears. That small action crosses naming, transport security, HTTP, edge in

Jul 17, 202612 min read
Read

Checkout slows while product pages remain healthy. CPU is moderate, but the orders table shows rising lock waits and writes queue behind one hot index. Adding a

Jul 16, 20265 min read
Read

A product page feels instant on the second visit because some layer reused work from the first. The useful beginner question is not “should we add Redis?” but “

Jul 16, 20265 min read
Read

Many developers reach for async/await hoping one method will finish sooner. It does not make a database round-trip or HTTP call execute faster; the external ope

Jul 16, 20264 min read
Read

A Redis GET can be constant-time and still miss its latency target when a large Lua script is ahead of it, the client opens a new TLS connection, or the value t

Jul 5, 20267 min read
Read

A selective lookup that once scanned most of a large table can become an index walk plus a few heap fetches — often the difference between a snappy API and a ti

Jul 4, 20265 min read
Read

Traffic climbs and something saturates — CPU, memory, disk, or connection count. Vertical scaling gives one machine more resources. Horizontal scaling adds mach

Jul 4, 20264 min read
Read

A product page is easy to cache until a price changes: the CDN still has the old response, one app instance has an older in-process value, and Redis has already

Jul 4, 20268 min read
Read

One buggy client can retry a failing endpoint in a tight loop and starve everyone else. Rate limiting protects shared capacity and keeps abuse expensive; a sing

Jul 4, 20265 min read
Read

"The index exists, why is this query still slow?" is one of the most common database escalations — and the answer is almost always sitting in EXPLAIN ANALYZE ou

Jul 21, 20268 min read
Read

A product page's cache key expires at 2:00:00pm. In the same instant, 5,000 concurrent requests check the cache, all get a miss, and all 5,000 independently que

Jul 21, 20267 min read
Read

Next.js 16 introduces powerful performance primitives for modern React applications. With refined React Server Components (RSC) streaming, explicit route-level

Aug 3, 20269 min read
Read

While modern JavaScript JIT engines execute code at high speeds, garbage collection pauses and dynamic typing overhead make JS ill-suited for heavy computationa

Aug 3, 20269 min read
Read

PostgreSQL query optimization requires moving beyond intuition to inspect the actual execution plans generated by the Cost-Based Optimizer (CBO). Slow SQL queri

Aug 3, 20269 min read
Read

High-concurrency microservices demanding sub-millisecond API response times and tens of thousands of requests per second per node require low-overhead runtime e

Aug 3, 20269 min read
Read

Modern web applications must deliver instantaneous visual rendering and smooth, latency-free user interactions. Heavy JavaScript bundle sizes, unoptimized hero

Aug 3, 20269 min read
Read

Building real-time applications — such as crypto market data feeds, multiplayer gaming servers, or live chat applications — requires maintaining hundreds of tho

Aug 3, 20269 min read
Read

Large Language Model (LLM) API calls — such as requesting completions from Google Gemini 1.5 Flash — introduce significant financial costs ($/token) and latency

Aug 3, 20269 min read
Read

Primary relational databases (like PostgreSQL or MySQL) execute disk I/O and query compilation for every read query. As application concurrency grows to thousan

Aug 3, 20269 min read
Read

Command-Line Interface (CLI) developer tools built with interpreted runtimes (like Node.js or Python) suffer from cold-start startup overhead (50ms–200ms node m

Aug 3, 20269 min read
Read

Traditional full-text search engines (like Elasticsearch or Apache Solr) are designed for massive multi-terabyte log analytics and distributed cluster operation

Aug 3, 20269 min read
Read

Traditional application performance monitoring (APM) agents rely on user-space code instrumentation (such as bytecode manipulation in Java or monkey-patching in

Aug 3, 20269 min read
Read

Google officially replaced First Input Delay (FID) with Interaction to Next Paint (INP) as a Core Web Vitals metric. While FID measured only the delay before th

Aug 3, 20269 min read
Read

Database queries executing against multi-million row tables suffer severe latency spikes if the database storage engine must scan every page file on disk sequen

Aug 3, 20269 min read
Read

Establishing a fresh TCP connection to a PostgreSQL database server requires a 3-way TCP handshake, TLS certificate negotiation, process fork (backend process c

Aug 4, 20269 min read
Read

Debugging sub-millisecond tail latency spikes ($p_{99.9}$) in complex Kubernetes microservice architectures using traditional userspace APM agents (like Java/No

Aug 4, 20264 min read
Read

As web applications scale to hundreds of thousands of active users, querying relational databases for every page view creates severe I/O bottlenecks and high da

Aug 5, 20263 min read
Read

As database tables grow to tens of millions of rows, un-optimized PostgreSQL queries cause sudden CPU spikes, connection pool exhaustion, and elevated API tail

Aug 6, 20264 min read
Read

"Optimize LCP" is not one task, because Largest Contentful Paint is not one number you move with one fix — it's the sum of four distinct phases, each with a dif

Aug 3, 20269 min read
Read

A Redis SET key value NX EX 5 lock stops a cache stampede in theory, but two implementation details separate a lock that actually works under concurrent load fr

Aug 3, 20269 min read
Read

Every request into a microservices backend crosses the same narrow point before it reaches any business logic: the API gateway. Under light load, almost any gat

Aug 3, 20269 min read
Read

Want a curated collection instead? Topic hubs group the best content by subject.

Browse Topics