Skip to content
tezvyn:

⚙️Backend Dev

Backend engineering, APIs, and databases

280 bites

Test yourself: Top 30 advanced Backend Dev interview questionsMultiple choice, with the correct answer and why it is correct on every question. Free, no sign-in.

Advanced everything in Backend Dev

advanced1 min read

NVIDIA's AVO harness ran Claude Opus 5 autonomously for seven days straight

NVIDIA paired Claude Opus 5 with a new harness called AVO to run long-horizon autonomous tasks, including a seven-day GPU kernel optimisation run and a separate reasoning benchmark. AVO uses persistent memory and a supervisor process so the agent keeps working past a single context window instead of restarting.

intermediate1 min read

AI code volume is pushing code review earlier, ahead of the pull request

AI now produces more code than humans can realistically review, with Meta's lines of code per human-landed diff reportedly up 106% in a year. One response argues review should move earlier, into pairing and design sessions, leaving the pull request to catch formatting and known security issues.

advanced1 min read

Multi-stage Docker builds for lean production images?

Build stage compiles/installs, runtime stage copies artifacts only, discards build tools.

advanced1 min read

Graceful shutdown implementation and zero-downtime deployments?

Listen for SIGTERM, stop accepting new connections, drain in-flight requests, close resources, exit.

advanced2 min read

WebSocket optimization for high-frequency data?

Large payloads increase latency, frequent tiny messages waste overhead, solutions include compression, selective fields, and batching.

advanced1 min read

Cross-server Socket.IO communication in horizontal scaling?

Local io.emit() only reaches local sockets, need adapter (Redis) for inter-server broadcast.

advanced1 min read

How do you handle errors across piped streams safely?

Pipe connects streams but errors don't auto-propagate, must listen on each stream. Use pipeline() helper for auto-cleanup.

advanced1 min read

postMessage vs SharedArrayBuffer in worker_threads tradeoffs?

Structured cloning copies data, SharedArrayBuffer shares memory.

advanced1 min read

How does Node.js cluster module enable zero-downtime restarts?

Master-worker architecture, graceful shutdown of old workers, routing new requests to new workers.

advanced1 min read

Zero-downtime blue-green deploys on Kubernetes

Run blue and green deployments, switch a Service or ingress selector to the new color after readiness probes pass, drain old pods gracefully, and handle backward-compatible DB migrations.

advanced1 min read

Limits of BackgroundTasks vs Celery or ARQ

BackgroundTasks run in the same worker with no persistence, retries, or visibility, and die with the process; Celery or ARQ add durability, retries, scheduling, and separate workers.

advanced2 min read

Diagnosing a slow FastAPI endpoint under load

Add timing and tracing to isolate the slow span, watch CPU vs wait time and event-loop lag, then use profilers like py-spy or cProfile and DB EXPLAIN.

advanced1 min read

Revoking stateless JWTs on logout

A server-side denylist of revoked token IDs checked per request, or short-lived access tokens paired with revocable refresh tokens.

advanced1 min read

SQLAlchemy connection pooling across Uvicorn workers

Each worker has its own pool; total DB connections equal workers times (pool_size plus max_overflow); overflow connections are temporary; misconfiguration exhausts DB…

advanced1 min read

Managing secrets for containerized Node.js on Kubernetes

Use Kubernetes Secrets or an external vault, mount as files not env, encrypt at rest, rotate.

advanced2 min read

JWT storage: localStorage versus HttpOnly cookie

LocalStorage is JS-readable so XSS steals the token; HttpOnly cookies resist XSS theft but reintroduce CSRF, mitigated by SameSite plus CSRF tokens.

advanced2 min read

Prototype pollution: how it works and prevention

Attacker writes to Object.prototype via __proto__ keys in merge/parse code, poisoning all objects; prevent by guarding keys, null-prototype objects, Object.freeze, Map, and patched deps.

advanced1 min read

Deploying a strict CSP for an Express SPA

Define directives, start in Report-Only to gather violations, then enforce; allow inline code via per-request nonces or hashes plus strict-dynamic instead of unsafe-inline.

advanced1 min read

Testing an async workflow that spans DB and message queue

Assert the DB row, then verify the queue message via a test consumer or spy, polling with a timeout rather than fixed sleeps.

advanced1 min read

Testing code that calls a third-party API

Intercept at the HTTP boundary (nock) or run a local mock server; cover success, errors, timeouts, and assert request shape.

We are hiring for this. Every open role lists the topics its interview covers, so you can prepare for the real thing rather than guessing.

See open roles