Data Management

W23 LINQ performance and Scalability


4:15 pm - 5:30 pm

Level: Intermediate

Jim Wooley

Solution Architect

Slalom Consulting

When LINQ arrived in 2008, we were given a new declarative model to perform set based operations. As we begin to use it more in our applications we start to see the performance implications of using this model in our applications. This session will look at options we have to improve our performance by improving our code, using hash tables with I40, scaling up with PLINQ, scaling out with Dryad and asynchronous operations with Rx. By the end of this session, you should have an understanding of when to use each of these new and emerging technologies to improve your LINQ code.

You will learn:

  • How to optimize your LINQ to objects queries and how to make they scale up and out with additional libraries
  • Common pitfalls when using LINQ against databases and how to troubleshoot and fix them
  • A number of techniques you can use immediately in your daily development work.