O'Reilly logo

C# 2008 and 2005 Threaded Programming: Beginner's Guide by Gastón C. Hillar

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

Parallelizing database access

So far, we have been splitting work into multiple, independent jobs, and then we used a pool of threads to parallelize I/O operations without great effort. However, a database server is already very well prepared for parallelized access, as it is designed for serving a number of concurrent users. How can we optimize our client applications to take advantage of both multithreading and parallelized database access?

The answer is simple; it depends on the kind of application we need:

  • If we need to optimize something that runs like a time-consuming batch process, we will use specialized subclasses of our well-known ParallelAlgorithmPiece and ParallelAlgorithm classes to develop a new algorithm for parallelizing database ...

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