out-of-box cache support?

Hello All,

Does EF support out-of-box cache support? like second-level cache in Nhibernate
Thank you

[112 byte] By [jawc] at [2008-1-9]
# 1

No, this isn't something EF supports in this release. It is the kind of thing we will evaluate for possible support in a later release.

It would be useful to know, though, what exact scenario do you have where you would like to use this kind of feature?

Thanks,
Danny

DanielSimmons-MSFT at 2007-10-3 > top of Msdn Tech,Visual Studio Orcas,ADO.NET Orcas...
# 2
Hi Daniel,

The simplest scenario is web-farm.
Both of Two machines can get better performance by cache. ( sync cache )
Moreover as I know, the performance of orm is not very good with cache.....

so, I guess people will like to see this feature in final release if it is possible...Smile
Thank you

jawc at 2007-10-3 > top of Msdn Tech,Visual Studio Orcas,ADO.NET Orcas...
# 3

We do not have a plug-in cache model, although one could envision building on top of the object services a cache bound to a context factory similar to that in NHibernate. But, what we have today is a metadata cache which is bound to the connection string. For improving the performance of similar queries, we have a query plan cache that is bound to the metadata cache. It isn’t bound to the context and in that, sense can be thought as a second level cache.

As far as the scenario you mention, synchronization caches in n-tier deployments is not on the books for this release.

Thanks,

Naveen

NaveenValluri-MSFT at 2007-10-3 > top of Msdn Tech,Visual Studio Orcas,ADO.NET Orcas...

Visual Studio Orcas

Site Classified