Hunting down a SSD latency bug

Hunting down a SSD latency bug

In this blog post i try and debug a particularly annoying problem i have started noticing on my Macbook, which involves my mouse pointer freezing up ever so often. My hunch is that the root cause of the problem is the fact that im running my 256GB SSD drive at near capacity and the controller is very unhappy about that. Read the post to see some of my findings.

Read More

Simulating Network Latency

Simulating Network Latency

One of the hardest parts of writing distributed systems or tools is understanding the effect network latency has on its performance.  I have spent a better part of a decade working with tools and systems that were designed to work in a LAN and then having to try and stretch them to work across a WAN that spans the globe. This blog post outlines a handy way of setting up a latency simulation test network to test any distributed applications or tools.

Read More

Min - Plus

Min - Plus

Back during the early days of R&H India bandwidth was a precious resource and the ability to efficiently send data between our branch offices was critical. During this time we came up with a easy way to reduce the amount of data being transferred by only sending images delta's and then recombining them at the source to recreate the original image. This blog post describes this method as well as shows some example code to implement this.

Read More