RSSAmplifier

Blog

Umang Sinha

Backend & Systems Engineer sharing technical deep dives into system design, databases, computer science fundamentals, and the journey of building reliable software.

umangsinha.inRSS feed ↗7 posts

Latest posts

vibe coding and the death of craftsmanship

how AI coding tools are turning us from creators into proofreaders, and where to find the joy of craftsmanship when the struggle is gone.

how spaced repetition actually works: the sm-2 algorithm

Explore how memory decays, the science behind the forgetting curve, and how Piotr Woźniak's SM-2 algorithm schedules reviews at the optimal moment to help you learn more efficiently.

Race-Free Redis: How Lua Scripting Delivers Atomicity and Performance

Redis is widely celebrated for its blazing-fast performance and simplicity. It's the go-to choice when you need low-latency access to data structures like strings, hashes, sets, and more. But as your system grows in complexity, certain operations require more than just speed. They demand atomicity.

Probabilistic Data Structures in Go: Building and Benchmarking a Bloom Filter

Imagine you are building a high-traffic web service that relies heavily on a distributed cache like Redis. For every incoming request, your service first checks the cache to avoid expensive database lookups.

PostgreSQL UUID Performance: Benchmarking Random (v4) and Time-based (v7) UUIDs

Universally Unique Identifiers (UUIDs) are 128-bit values designed to ensure uniqueness across distributed systems. This article benchmarks UUIDv4 vs UUIDv7 in PostgreSQL.

Beyond JavaScript: Why 0.1 + 0.2 Doesn't Equal 0.3 in Programming

JavaScript is frequently ridiculed when developers first encounter this seemingly baffling result. But this quirk isn't just limited to JavaScript - it's a consequence of how most programming languages handle floating-point arithmetic.

The CORS Conundrum

If you're a backend developer you must have been in a position where the API you wrote worked perfectly in Postman but threw a CORS error in the browser. Let's understand why and how to fix it.