English 中文(简体)
NHibernate - Poor Performance with Memcastal
原标题:NHibernate - Poor performance with Memcached

我安装了Membase,并建立了一个新的超标桶。 在这种环境中,我选择为简便起见建立一个有1111个港口的专用港口。

在我的网站上,我有:

<configSections>
  <section name="memcache" type="NHibernate.Caches.MemCache.MemCacheSectionHandler, NHibernate.Caches.MemCache" requirePermission="false" />
  ...
</configSections>

<memcache>
  <memcached host="127.0.0.1" port="1111" />
</memcache>

在我的“自由”专栏中:

<property name="cache.use_query_cache" >true</property>
<property name="cache.use_second_level_cache">true</property>
<property name="cache.provider_class">NHibernate.Caches.MemCache.MemCacheProvider, NHibernate.Caches.MemCache</property>

在我的每一个国家自由阶层的测绘中,我都处于阶级后的最高位置:

<cache usage="nonstrict-read-write" />

在我处理此事时,我提出的问题比我使用西切斯的情况要慢得多。 是否有看错的东西? 我在建立这样的新局面上是相当新的。

事先得到任何援助。

最佳回答

你的组合似乎没有明显的问题。 锡斯卡什正在使用ASP。 NET 海滩提供商,贵方和海滩之间没有网络联系,但从理论上来说,它只能是远远快于当地东道方(假定你有足够的记忆以避免打捞)。

你们也许想试图用记名人来掌握你的照片,以了解时间的实际使用情况。 另外,你还应保证,电离板实际上被用来归还有线索的询问,并且不会发放q盘——记录 s,并期望它只是第一次完成质问。

I m using membase with a memcached bucket and the enyim memcached client, with a configuration similar to yours and i m very pleased with the performance. The membase also provides a nice administration console where you can see various useful statistics about cache usage.

此外,与你的问题无关,但确保你了解问询是如何在使问答之前进行的。 见2。 页: 1

问题回答

暂无回答




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签