简体   繁体   English

AppFabric缓存是否支持WCF持久服务的持久性?

[英]Does AppFabric Caching Support Persistance for WCF Durable Service?

We have Durable Service which is configured to use SqlPersistenceProvider. 我们有经配置可使用SqlPersistenceProvider的持久服务。 For each and every call to the WCF Durable service is taking around 3 to 4 seconds totally out of which, just 200 ms is actual processing time. 对于WCF耐久服务的每次调用,大约需要3到4秒,其中只有200毫秒是实际处理时间。 rest of the timing are solely used for Serizlization (its big object) or Saving the big object to sqlserver. 其余时间仅用于Serizlization(其大对象)或将大对象保存到sqlserver。

Anyone, Please guide me to set up AppFabric caching 1.1 to use instead of default sqlpersistenceprovider? 任何人,请指导我设置要使用的AppFabric缓存1.1而不是默认的sqlpersistenceprovider?

Is this supported by AppFabric ? AppFabric支持吗? I am very new to AppFabric. 我是AppFabric的新手。

Attached is the trace screenshot showing the processing time 200 ms 随附的跟踪屏幕截图显示了处理时间200毫秒
SQL Server saving , Loading time is 3,2 seconds respectively. SQL Server的保存时间,加载时间分别为3.2秒。

在此处输入图片说明

AppFabric and any other distributed cache will not solve the serialization issue. AppFabric和任何其他分布式缓存将无法解决序列化问题。 Object has to be serialized to be stored outside of your process. 对象必须序列化才能存储在您的过程之外。

Consider other design options if serialization of big objects is the biggest time consumer. 如果大对象的序列化是最大的耗时,则考虑其他设计方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM