What is Staged Architecture? 모든 걸 한꺼번에 처리하지 않고, 단계(Stage) 를 나누어 점진적으로 진행하는 아키텍처 각 Stage마다 책임을 분리해서, Effects 를 처리하는 시점과 방식도 명확히 관리 What is Effects? Program 이 외부 세계와 상호 작용할 때 생기는 것들 예를 들면: File I/O, Network 통신, Database Query, Console output 즉, ...
In the fast-evolving world of Scala development, some powerful libraries remain under the radar despite offering great capabilities, especially when combined with ZIO. In this presentation, we explore a selection of five lesser-known but highly usefu...
I often hear online in Scala-related discussions that ZLayer is "too complex" or "unnecessary". Those statements couldn’t be more different from my own experience: I think ZLayer is an incredible lifesaver! While it is true that it had some issues in...
Sometimes we ask a computer do to something, but it fails to do it. Sad, but we’re clever! We’ll just try again and hope for the best! It’s amazing (depressing?) how often this solves the problem. Industrial-strength retries But there’s not just one ...
After working on several different services and spending a lot of time improving the code to make it easier to use, I discovered a pattern for layering my applications that I found very useful. First, a disclaimer: this architecture is not a one-size...
Let's start with a disclaimer. What is discussed in this article is not the ultimate truth: how to make your application faster highly depends on what your application is actually doing. Depending on your use case, the overhead of ZIO might be comple...
En esta presentación se introducen conceptos básicos de Programación Funcional, para luego mostrar cómo se puede aplicarla en el mundo real a través de librerías como ZIO HTTP. Mira la grabación https://www.youtube.com/watch?v=O70q1ayxz2o 💡 Puede...
This was originally published in February 2022 as a gist. Think of all the arguments you've heard as to why static typing is desirable — every single one of those arguments applies equally well to using types to represent error conditions. An odd th...
Introduction to Programming with ZIO Functional Effects How to write a (completely lock-free) concurrent LRU Cache with ZIO STM Mastering Modularity in ZIO with ZLayer Improve your Focus with ZIO Optics How to implement streaming microservices wi...
1. Introduction Testing is one of the most essential parts of any software development. As a result, developers spend a lot of time writing unit and integration tests to make the code free from errors. Often, it becomes necessary to address non-funct...