Notes from production
Deep dives on system design, security and shipping full stack apps, in English and Bahasa Indonesia.

System Design Roadmap
From packets and TLS to load balancers, sharding, sagas and five real interview systems. Start at part 1 or jump to the one you need.
- 01 Networking Basics
- 02 Core Building Blocks
- 03 Distributed Patterns & Concepts
- 04 Real-World Interview Systems
- Elasticsearch

Testing Elasticsearch Semantic Search: A Golden Set, Typo Tolerance and k6 Load Tests on a Real Blog
A reproducible case study on this blog's 55 articles: six Elasticsearch configurations (BM25, fuzzy BM25, multilingual E5 semantic_text over full text and over summaries, RRF hybrids) measured with a labelled golden set, generated typos, negative queries and a k6 load test that scores relevance under load.
- Spring Boot · part 8 of 8

Java Spring Boot + React E-Learning Part 8: Architecture Docs That Match the Code — Testing Strategy & JaCoCo in CI
Closing the series: correcting README claims that no longer matched the code, writing docs/ARCHITECTURE.md with Mermaid diagrams, design decisions and honest scaling limits (PR #24), and the testing strategy behind PR #25: 55 fast backend tests, mocks at the right boundaries, and a JaCoCo coverage summary on every GitHub Actions run.
- Spring Boot · part 7 of 8

Java Spring Boot + React E-Learning Part 7: httpOnly Refresh Cookie, CSP & Multi-Instance Scaling with Redis and S3
Moving the refresh token out of localStorage into an httpOnly SameSite=Strict cookie, adding a Content-Security-Policy through an nginx envsubst template, and making the Spring Boot backend safe to run as several instances: a RateLimiter interface with a Redis Lua implementation, Redis pub/sub fan-out for STOMP events, and a pluggable S3/MinIO storage backend (PR #25).
- Spring Boot · part 6 of 8

Java Spring Boot + React E-Learning Part 6: Exam Integrity Under Concurrency — Optimistic Locking, Expiry Job & noRollbackFor
How the CBT engine of the Spring Boot 3 + React 19 platform could lose a graded exam, crash on retakes, create duplicate attempts or grade twice, and the fixes from PR #25: noRollbackFor, a scheduled expiry job, a unique constraint with retry, @Version optimistic locking, and a pure, unit-tested AnswerGrader.
- Spring Boot · part 5 of 8

Java Spring Boot + React E-Learning Part 5: Second Security Audit — Refresh Token Rotation, Forced Password Change & STOMP Authorization
A second, attacker-minded audit of the public Spring Boot 3 + React 19 CBT platform after it went live: spoofable client IPs, unbounded rate-limit maps, replayable refresh tokens, a committed JWT secret, public file downloads, and WebSocket subscriptions any teacher could abuse, plus the exact fixes from PR #5 and PR #6.
- Rails · part 5 of 5

Ruby on Rails 8 & React E-Learning Part 5: Single VPS Production Deployment – Docker Compose, Puma Multithreading & Auto-Recovery
Deploy a high-concurrency Ruby on Rails 8 API and React 19 platform to a single Linux VPS: multi-container Docker Compose orchestration, Puma multithreading tuning, Host Nginx reverse proxy with SSL & Action Cable WebSockets, and automated health monitoring watchdog scripts.
- Rails · part 4 of 5

Ruby on Rails 8 & React E-Learning Part 4: High-Throughput Data Ingestion with Roo & DevSecOps Security Hardening
Master bulk spreadsheet data ingestion and automated security analysis in Ruby on Rails 8: parsing student rosters and question banks with the Roo gem, atomic database transactions, stateless JWT admin impersonation, and automated DevSecOps with Brakeman and Bundler-Audit.
- Rails · part 3 of 5

Ruby on Rails 8 & React E-Learning Part 3: High-Precision CBT Exam Engine & Real-Time Action Cable Proctoring
Engineer a high-concurrency, cheat-resistant Computer Based Test (CBT) engine using Ruby on Rails 8 API and React 19: Clean Architecture Use Cases, server-authoritative countdown timers, instant autosave, and real-time proctoring telemetry via Action Cable and Redis.
- Spring Boot · part 3 of 8

Java Spring Boot + React E-Learning Part 3: Enterprise Security Architecture – Stateless JWT, Method-Level RBAC & OWASP Top 10 Defense
A comprehensive security deep dive for the Java 21 Spring Boot 3.4 & React 19 platform: JJWT 0.12 cryptographic signature validation, declarative @PreAuthorize method-level RBAC, Bucket4j token bucket rate limiting against brute-force attacks, and complete OWASP Top 10 mitigation strategies.
- Rails · part 2 of 5

Ruby on Rails 8 + React E-Learning: Clean Architecture Implementation, Repository Pattern, Use Cases & Typed Frontend Services (PR #1 Breakdown)
A comprehensive deep dive into refactoring an open-source Ruby on Rails 8.1 API & React 19 E-Learning platform to Clean Architecture: implementing the Repository Pattern, single-responsibility Use Cases, Result Monads, typed frontend services, and isolated RSpec test suites.
- Spring Boot · part 4 of 8

Java Spring Boot + React E-Learning: Single VPS Production Deployment with Docker Compose, Host Nginx Reverse Proxy & SSL Let's Encrypt
A battle-tested, step-by-step production deployment guide for the Java 21 Spring Boot 3 & React 19 E-Learning platform on a single Ubuntu VPS: Docker Compose production topology, Host Nginx SSL termination with Certbot, Swap memory tuning, WebSocket proxying, automated daily database backups, and zero-downtime redeployment scripts.
- Spring Boot · part 2 of 8

Java Spring Boot + React E-Learning: Production Readiness, Security Hardening & Zero-Downtime Resilience (PR #1 Breakdown)
A deep-dive technical post-mortem on hardening the open-source Java 21 Spring Boot 3.4 & React 19 E-Learning platform: eliminating path traversal in file storage, implementing refresh token rotation with Axios queue interceptors, Docker persistent volumes, and Actuator health probes.