Erlang task dispatcher based on ETS counters.