Approaching Your First Event-Driven Design Implementation: A Case Study

A case study on tapping into an existing event-driven architecture using a publish-subscribe model over Kafka. Covers a three-component design — consumer, API, and database — modelled around typed information flow contracts. Includes practical traps to avoid, from parallelism pitfalls to coupling the API and consumer into the same application.
[]

How to Add Defaults for Missing Properties in Play Scala JSON Serialization

Three approaches to handling missing JSON properties when unmarshalling into Scala case classes with the Play Framework. Covers Play 2.6’s built-in WithDefaultValues, the Reads.pure() fallback pattern, and a reusable JsonDefaultValueFormatter trait that deep-merges incoming JSON with a default object — useful for large, deeply nested case classes where backward compatibility matters.
[]

Asynchronous Programming with Go

Four progressively improved approaches to concurrent programming in Go, demonstrated through a URL health checker. Covers synchronous iteration, goroutines with a naive sleep workaround, WaitGroup-based synchronization from the sync package, and typed channels for structured goroutine communication — illustrating Go’s concurrency model from basic to idiomatic.
[]