On Thu, 24 Jul 2014 11:25:08 GMT, Dicebot wrote:

To minimize impact of GC on latency I recommend doing something similar to our approach at Sociomantic - have task-local buffers that get reused over and over again without ever being freed. Such buffer quickly grows to the size enough to handle typical runtime load with no allocations at all and the fact that you don't create new GC roots all the time greatly reduces scan time when it is necessary.

I may take some time to get use to writing code that way but results are good.

Actually I'm in a very similar bussiness to yours, I'm developing a SSP server.