When the first ASP.NET books appeared, everyone was using datasets as the primary resultset from a db call. Presently that has changed to datareaders. MS has some very nice performance data listed here. It goes to show you that everyone's perspective changes. I also enjoyed Scott Stanfields notes on performance of NET apps. They called it "Design Point Takeaways" Horrible abuse of the English language. The big point he makes is that DB design is crucial. Hard disks spin a lot slower than memory access. So use stored proc's instead of in-line SQL and have the DB as optimized as possible, including a ton of RAM.
Makes sense. RAM is cheap and a good DB will cache stored proc's to some extend. So if you can get a lot of data access to happen in memory only, w/o hitting the hard drive, the app will fly.
11:28:31 AM
|