Articles
caution
These articles reflect the state of ZIO at the time of their publication. The code samples might be outdated, considering ZIO was early in development at the time they were written. However, the concepts are still relevant.
ZIO Core
- Beautiful, Simple, Testable Functional Effects for Scala (introducing ZIO Environment) by John De Goes (February 2019)
- ZIO & Cats Effect: A Match Made in Heaven by John De Goes (April 2019)
- Thread Pool Best Practices with ZIO by John De Goes (January 2019)
- Bifunctor IO: A Step Away from Dynamically-Typed Error Handling by John De Goes (May 2018)
- Wrapping impure code with ZIO by Pierre Ricadat (July 2019)
- Thread shifting in cats-effect and ZIO by Adam Warski (June 2019)
- Performant Functional Programming to the Max with ZIO by Mark Galea (May 2019)
Patterns and Best Practices
- 5 pitfalls to avoid when starting to work with ZIO by Natan Silnitsky (Jan 2020)
- Processing ZIO effects through a pipeline (September 2020)
ZIO STM
- How to write a concurrent LRU cache with ZIO STM by Jorge Vasquez (March 2020)
- Exploring the STM functionality in ZIO by Fredrik Skogberg (May 2019)
Testing
- Testing Incrementally with ZIO Environment by John De Goes (March 2019)
- Effective testing with ZIO Test (RC18) by Pavels Sisojevs (April 2020)
- Integration Testing
- Testing background process with ZIO by François Armand (March 2020)
- Effective testing with ZIO Test (RC17) by Pavels Sisojevs (January 2020)
- Speeding up time with ZIO TestClock by Tim Pigden (October 2019)
ZIO Streams
- ZIO Streams and JMS by Andreas Gies (October 2020)
- Building the Death Star with ZIO Stream by Juliano Alves (May 2020)
- Simulating IoT Events with ZIO Streams by Tim Pigden (November 2019)
ZIO Service Pattern
- Example of ZLayers being used in combination by Tim Pigden (March 2020)
- From idea to product with ZLayer by Pavels Sisojevs (March 2020)
- What are the benefits of the ZIO modules with ZLayers by Pascal Mengelt (March 2020)
- Decouple the Program from its Implementation with ZIO modules. by Pascal Mengelt (December 2019)
- Functional dependency injection in Scala using ZIO environments by Chiel van de Steeg (October 2019)
ZIO Use Cases
- Implement your future with ZIO by Pavels Sisojevs (December 2019)
- How to write a command line application with ZIO? by Piotr Gołębiewski (November 2019)
- Building the Hangman Game using ScalaZ ZIO by Abhishek Srivastava (November 2018)
- Elevator Control System using ZIO by Wiem Zine El Abidine (September 2018)
- Spring to ZIO 101 - ZIO CRUD by Adrian Filip (March 2020)
- Hacker News API Part 5 by Justin Heyes-Jones (April 2019)
Integration with Other Libraries
- Making ZIO, Akka and Slick play together nicely by Jakub Czuchnowski (August 2019)
- ZIO + Http4s: a simple API client by Juliano Alves (April 2020)
- Combining ZIO and Akka to enable distributed FP in Scala by Pierre Ricadat (July 2019)
- ZIO with http4s and doobie by Wiem Zine El Abidine (June 2019)
- Using 47 Degree's Fetch library with ZIO by Justin Heyes-Jones (May 2019)
- What can ZIO do for me? A Long Polling example with sttp. by Pascal Mengelt (November 2019)
- uzhttp + sttp for light-weight http and websockets updated for 1.0.1 by Tim Pigden (August 2020)
- Streaming all the way with ZIO, Doobie, Quill, http4s and fs2 by Juliano Alves (June 2020)
- ZIO with http4s, Auth, Codecs and zio-tests (RC18) by Tim Pigden (April 2020)
- Building a cool CLI with Decline for my ZIO App by Pascal Mengelt (May 2020)
- Streaming microservices with ZIO and Kafka by Aleksandar Skrbic (February 2021)
- An Introduction to ZIO Kafka
- tAPIr’s Endpoint meets ZIO’s IO by Adam Warski (July 2019)
Contribution
- Lessons Learned From Being a ZIO Contributor by Salar Rahmanian (September 2020)
Benchmarking and Comparison
- Scalaz 8 IO vs Akka (typed) Actors vs Monix (part 1) + part 2 + part 3 by Adam Warski (June 2018)
- Benchmarking Functional Error Handling in Scala by Marcin Rzeźnicki