architecture Postel’s Law: Why Being Liberal in What You Accept Usually Backfires josedacruz, September 24, 2026September 24, 2026 TL;DR: Postel’s Law — “be conservative in what you send, liberal in what you accept” — gets quoted as an excuse to skip validation on your API inputs. In practice, that habit doesn’t make your system more resilient; it just moves the failure further downstream, where it’s harder to trace… Continue Reading
architecture Hyrum’s Law: Why Every Observable Behavior of Your API Becomes Someone’s Dependency josedacruz, August 17, 2026August 17, 2026 TL;DR: Hyrum’s Law says that if enough people use your software, every observable behavior of it — not just the parts you documented and promised — will eventually become something someone depends on. That means “we never promised that” is not the same as “it’s safe to change.” This post… Continue Reading
architecture Designing a Rate Limiter That Survives a Flash Sale: Token Bucket vs Sliding Window josedacruz, August 13, 2026August 13, 2026 TL;DR: A simple “count requests per minute” rate limiter looks fine in testing but can let through double the traffic right at the boundary between two time windows — exactly when a flash sale or a bot swarm is most likely to hit you. Token bucket and sliding window algorithms… Continue Reading
spring-boot Learning Spring Boot from Zero to Cloud: Part 15 – Matrix Variables josedacruz, April 2, 2025April 2, 2025 Spring Boot Matrix Variables Explained! Ever wondered how to pass structured parameters in a REST API beyond query parameters? In this video, we break down @MatrixVariable, showing you: ✅ How to Implement @MatrixVariable in Spring Boot✅ When to Use It (Best Use Cases)✅ How It Compares to @PathVariable & @RequestParam✅… Continue Reading