Loading…
0+ curated questions with the same answer shape every time: quick recap, deep dive, pitfalls, and follow-ups. Coverage includes .
Fiber is built on fasthttp (not net/http) and is popular in performance-critical Go services and among developers coming from Node.js Express. This module covers Fiber's architecture (fasthttp's zero-allocation approach to request handling — why it's faster on benchmarks but breaks stdlib middleware compatibility), Fiber's router and ctx object (Express-inspired API: c.Body(), c.JSON(), c.Status()), Fiber middleware (CORS, rate limiting, logger, recover — the built-in set vs writing your own), and the critical interview question that frames every Fiber discussion: 'Fiber is faster than Gin on benchmarks — should you always choose it?' The answer is nuanced (stdlib compatibility matters for the Go ecosystem, fasthttp's context is not goroutine-safe across async boundaries, most production services are not bottlenecked on HTTP framework overhead) and interviewers are testing that nuance.
Full catalog
Topics are ordered for learning. Within each topic, rows are numbered 1–0 globally so you always know where you are. Collapse topics if you want a lighter view — use Expand all when you need the full list again.
Numbers 1–0 follow the order we recommend — click any row to open the full answer, or use the sticky Next link at the bottom of each page to go Q1 → Q0.