Skip to main content
Juliano Alves
Back to blog
•1 min read
Full-text search in PostgreSQL
tsvector, GIN indexes, ranking with ts_rank, language configs, and when to reach for Elasticsearch instead.
PostgreSQL
Backend
Performance
•1 min read
Image processing pipelines with Sharp in Node.js
Resize, format conversion, WebP/AVIF, streaming pipelines, memory limits, and integrating with Next.js Image or upload workers.
Node.js
Performance
Media
•2 min read
Next.js middleware: edge patterns and pitfalls
Matcher config, auth redirects, geolocation headers, A/B flags, and what you cannot do in middleware without hurting TTFB.
Next.js
Security
Performance
•1 min read
The React Compiler and automatic memoization
Rules of React, what the compiler proves, reducing useMemo/useCallback noise, and interoperability with existing codebases.
React
Compiler
Performance
•4 min read
Streaming and Suspense in the Next.js App Router
A deep dive into HTML streaming, Suspense boundaries, loading.tsx, caching semantics, and how to compose fast perceived performance without sacrificing correctness.
Next.js
React
Performance
•2 min read
HTTP caching: browser, CDN, and origin
Cache-Control directives, stale-while-revalidate, ETag vs Last-Modified, CDN cache keys, and busting strategies for HTML vs assets.
Web
Performance
Architecture
•2 min read
Web Workers to keep the main thread responsive
When to offload parsing, heavy transforms, and WASM; Comlink for ergonomics; and transferring ArrayBuffers instead of cloning megabytes.
JavaScript
Performance
Browser

© 2026 Juliano Alves. All rights reserved.