Tagged articles

Database Constraints

2 articles · Page 1 of 1
Coder Life Journal
Coder Life Journal
Jul 20, 2026 · Backend Development

Redis Distributed Lock with Three Checks: Why Small Projects Should Rethink Its Use

The article analyzes Redis distributed locks—its three‑step verification, the limited guarantees it provides, and why small‑to‑medium projects should often prefer database constraints, idempotency keys, or state machines over adding a lock that introduces extra complexity and maintenance overhead.

Concurrency ControlDatabase Constraintsbackend development
0 likes · 10 min read
Redis Distributed Lock with Three Checks: Why Small Projects Should Rethink Its Use
Architecture Digest
Architecture Digest
Aug 18, 2025 · Backend Development

Why a Username of "null" Breaks Your System and How to Prevent It

The article explains how using the literal string "null" as a username can cause user‑experience glitches, log‑debugging nightmares, database pollution, security risks and automation failures, and provides concrete backend, frontend and database validation techniques to avoid these pitfalls.

Database ConstraintsSecuritybackend development
0 likes · 5 min read
Why a Username of "null" Breaks Your System and How to Prevent It