Search Engines in System Design: When and How to Add Search
Search engine system design: search vs database queries, when to add elasticsearch, the indexing pipeline that keeps the…
Category
Backend development is the server-side work behind an application: APIs, business logic, databases, queues and background jobs. Backend engineers pick languages such as Java, Python, Node.js or C#, decide how data is stored and how services talk to each other, and keep it all fast and correct under load. Most of the hard calls are trade-offs, such as SQL against NoSQL or a monolith against microservices.
186 articles
Search engine system design: search vs database queries, when to add elasticsearch, the indexing pipeline that keeps the…
Object storage explained: the flat key-space and HTTP model, blob vs object naming, object vs block vs file…
Graceful shutdown for Node.js and Express: SIGTERM handling, keep-alive sockets, closing the pool last, readiness checks and Docker…
Real benchmarks of the cluster module and worker threads on Node 10, plus event loop lag checks, PM2…
Testing an Express API with Jest and Supertest: app factory, auth helpers, error paths, a real database and…
JWT authentication for Express, step by step: bcrypt passwords, short-lived tokens, verify middleware, roles, refresh tokens and token…
Connect Node.js to PostgreSQL with pg 7: one PostgreSQL pool, parameterized CRUD, a transaction helper and constraint errors…
Environment variables in Node.js with dotenv 6: a .env.example contract, a validated Joi config module, fail-fast startup and…
Central error handling middleware for Express 4: AppError, the async error trap, RFC 7807 Problem Details, request ids…
How I structure an Express REST API on Node 10: routes, Joi validation, thin controllers, services and correct…
Express is an amazing framework. We can start running a server by writing only 4 lines of code.…
SQL vs NoSQL decided on real constraints: what relational databases guarantee, the types of nosql databases, when to…
How do database indexes work: the b tree index, clustered vs non clustered indexes, composite index column order,…
Sharding vs replication compared: what each mechanism scales, when replication is enough, when to shard, and why production…