Thursday, February 7, 2008

Plugins, suits and thread-monkeys

Yes. I have been absent for a while - busy throwing plugins at the suits. Works well - as long as your plugin framework is razor-thin.

Learned some hard lessons on threading in .NET since I last posted. Turns out my motto holds : DIY. In this case, don't rely on framework code like Delegate.BeginInvoke() or ThreadPool.QueueUserWorkItem() to solve every problem - in general I find it much safer and reliable to utilize the reilable Queue-a-job type patterns using a manually created Thread. In some cases I employ a job buffering strategy on top of this in order to manage and throttle throughput. This suits the type of software I work on perfectly.

No comments:

Archive of Spooky Doom