İbrahim Koz·Dec 3, 2024Achieving Exactly-Once Processing in Distributed SystemsTo achieve exactly-once processing in a distributed system, we must address two fundamental challenges.
İbrahim Koz·Aug 30, 2024Convenient Testing Proxies with EventsThe proxy pattern is a powerful design technique. Especially, when you develop a well-defined interface, you can implement various…
İbrahim Koz·Jun 24, 2024Data vs. ConfigWhen pondering over what renders data construed as config, I found myself considering the interplay between data planes and their control…
İbrahim Koz·Jun 6, 2024Layering Implementations Around Well-Defined InterfacesRecently, while reviewing an implementation in a repository, I noticed that caching and buffering were directly integrated into the…
İbrahim Koz·May 25, 2024The Cost of AbstractionWe all often fall into the trap of being lured by shiny new technologies. Before adopting a so-called successor technology, we must…
İbrahim Koz·May 16, 2024Scenario Based TestingLet’s say we want to test an interface, this interface can be as simple as this:
İbrahim Koz·May 10, 2024When to use OOP, how does an object differ from data?To distinguish data from an object, data is to be persisted. To avoid data inconsistencies, we should persist it in normalized form. It…
İbrahim Koz·Apr 18, 2024Procedural Visitors in GoThe Visitor pattern allows you to separate data from behavior, modularly adding new functionality to existing data structures without…
İbrahim Koz·Apr 18, 2024How to model sum types in Go?Although Go doesn’t have built-in support for sum types, we can simulate them to some extent using interfaces and type assertions. Here’s…
İbrahim Koz·Apr 9, 2024Achieving Effective Abstraction and Layering: Why Core and Application Layers are InseparableTo achieve a well-designed abstraction, it should not expose any underlying details. An abstraction has the power to unite multiple…