Distributed Simulation network code
The distributed simuation network code is responsible for handling different kinds of messages send between simulation components.These were simple messages as well as messages with a response (remote procedure calls).
The simulation framework had not been tested under heavy load.
A python script for creating mock up simulation components producing a certain message frequency and length for several computers was implemented. The network code was extended to allow round trip measurement times for different layers of the message system. The measurement round trip times were stored in histograms.
Before improvements were implemented, the histograms have shown a significant round trip time increase once more than one component send a message at the same time.
Optimizations applied are,
Afterwards the changes to the network code were ported to a Java framework.