<img height="1" width="1" src="https://www.facebook.com/tr?id=&amp;ev=PageView &amp;noscript=1">

Posted by Carl Pulley
Wed, Jan 18, 2017

As part of a series of blog posts on , this blog post introduces the open source library . Here, we use this library to define a Chaos experiment (using ) that illustrates the impact that auto-downing can have when an Akka cluster is subjected to network partitioning. The previous post Can Real World Distributed Systems be Proven Correct? motivates and explains the need for performing fault injection on distributed applications. In future posts, we will consider more realistic use cases than considered here - so please stay tuned!

Posted by Martin Zapletal
Fri, Apr 3, 2015


Posted by Jan Machacek
Sun, Dec 29, 2013

Let's expand our random Person generator to include keep track of the count of people generated and to write out some values during the generating process. For motivation, let's say we want to see not just the list of Persons, but also keep track of some tracing messages, and to see some sequence number while we are generating.

Posted by Jan Machacek
Sun, Nov 11, 2012

I left a dirty secret lurking in my previous post about 2 phase authentication with text messages. I hope many of you felt uneasy reading the val secret = generateSecret line. The generateSecret thing has no place in purely functional code. It does some weird side-effect wizardry and computes values that are always different. Read on to find out how to keep tabs on the dirty secrets (and other IO) in your code.

Posted by Ndidi
Fri, Aug 17, 2012

Before I get into a streamlined version of today's issue, I'd like to discuss the elephant in the room..

Posted by Jan Machacek
Tue, Aug 14, 2012

Let's talk monads again. And this time, I will show you the either monad. We'll use it to model a process whose steps can fail; and we wish to abort the process whenever a step fails (and return the failures) and we wish to continue the process if the step succeeds.

Posted by Jan Machacek
Fri, Feb 3, 2012

I won't give you the category-theory based explanation of monads. Instead, I'm going to show you the application of monads, but not on Ints and Strings, but on ordinary domain instances; instances that we persist using Hibernate. Finally, we'll run the entire example in the Spring Framework.

Posted by Jan Machacek
Fri, Dec 16, 2011

Just a short post before bed-time. I've added support for iteratees and composition for the different operations you may want to support. It is actually very useful. Let me demonstrate on a short example:

Posts by Topic

see all

Subscribe to Email Updates