on</a>.
</p>

<p>
Let's take a look at this router in action. What can be more demanding than calculating factorials?
</p>

<p>
The backend worker that performs the factorial calculation:
<a href="#code/src/main/java/sample/cluster/factorial/FactorialBackend.java" class="shortcut">FactorialBackend</a>
</p>

<p>
The frontend that receives user jobs and delegates to the backends via the router:
<a href="#code/src/main/java/sample/cluster/factorial/FactorialFrontend.java" class="shortcut">FactorialFrontend</a>