On Thu, Oct 10, 2013 at 8:56 PM, Bennie Kloosteman <[email protected]>wrote:
> Yes compared to native langauges all GC languages incur extra IO costs > eg When writing both languages they need to read/copy the data to the > kernel , but the GC language needs to tell the GC to pin each buffer so it > doesnt reloccate it ,this can be significant for lots of small packets. > This isn't true at all. I suggest you look into JVM features like direct buffers and pay particular attention to LMAX disruptor. It's possible to keep all buffers off the GC-managed heap and build applications that completely preallocate all memory they use even when running on the JVM so they have zero allocation load or garbage collection. -- Tony Arcieri
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
