Topic

#Backend

70 posts tagged “Backend”.

The Lycoris Team The Lycoris Team · · 5 min read

Thundering Herd Problem (Cache Stampede) Explained

The thundering herd problem hits when a cached value expires and every waiting request floods the backend at once. Here's why it happens and how to stop it.

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

What Is the Strangler Fig Pattern?

The strangler fig pattern replaces a legacy system incrementally by routing traffic to new services piece by piece, until nothing old remains.

#Backend #Distributed Systems #Software Architecture
Takina Takina · · 4 min read

HTTP Content Negotiation Explained

Content negotiation lets a client and server agree on a response's format, language, or encoding using Accept headers, before any body is sent.

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

What Are Protocol Buffers? Protobuf Explained

Protocol Buffers (protobuf) are a binary serialization format with strict schemas — smaller and faster to parse than JSON. How it works.

#API #Backend #Developer Tools
The Lycoris Team The Lycoris Team · · 4 min read

HTTP Methods Explained: GET, POST, PUT, PATCH, DELETE

HTTP methods signal intent — read, create, replace, update, or remove — and that intent determines caching, idempotency, and safety guarantees.

#Web Development #Networking #Backend
The Lycoris Team The Lycoris Team · · 4 min read

SQL CTEs vs Subqueries: When to Use Which

Common table expressions and subqueries both let you build a query from smaller pieces, but they differ in readability, reuse, and optimizer behavior.

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

What Is a Distributed Lock?

A distributed lock coordinates exclusive access to a shared resource across multiple processes or machines, preventing race conditions in distributed systems.

#Databases #Distributed Systems #Backend
The Lycoris Team The Lycoris Team · · 4 min read

Natural Keys vs Surrogate Keys in Database Design

Natural keys use real-world data as a primary key; surrogate keys use a generated ID. Here's how to choose, with the trade-offs of each.

#Databases #SQL #Backend
Chisato Chisato · · 5 min read

Input Validation vs Sanitization vs Escaping

Validation rejects bad input, sanitization removes the dangerous parts, and escaping neutralizes them for a specific output context. Most bugs mix these up.

#Security #Web Development #Backend
The Lycoris Team The Lycoris Team · · 4 min read

PostgreSQL JSONB Explained

JSONB stores JSON in PostgreSQL as a parsed, indexable binary format instead of raw text. How it works, and when to reach for it.

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

What Is Long Polling? A Simple Real-Time Alternative

Long polling holds an HTTP request open until new data arrives, faking real-time updates without a persistent connection. How it works and when to use it.

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

Node.js Buffer Explained: Binary Data Handling

Node's Buffer class holds raw binary data outside the V8 heap, letting Node handle files, sockets, and streams efficiently. Here's how it works.

#JavaScript #Backend #Developer Tools
Chisato Chisato · · 4 min read

MongoDB vs PostgreSQL: Which Database Fits?

MongoDB vs PostgreSQL compared: document vs relational modeling, schema flexibility, joins, and transactions — how to pick the right one.

#Databases #PostgreSQL #Backend
Chisato Chisato · · 4 min read

ACID vs BASE: Two Approaches to Database Consistency

ACID guarantees strict consistency after every transaction; BASE trades that for availability and scale. How each model works and when to pick one.

#Databases #Computer Science #Backend
The Lycoris Team The Lycoris Team · · 4 min read

TCP vs UDP: How They Differ and When to Use Each

TCP guarantees ordered, reliable delivery via a handshake; UDP sends packets with no such guarantee but far less overhead. Where each one fits.

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

When to Denormalize a Database (and Why)

Denormalization trades write-time consistency for read-time speed by duplicating data — the right call once joins become your bottleneck.

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

Reverse ETL Explained

Reverse ETL moves data out of the warehouse and into operational tools like a CRM, flipping the direction of a traditional ETL pipeline. How it works.

#Databases #Data Engineering #Backend
The Lycoris Team The Lycoris Team · · 4 min read

Cache-Aside vs Read-Through Caching Explained

Cache-aside puts the application in charge of loading cache misses; read-through delegates that job to the cache itself. How each pattern works.

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

What Is a Database Cursor? Row-by-Row Traversal

A database cursor is a pointer that lets you fetch a query's result set one row at a time instead of all at once. How cursors work and when to use them.

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

Token Bucket vs Leaky Bucket Rate Limiting

Token bucket allows bursts up to a cap; leaky bucket smooths traffic to a constant rate. How each rate-limiting algorithm works and when to pick it.

#Backend #Distributed Systems #Developer Tools
The Lycoris Team The Lycoris Team · · 4 min read

GROUP BY vs HAVING in SQL: What's the Difference

GROUP BY collapses rows into groups for aggregation; HAVING filters those groups afterward. How the two clauses differ and where each runs in query order.

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

What Is the Bulkhead Pattern? Isolating Failures

The bulkhead pattern isolates resources per dependency so one failing service can't exhaust the pools that healthy services depend on.

#Backend #Distributed Systems #Cloud
Chisato Chisato · · 4 min read

Event Sourcing Explained: Store Changes, Not State

Event sourcing stores every state change as an immutable event instead of overwriting current state. How it works, and when CQRS pairs with it.

#Backend #Distributed Systems #Software Architecture
The Lycoris Team The Lycoris Team · · 5 min read

What Is a Database Trigger?

A database trigger is a procedure that runs automatically on an insert, update, or delete — enforcing rules the application layer can't guarantee.

#Databases #SQL #Backend
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
Takina Takina · · 4 min read

What Is the Backend-for-Frontend (BFF) Pattern?

A backend-for-frontend (BFF) is a dedicated backend layer for one client type — shaping, aggregating, and simplifying calls to shared downstream APIs.

#Backend #Web Development #Architecture
The Lycoris Team The Lycoris Team · · 4 min read

API Versioning Strategies Explained

URI paths, custom headers, and content negotiation are the three common ways to version an API. Tradeoffs of each, and how to avoid breaking clients.

#Web Development #Developer Tools #Backend
The Lycoris Team The Lycoris Team · · 4 min read

What Is Dependency Injection?

Dependency injection passes an object's dependencies in from outside rather than letting it construct them, making code easier to test and swap.

#Developer Tools #Backend #Computer Science
The Lycoris Team The Lycoris Team · · 4 min read

Data Warehouse vs Data Lake: What's the Difference?

A data warehouse stores structured, pre-modeled data optimized for queries; a data lake stores raw data of any shape. When each one fits.

#Databases #Data Engineering #Backend
The Lycoris Team The Lycoris Team · · 4 min read

Primary Key vs Foreign Key vs Unique Constraint

Primary keys identify a row, foreign keys link one table to another, and unique constraints just prevent duplicates. How the three differ in SQL.

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

Database Deadlocks Explained: Causes and Prevention

A database deadlock happens when two transactions each wait on a lock the other holds. Why deadlocks occur, how databases detect them, and how to avoid them.

#Databases #SQL #Backend
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

What Is a Dead Letter Queue? Failed Message Handling

A dead letter queue holds messages a system couldn't process after repeated retries, isolating failures so they don't block or silently vanish. How it works.

#Backend #Infrastructure #Cloud
The Lycoris Team The Lycoris Team · · 4 min read

Star Schema vs Snowflake Schema: Which to Use

Star schema denormalizes dimensions into flat tables for fast queries; snowflake schema normalizes them to save space. How to choose for your warehouse.

#Databases #Data Engineering #Backend
Takina Takina · · 4 min read

HTTP Status Codes Explained: A Practical Guide

HTTP status codes are three-digit responses that tell a client what happened to its request. A practical tour of the codes that actually matter.

#Web Development #Networking #Backend
The Lycoris Team The Lycoris Team · · 3 min read

Kafka vs RabbitMQ: Choosing a Message Broker

Kafka is a durable, replayable log built for high-throughput streams; RabbitMQ is a traditional broker built for flexible routing and task queues.

#Backend #Infrastructure #Cloud
The Lycoris Team The Lycoris Team · · 4 min read

What Is Database Vacuuming? Why Postgres Needs It

Vacuuming reclaims space left by deleted and updated rows in databases like PostgreSQL, preventing bloat and transaction ID wraparound.

#Databases #PostgreSQL #Backend
Chisato Chisato · · 4 min read

Time-Series Databases Explained

A time-series database is optimized for timestamped data — metrics, sensor readings, prices. How it differs from general-purpose databases.

#Databases #Data Engineering #Backend
The Lycoris Team The Lycoris Team · · 4 min read

What Is MVCC? Multi-Version Concurrency Control

MVCC lets readers and writers work on a database concurrently without blocking each other, by keeping multiple versions of each row instead of locking it.

#Databases #Computer Science #Backend
The Lycoris Team The Lycoris Team · · 4 min read

How Database Query Optimizers Work

A query optimizer turns declarative SQL into an execution plan by estimating the cost of alternative strategies. How that estimation works and how to read a plan.

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

What Is SQLite? The Database Inside Your App

SQLite is a serverless, file-based SQL database compiled directly into an application. How it works, why it's everywhere, and when to reach for it.

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

What Is a Read Replica? Database Scaling Explained

A read replica is a synced copy of a database that serves read queries, taking load off the primary. How replication lag and failover actually work.

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

What Is a Graph Database?

A graph database stores data as nodes and relationships instead of tables, making deeply connected queries fast instead of a chain of costly joins.

#Databases #Data Engineering #Backend
Chisato Chisato · · 4 min read

gRPC vs REST: Choosing an API Style

gRPC uses binary Protocol Buffers over HTTP/2 for fast, typed service calls; REST uses JSON over HTTP for accessible, resource-based APIs. How to pick.

#API #Web Development #Backend
The Lycoris Team The Lycoris Team · · 4 min read

What Is a CTE? Common Table Expressions Explained

A CTE is a named, temporary result set defined with WITH that you can reference elsewhere in a SQL query. How they work and when to use one.

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

Optimistic vs Pessimistic Locking in Databases

Optimistic locking checks for conflicts at write time; pessimistic locking blocks other writers up front. How each works and when to pick one.

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

Horizontal vs Vertical Scaling Explained

Horizontal scaling adds more machines; vertical scaling adds more power to one machine. How each works, their limits, and when to use which.

#Cloud #DevOps #Backend
Chisato Chisato · · 4 min read

ETL vs ELT: How Modern Data Pipelines Work

ETL transforms data before loading it into a warehouse; ELT loads raw data first and transforms it inside the destination. How the two approaches differ.

#Databases #Data Engineering #Backend
The Lycoris Team The Lycoris Team · · 4 min read

Data Lakehouse Explained: What It Is and How It Works

A data lakehouse combines a data lake's cheap object storage with a data warehouse's transactional guarantees and schema. How the architecture works.

#Databases #Data Engineering #Backend
The Lycoris Team The Lycoris Team · · 4 min read

What Is Write-Ahead Logging (WAL)?

Write-ahead logging records changes to a log before applying them to a database, making crash recovery and replication possible. Here's how it works.

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

Columnar vs. Row-Oriented Databases

Row-oriented databases store each record together on disk; columnar databases store each column together. The layout decides which workloads are fast.

#Databases #Data Engineering #Backend
The Lycoris Team The Lycoris Team · · 4 min read

What Is Change Data Capture (CDC)? Explained

Change data capture streams row-level inserts, updates, and deletes out of a database in real time, powering sync pipelines, caches, and event-driven systems.

#Databases #Data Engineering #Backend
The Lycoris Team The Lycoris Team · · 4 min read

OLTP vs OLAP: Two Very Different Ways to Query Data

OLTP systems handle many small, fast transactions like orders and logins; OLAP systems run large analytical queries across historical data for reporting.

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

SQL Window Functions Explained (With Examples)

SQL window functions compute values across a set of rows without collapsing them, unlike GROUP BY. How OVER, PARTITION BY, and ranking work.

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

REST vs GraphQL: Choosing an API Style

REST exposes fixed endpoints per resource; GraphQL lets clients query exactly the fields they need through one endpoint. How to choose between them.

#API #Web Development #Backend
The Lycoris Team The Lycoris Team · · 4 min read

ACID Transactions Explained: Database Guarantees

ACID — atomicity, consistency, isolation, durability — defines the guarantees a database transaction makes so concurrent, failure-prone operations stay correct.

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

What Is Database Normalization? A Practical Guide

Database normalization organizes tables to eliminate redundant data and update anomalies. The normal forms explained with a worked example.

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

What Is Database Sharding? Scaling Explained

Database sharding splits one dataset across many servers so no single machine holds it all. How sharding works, how to pick a shard key, and the trade-offs.

#Databases #Scalability #Backend

← All topics