Posts Tagged ‘.NET’
Synchronisation in .NET– Part 1: lock(), Dictionaries and Arrays
December 25, 2013
10 comments
As part of our tuning efforts at Livedrive, I ran into a deceptively simple problem that beautifully illustrates some of the scale principles I have been teaching to the SQL Server community for years.
In this series of blog entries, I will use what appears to be a simple .NET class to explore how modern CPU architectures handle high speed synchronisation. In the first part of the series, I set the stage and explore the .NET lock() method of coordinating data.
Implementing MurmurHash and CRC for SQLCLR
December 7, 2011
2 comments
As we saw in my previous post, the build in hash functions of SQL Server were either expensive with good distribution, or cheap, but with poor distribution. As a breath of fresh air, let us look at a useful magic quadrant: