Totally Nerdy Information

Mike Heath’s Blog

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. [...]

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 [...]

HTML to PDF in Java

For a project at work, we were given a fairly interesting problem. We have a situation where the user is able to enter content using a in-browser WYSIWYG HTML editor. It works great. Fortunately there are a lot of great editors to choose from these days. The problem is that we [...]

MySQL Protocol Licensing

I am researching asynchronous event-driven database access as part of my graduate school studies at Brigham Young University. I’m looking into implementing the MySQL protocol using Apache MINA to conduct some tests and measure performance/scalability differences compared to the JDBC driver provided my MySQL AB.
I got digging into the MySQL documentation and found their [...]

Java Threading and Signal Handling

While working on AIOJ, I came across an issue with java.lang.Object.wait() and and calling java.lang.Object.notify() from a signal handler.
With POSIX AIO, there are two ways to receive notification that an I/O operation has completed. One is through a signal and the other is by calling a specified method in a temporary thread. When [...]

« Previous Entries