Having used PHP on Linux a lot, I'm used to using memcache so that the database doesnt have to be accessed on every single request. What do people use on Windows the achieve this? From the asp.net mvc applications which I've seen, none of them use any sort of cache, they just hit the database on every request? Is this common, and if so, why is it acceptable?
+4
A:
You can use memcached also. There are also other alternatives. You may also check Scott Gu's post about the new cache extensibility model introduced in ASP.NET 4.0.
Darin Dimitrov
2010-09-08 11:57:27
+2
A:
Very few professionally built mvc apps would 'hit the database on every request', mvc is still built on top of the asp.net infrastructure which has a robust and proven cacheing engine.
FYI: Microsoft's memcache equivalent is called Velocity http://blogs.msdn.com/b/velocity/
keithwarren7
2010-09-09 03:49:01
+1 for "Very few professionally built mvc apps would 'hit the database on every request"
eglasius
2010-09-09 08:40:45
"mvc is still built on top of the asp.net infrastructure which has a robust and proven cacheing engine." Any more details on this?
Matt H
2010-09-09 14:59:30
A:
You can use Memcache on Windows as well. A very good version of Memcache is available from Northscale.
giulianob
2010-09-17 20:17:21