Klangism

Things that were important enough at the time when they were written.

Viktor Klang is a legendary programmer, known from places like the Internet. Consider following him on Twitter.

May 8

Akka Message Routing: Part 2

This is the second part of the akka message routing miniseries.

This time I’m going to show you how to create a message loadbalancer,

so without further ado:

Can’t see the code?

That wasn’t hard was it?

Now, go experiment and perhaps create your own message distribution algorithms, there’s already one that dispatches depending on target mailbox size, effectively dispatching to the one that’s got fewest messages to process right now.


  1. klangism posted this