Tag Archives: Multithreading

Download, minify & resize images on a different processor core in Node.JS

We’ll explore how to use cluster (from the standard library), GraphicsMagick, and streams to efficiently process images without slowing down or blocking the Node.JS event loop Skip to the end if you just want a link to the full source! Background and motivation When I first showed tsatter.com to the world it slowed some people’s computers […]


Double Check Locking in C# – End of life?

Hello World, After having a discussion with a colleague, I was researching for the correct way to implement double-check locking in C# and .NET 4.5. Turns out a lot of water has flown under the bridge and things have changed quite a bit. I’ll try to document my findings here. The Scenario In my codebase, I […]


Using Thread.stop() on carefully locked down, but untrusted, code | #Multithreading #Javascript #Java