Totally Nerdy Information

Mike Heath's Blog

CPU/Thread Affinity in Java

I’ve been reading about Receive Packet Steering on Linux. I have heard anecdotal evidence that this can greatly improve performance. It made me wonder if you could improve performance even more by telling the kernel that you want the thread the processes the IO for a particular interface to run on the same CPU that [...]

I’ve been playing with Web Sockets using Google’s Chrome browser. Web Sockets, put simply, is a really nice way for a web application to talk to a remote server and allows the remote server to talk back. There are currently various ways of doing this with using Comet. But let’s be honest. Comet is a [...]

I’ve been meaning to post these results for a while and with the Thanksgiving break here in the US, I have time to finally do it. When I ran my my original comparison, both the tests and databases were running on the same host connecting over the loopback interface. Using the loopback interface is a [...]

One of my big complaints with Apache MINA is the high latency that’s incurred when sending data. MINA uses a set of I/O threads to handle reads and writes. This is typical of many non-blocking I/O frameworks. Netty is much more clever than MINA. In Netty, when you make a call to send data and [...]

  

Calendar

February 2012
M T W T F S S
« Mar    
 12345
6789101112
13141516171819
20212223242526
272829