Topic

#Performance

99 posts tagged “Performance”.

Takina Takina · · 4 min read

What Is the Beacon API? navigator.sendBeacon()

The Beacon API lets a page send one last async request as it unloads, without blocking navigation or racing the browser's page teardown.

#Web Development #Frontend #Performance
The Lycoris Team The Lycoris Team · · 4 min read

What Is Write Amplification? SSDs and Databases

Write amplification is when a system writes more data physically than the logical write requested, wearing out storage faster and hurting throughput.

#Databases #Hardware #Performance
The Lycoris Team The Lycoris Team · · 4 min read

Redis Persistence: RDB vs AOF, Explained

Redis is in-memory, so RDB snapshots and the AOF log are how it survives a restart — each trades durability against performance differently.

#Redis #Databases #Performance
Chisato Chisato · · 4 min read

What Is Virtual Memory? Paging and Address Translation

Virtual memory gives every process its own private address space, mapped to physical RAM by the OS and CPU — enabling isolation, swapping, and overcommit.

#Hardware #Computer Science #Performance
The Lycoris Team The Lycoris Team · · 6 min read

How to Read a Postgres EXPLAIN ANALYZE Query Plan

A step-by-step guide to running EXPLAIN ANALYZE in PostgreSQL and reading the query plan it returns — node types, costs, and where the real time went.

#Databases #SQL #Performance
The Lycoris Team The Lycoris Team · · 5 min read

What Is Little's Law? Capacity Planning Explained

Little's Law relates the number of requests in a system, their arrival rate, and how long each one takes — a simple formula for sizing capacity.

#Computer Science #Performance #Backend
The Lycoris Team The Lycoris Team · · 5 min read

LRU vs LFU: Cache Eviction Policies Compared

LRU evicts whatever hasn't been used in the longest time; LFU evicts whatever has been used the fewest times. How each policy behaves and when to pick it.

#Computer Science #Data Structures #Performance
The Lycoris Team The Lycoris Team · · 5 min read

Postgres Index Types: B-Tree vs GIN vs GiST

Postgres offers several index types beyond the default B-tree. When GIN and GiST outperform it for arrays, JSONB, full-text search, and ranges.

#Databases #SQL #Performance
Takina Takina · · 4 min read

requestIdleCallback Explained

requestIdleCallback runs low-priority JavaScript when the browser is idle, without blocking rendering, input, or the main thread.

#JavaScript #Performance #Web Development
Takina Takina · · 4 min read

HTTP Range Requests and Partial Content, Explained

HTTP range requests let a client ask for just part of a resource, enabling video seeking, resumable downloads, and partial file fetches over HTTP.

#Networking #Web Development #Performance
Chisato Chisato · · 5 min read

What Is Memory Interleaving?

Memory interleaving spreads consecutive addresses across multiple memory banks so the system can access them in parallel instead of one at a time.

#Hardware #Computer Science #Performance
The Lycoris Team The Lycoris Team · · 5 min read

What Is a Covering Index?

A covering index holds every column a query needs, letting the database answer from the index alone without a lookup back to the table.

#Databases #SQL #Performance
Takina Takina · · 5 min read

Finding and Fixing Memory Leaks in JavaScript

A JavaScript memory leak happens when a reference outlives its usefulness and the garbage collector can't reclaim it. Common causes and how to find them.

#JavaScript #Web Development #Performance
Chisato Chisato · · 5 min read

Big-Endian vs Little-Endian: Byte Order Explained

Endianness decides whether a multi-byte number's most or least significant byte is stored first in memory. Why it matters and how to spot it.

#Hardware #Computer Science #Performance
Chisato Chisato · · 4 min read

Speculative Execution Explained: Speed vs Security

Speculative execution lets a CPU guess ahead and run instructions before it knows they're needed, buying speed at the cost of the timing side channels behind Spectre and Meltdown.

#Hardware #Computer Science #Performance
Chisato Chisato · · 4 min read

What Is Semantic Caching for LLM Applications?

Semantic caching reuses an LLM's past response for a new prompt that means the same thing, by comparing embeddings instead of exact text.

#AI #LLMs #Performance
Takina Takina · · 5 min read

Gzip vs Brotli: HTTP Compression Compared

Gzip and Brotli both shrink HTTP responses before they hit the wire. How each algorithm works, and why Brotli usually compresses text tighter.

#Performance #Web Development #Networking
The Lycoris Team The Lycoris Team · · 5 min read

Write-Through vs Write-Back vs Write-Around Caching

Write-through writes to cache and store together, write-back delays the store write, write-around skips the cache on writes entirely. When to use each.

#Databases #Performance #Backend
The Lycoris Team The Lycoris Team · · 4 min read

Amortized Analysis Explained: Average Cost Over Time

Amortized analysis measures the average cost of an operation over a sequence of calls, not its worst case. How dynamic array resizing gets O(1) amortized inserts.

#Computer Science #Algorithms #Performance
Takina Takina · · 5 min read

CSS will-change Explained: Compositing and Performance

The CSS will-change property hints the browser to prepare an element for an upcoming change, moving it to its own compositor layer. When to use it and when not to.

#CSS #Web Development #Performance
Chisato Chisato · · 4 min read

SIMD and Vectorization Explained

SIMD lets a CPU apply one instruction to multiple data points at once. How vectorization works, why compilers auto-vectorize loops, and its limits.

#Hardware #Computer Science #Performance
Chisato Chisato · · 4 min read

What Is a KV Cache? Why LLM Inference Speeds Up

A KV cache stores past attention keys and values during LLM inference so each new token reuses prior work instead of recomputing it from scratch.

#AI #LLMs #Performance
Chisato Chisato · · 4 min read

What Is Thermal Throttling? Why Chips Slow Down

Thermal throttling automatically reduces a chip's clock speed when it gets too hot, trading performance for safety. How it works and how to spot it.

#Hardware #Computer Science #Performance
Takina Takina · · 4 min read

Intersection Observer API Explained

The Intersection Observer API tells you when an element enters or leaves the viewport, without scroll-event polling. How it works and where to use it.

#JavaScript #Web Development #Performance
Takina Takina · · 4 min read

WebP vs AVIF vs JPEG: Choosing an Image Format

WebP, AVIF, and JPEG trade off compression, browser support, and encode speed differently. Which format to use where, and how to serve fallbacks safely.

#Web Development #Frontend #Performance
Takina Takina · · 4 min read

HTTP/2 vs HTTP/3: What Actually Changed

HTTP/2 fixed request multiplexing but stayed on TCP; HTTP/3 moves to QUIC over UDP to kill head-of-line blocking at the transport layer. The real differences.

#Networking #Performance #Web Development
Chisato Chisato · · 4 min read

What Is Thermal Design Power (TDP)?

TDP is the amount of heat a cooling system must dissipate for a chip, not a hard limit on its power draw. Why TDP and actual power draw often diverge.

#Hardware #Computer Science #Performance
Takina Takina · · 4 min read

What Is requestAnimationFrame? Smooth JS Animation

requestAnimationFrame schedules a callback right before the browser repaints, syncing JavaScript animation to the display's refresh rate. How it works.

#JavaScript #Frontend #Performance
Takina Takina · · 4 min read

The Speculation Rules API Explained

The Speculation Rules API lets browsers prerender pages before a click, making navigation feel instant. How it works and how it differs from prefetch.

#Web Development #Frontend #Performance
Takina Takina · · 4 min read

What Is Progressive Enhancement? Web Dev Explained

Progressive enhancement builds a working page with HTML first, then layers CSS and JavaScript on top — so a slow network or failed script never breaks the core experience.

#Web Development #Frontend #Performance
Chisato Chisato · · 4 min read

What Is NUMA? Non-Uniform Memory Access Explained

NUMA gives each CPU its own local memory bank, so access speed depends on which processor is asking. How NUMA nodes and remote access latency work.

#Hardware #Computer Science #Performance
Chisato Chisato · · 5 min read

What Is RAID? RAID Levels Explained

RAID combines multiple drives into one logical unit for redundancy, speed, or both. How RAID 0, 1, 5, 6, and 10 trade off capacity, speed, and safety.

#Hardware #Storage #Performance
Chisato Chisato · · 4 min read

What Is PCIe? The GPU and SSD Connection

PCIe (PCI Express) is the high-speed serial bus connecting GPUs, SSDs, and network cards to a CPU. How lanes, generations, and bandwidth work.

#Hardware #Computer Science #Performance
Chisato Chisato · · 4 min read

SSD vs HDD: How Storage Actually Differs

SSDs store data in flash memory chips with no moving parts; HDDs use spinning magnetic platters. How that difference plays out in speed, cost, and durability.

#Hardware #Computer Science #Performance
Chisato Chisato · · 4 min read

Memory Bandwidth vs Latency: What Slows a Chip

Bandwidth measures how much data memory moves per second; latency measures how long one access takes. Why chips need both, not just one.

#Hardware #Computer Science #Performance
Takina Takina · · 4 min read

Web Workers vs Service Workers: What's the Difference

Web workers run scripts off the main thread for parallel computation. Service workers intercept network requests for offline and caching. How they differ.

#JavaScript #Web Development #Performance
The Lycoris Team The Lycoris Team · · 4 min read

What Is a Quantum Computer? Qubits Explained

A quantum computer uses qubits in superposition and entanglement to explore many possible states at once, rather than one bit value at a time.

#Hardware #Computer Science #Performance
Chisato Chisato · · 4 min read

What Is ECC Memory? Error-Correcting Code RAM Explained

ECC memory detects and corrects single-bit errors in RAM automatically, using extra parity bits — critical for servers where silent corruption is costly.

#Hardware #Computer Science #Performance
Chisato Chisato · · 4 min read

DDR vs GDDR Memory: What's the Difference?

DDR and GDDR are both DRAM, but optimized for opposite goals: DDR minimizes latency for CPUs, GDDR maximizes bandwidth for GPUs. Here's how they diverge.

#Hardware #Computer Science #Performance
Takina Takina · · 3 min read

Lazy Loading Images: Native vs Intersection Observer

Lazy loading defers offscreen images until they near the viewport. Comparing the native loading attribute against Intersection Observer-based approaches.

#Web Development #Frontend #Performance
Chisato Chisato · · 4 min read

What Is a DPU (Data Processing Unit)?

A DPU is a specialized chip that offloads networking, storage, and security tasks from the CPU. How data processing units fit alongside CPUs and GPUs.

#Hardware #Chips #Performance
Chisato Chisato · · 4 min read

What Is a Semiconductor Process Node?

A process node like '5nm' or '3nm' names a chipmaker's manufacturing generation, not a literal measurement anymore. Here's what the number means.

#Hardware #Chips #Performance
Takina Takina · · 5 min read

HTTP Caching Headers: Cache-Control and ETag Explained

Cache-Control and ETag are the two headers that control HTTP caching — how long a response stays fresh and how to revalidate it cheaply, explained.

#Web Development #Performance #Networking
Takina Takina · · 4 min read

Resource Hints: Preload, Prefetch, and Preconnect

Resource hints like preload, prefetch, and preconnect tell the browser what to fetch early. Here's how each one works and when to reach for it.

#Web Development #Frontend #Performance
Takina Takina · · 4 min read

Astro Islands Architecture Explained

Astro's islands architecture ships static HTML by default and hydrates only the interactive components that need JavaScript. Here's how it works.

#Astro #Web Development #Performance
Chisato Chisato · · 4 min read

What Is a System on Chip (SoC)? Hardware Explained

A system on chip packs a CPU, GPU, memory controller, and other components onto one die — the design behind phones, laptops, and most modern chips.

#Hardware #Chips #Performance
Chisato Chisato · · 5 min read

ARM vs x86: CPU Architecture Compared

ARM and x86 are the two dominant CPU instruction set architectures — how RISC vs CISC design differs and why it affects power and performance.

#Hardware #Chips #Performance
Takina Takina · · 4 min read

AbortController: Canceling Fetch Requests in JS

AbortController lets JavaScript cancel an in-flight fetch or async task on demand, preventing stale responses from overwriting newer state.

#JavaScript #Web Development #Performance
The Lycoris Team The Lycoris Team · · 5 min read

The N+1 Query Problem and How to Fix It

The N+1 query problem turns one database request into hundreds by issuing a separate query per row. Here's how to spot it and fix it.

#Databases #SQL #Performance
Chisato Chisato · · 4 min read

SRAM vs DRAM: Why Chips Use Both

SRAM is fast, expensive, six-transistor memory used for CPU caches; DRAM is slower, cheaper, one-transistor memory used for main system memory.

#Hardware #Computer Science #Performance
Takina Takina · · 4 min read

CSS Scroll-Driven Animations Explained

CSS scroll-driven animations tie keyframes to scroll position instead of a clock, running smoothly off the main thread. Here's how the timeline model works.

#CSS #Web Development #Frontend
Chisato Chisato · · 4 min read

What Is an FPGA? Reconfigurable Chips Explained

An FPGA is a chip whose logic circuits can be reconfigured after manufacturing, sitting between fixed-function ASICs and general-purpose CPUs in flexibility.

#Hardware #Chips #Performance
Takina Takina · · 4 min read

What Is a PWA? Progressive Web Apps Explained

A PWA is a website built to behave like a native app — installable, offline-capable, and fast — using standard web technologies, not app-store code.

#Web Development #Frontend #Performance
Chisato Chisato · · 5 min read

What Is a Chiplet? Modular Chip Design Explained

A chiplet is a small, self-contained die that's packaged together with others to form one chip. How chiplets work and why the industry moved to them.

#Hardware #Semiconductors #Performance
Takina Takina · · 4 min read

What Is a Web Worker? Running JS Off the Main Thread

A web worker runs JavaScript on a background thread, freeing the main thread to keep the UI responsive. How workers communicate and when to use one.

#JavaScript #Web Development #Performance
Chisato Chisato · · 4 min read

CPU vs GPU vs TPU: What's the Difference?

CPUs excel at sequential logic, GPUs at parallel math, and TPUs at the specific matrix operations behind neural networks. Here's how they compare.

#Hardware #AI #Performance
Takina Takina · · 4 min read

What Is a Service Worker? Offline Web Apps Explained

A service worker is a script that runs separately from your page, intercepting network requests to enable offline access, caching, and push notifications.

#Web Development #Frontend #Performance
Takina Takina · · 5 min read

Debounce vs Throttle: Rate-Limiting Events in JS

Debounce and throttle both tame rapid-fire events, but differently — debounce waits for a pause, throttle enforces a steady rate. When to use each.

#JavaScript #Frontend #Performance
The Lycoris Team The Lycoris Team · · 5 min read

What Is Big O Notation? Algorithm Complexity Explained

Big O notation describes how an algorithm's time or memory grows as input grows. The common classes, what they mean, and how to reason about them.

#Computer Science #Performance #Algorithms
The Lycoris Team The Lycoris Team · · 4 min read

What Is Database Indexing? Faster Queries, Explained

A database index is a sorted data structure that lets the engine find rows without scanning the whole table. How indexes work, and when they help or hurt.

#Databases #SQL #Performance
Chisato Chisato · · 6 min read

What Is Caching? Cache Strategies, Explained

Caching keeps a copy of expensive data somewhere faster. How cache-aside, write-through, and TTLs work — and why invalidation is the hard part.

#Performance #Databases #Web Development
Chisato Chisato · · 4 min read

What Is an NPU? The AI Chip Inside Your Next Laptop

An NPU is a processor built for one job: running AI models fast at very low power. What TOPS numbers actually mean and why every new laptop ships with one.

#Hardware #AI #Performance
Chisato Chisato · · 5 min read

Redis vs Memcached: Which Cache Should You Use?

Redis and Memcached are both in-memory caches, but they differ on data types, persistence, and threading. How to choose — and when each one wins.

#Redis #Databases #Performance
Chisato Chisato · · 4 min read

What Is Quantization? Smaller, Faster AI Models

Quantization reduces the numeric precision of a model's weights — e.g. FP16 to INT8 or INT4 — to shrink memory use and speed up inference with minimal accuracy loss.

#AI #LLMs #Performance
The Lycoris Team The Lycoris Team · · 7 min read

What Is a Load Balancer? How It Works, Explained

A load balancer distributes traffic across servers to prevent overload and downtime. Layer 4 vs Layer 7, routing algorithms, health checks, and TLS.

#Networking #Cloud #Performance
Chisato Chisato · · 3 min read

What Is HBM? High-Bandwidth Memory, Explained

High-Bandwidth Memory stacks DRAM dies vertically beside the processor, delivering far more bandwidth than DDR5 or GDDR — and AI hardware depends on it.

#Hardware #AI #Performance
Takina Takina · · 5 min read

WebAssembly Is Quietly Reshaping the Web

WebAssembly lets near-native code run in the browser and beyond. It's no longer experimental — here's where it's actually being used and why it matters.

#WebAssembly #Web Development #Performance
Chisato Chisato · · 2 min read

AMD's MI400 Takes Aim at NVIDIA in 2026

AMD's Instinct MI400 brings 432GB of HBM4 and a full-rack Helios system to challenge NVIDIA in 2026. Here's what the MI455X packs and why it matters.

#Hardware #AI #Performance
Takina Takina · · 4 min read

What Is Hydration? Making Server HTML Interactive

Hydration is how JavaScript wakes up server-rendered HTML so static markup becomes interactive. The cost, the tradeoffs, and the modern alternatives.

#Web Development #Frontend #Performance
Chisato Chisato · · 6 min read

What Is Redis? The In-Memory Data Store, Explained

Redis is an in-memory key-value store used as a cache, database, and message broker. How it works, why it's sub-millisecond fast, and when to use it.

#Redis #Databases #Performance
Chisato Chisato · · 2 min read

NVIDIA's Rubin: Six Chips, One AI Supercomputer

NVIDIA unveiled Vera Rubin — a platform of six new chips designed to work as a single AI supercomputer — while its Vera CPU enters full production. What's coming.

#AI #Hardware #Performance
Takina Takina · · 4 min read

What Is HTTP/3? The QUIC-Powered Web

HTTP/3 runs over QUIC instead of TCP, cutting head-of-line blocking and speeding up connections with built-in TLS 1.3. What changed and why it matters.

#Networking #Performance #Web Development
Chisato Chisato · · 3 min read

What Is a Small Language Model (SLM)?

A small language model runs cheaply on-device, trading some capability for speed, privacy, and cost. When SLMs beat frontier models and how they're built.

#AI #LLMs #Performance
Takina Takina · · 4 min read

WebGPU: Real GPU Power Comes to the Browser

WebGPU is far more than a WebGL replacement. It exposes compute shaders, maps to modern GPU APIs, and enables in-browser ML inference.

#Web Development #WebGPU #Performance
Takina Takina · · 4 min read

What Are Server-Sent Events (SSE)?

Server-Sent Events stream real-time updates over a single HTTP connection. How SSE works, when to use it, and how it compares to WebSockets.

#Web Development #JavaScript #Performance

← All topics