O'Reilly logo

Visual Studio 2010 Best Practices by Peter Ritchie

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Distributed architecture

With the advent of big data and multi-core machines, it becomes apparent that in order to keep up with the amount of data, we need to begin scaling our systems out.

Although making use of multiple cores simultaneously (that is, in parallel) is effectively considered scaling up (or vertical scalability), some of the principles we can use to reliably do this can be applied to scaling out (or horizontal scalability).

One of the difficult parts of multithreaded programming is the synchronization of shared data. Data that can be read and written in two different places at the same time needs to make sure those operations don't overlap across threads and corrupt data. This is the act of making something Thread Safe or writing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required