Asynchronously Preloaded LINQ Queries

2008-07-29
1 min read

As a rule of thumb, when presented with two independent blocking I/O operations on more than one independent devices, it’s best to use threads to create parallel operations, instead of waiting for a single synchronous operation to complete. That way, executing operations O1, …, On, each of which take T1, …, Tn will result in total time where T < T1 + … + Tn, instead of T = T1 + … + Tn….

You can read the copy of the original post, or if that goes down too, you can try the Wayback Machine’s copy of it.

Context: This post was automatically imported from my old blog, which was originally hosted on Microsoft’s ASP.NET Community Blogs. When they shut it down, I dumped all of my old posts to Wordpress. You can still check out the original blog on the Wayback Machine.