
11.7. Server Tuning 153
Since the ROAF aims at systems of larger scale, the server should use
a more general approach to set off a large number of client calls with a
decent response time. A worker queue or worker thread is a general term
for a sequential chain of tasks usually worked off in one thread. This
could be useful for the sequential order of rounds and moves in a board
game. Another approach is a thread pool, which creates a (given) number
of (worker) threads waiting to process a number of client calls in parallel.
This solution is faster than a single worker queue, although the calls are
processed without a specified order.
Java 1.5 has integrated ...