distributed-caching

APPFabric Caching or SQL server - Specific scenario

萝らか妹 提交于 2019-12-10 23:49:34
问题 I am having difficulties figuring out if APPFabric caching or SQL Server should be used in the context of our needs (considering the fact that we are currently using SQL server for most things). We only need (for now) to cache small chunks of data (~16KB) each of them corresponding to the information associated to a particular request that was sent from one of the applicative server (outgoing request). Any of the applicative server can receive incoming request associated to the initial

Architectural design for data consistency on distributed analytic system

我的未来我决定 提交于 2019-12-10 14:55:04
问题 I am refactoring an Analytic system that will do a lot of calculation, and I need some ideas on possible architectural designs to a data consistency issue I am facing. Current Architecture I have a queue based system, in which different requesting applications create messages that are eventually consumed by workers. Each " Requesting App " breaks down a large calculation into smaller pieces that will be sent to the queue and processed by the workers . When all the pieces are finished, the

Distributed Lock Service with Windows Server AppFabric Caching

点点圈 提交于 2019-12-09 13:07:24
问题 I have an extension method for the Microsoft.ApplicationServer.Caching.DataCache object found in the Windows Server AppFabric SDK that looks like this: using System; using System.Collections.Generic; using Microsoft.ApplicationServer.Caching; namespace Caching { public static class CacheExtensions { private static Dictionary<string, object> locks = new Dictionary<string, object>(); public static T Fetch<T>(this DataCache @this, string key, Func<T> func) { return @this.Fetch(key, func,

Clustered hibernate cache with ehcache: nonstrict vs. strict read write

限于喜欢 提交于 2019-12-09 04:41:14
问题 What is the real difference between nonstrict-read-write and read-write ? I can read ehcache and Hibernate docs, but as far as I can see they only say that "read-write is better if you do updates". I find it unsatisfactory. I may have an issue with long-lived cached collection configured like this: <cache name="trx.domain.Parent.children" maxElementsInMemory="5000" eternal="false" overflowToDisk="false" timeToIdleSeconds="1200" timeToLiveSeconds="1800"> <cacheEventListenerFactory class="net

Refresh Enterprise Library Cache After External App Updates It

别来无恙 提交于 2019-12-08 09:33:45
问题 After searching around for months on and off I finally decided to post this up. We have an ASP.NET MVC app that uses enterprise library to cache items. We also use a windows service that every so often updates those cached items. Problem is that when the windows service updates the cached items, the mvc website does not see the updated cached items until we reset IIS. We have thought about putting some code in the service to restart the IIS service but think there has got to be a better way.

hibernate distributed 2nd level cache options

淺唱寂寞╮ 提交于 2019-12-07 12:16:35
问题 Not really a question but I'm looking for comments/suggestions from anyone who has experiences using one or more of the following: EhCache with RMI EhCache with JGroups EhCache with Terracotta Gigaspaces Data Grid A bit of background: our applications is read only for the most part but there is some user data that is read-write and some that is only written (and can also be reasonably inaccurate). In addition, it would be nice to have tools that enable us to flush and fill the cache at

Not able to form a cluster of two nodes using Infinispan server

别来无恙 提交于 2019-12-06 11:46:08
问题 I am planning to use Infinispan as the remote cache cluster that will sit between my application and database. Now I am planning to make a cluster of few nodes, let's say 2 nodes. I started the Infinispan server using the bin/clustered.sh script on both of my Ubuntu machines. rkost@rj-vm9-14105:~/infinispan/infinispan-server-6.0.0.Alpha1/bin$ uname -a Linux rj-vm9-14105 2.6.35-22-server #33-Ubuntu SMP Sun Sep 19 20:48:58 UTC 2010 x86_64 GNU/Linux Below is the result I got on both of my

hibernate distributed 2nd level cache options

风流意气都作罢 提交于 2019-12-06 03:22:52
Not really a question but I'm looking for comments/suggestions from anyone who has experiences using one or more of the following: EhCache with RMI EhCache with JGroups EhCache with Terracotta Gigaspaces Data Grid A bit of background: our applications is read only for the most part but there is some user data that is read-write and some that is only written (and can also be reasonably inaccurate). In addition, it would be nice to have tools that enable us to flush and fill the cache at intervals or by admin intervention. Regarding the first option - are there any concerns about the overhead of

Infinispan distributed cluster with shared index

。_饼干妹妹 提交于 2019-12-04 20:33:19
Does anybody have a working example of how to configure a cluster of nodes to share an index using the infinispan directory provider? All the documentation on Infinispan (the documentation is seriously lacking btw) implies that it should be as easy as having some properties set but no matter how I try I cannot get it to work. The nodes in the cluster find eachother fine and I can do get operations on one node and get object that were put on another. But as soon as I do queries (use the index) it just starts to fail. My infinispan config: <global> <transport clusterName="SomeCluster">

Distributed caching with .NET 2.0+?

梦想的初衷 提交于 2019-12-04 08:00:49
问题 What is the best approach to implement distributed caching with .NET? Edit: I was looking for a general caching schema for internal and external applications 回答1: There is also NCache as another tool in addition to Velocity and memcached ports. As for strategies you will need to think about what @Unsliced is talking about because the strategy is different from the tool. 回答2: We are huge fans of ScaleOut StateServer. In our tests, it was 4x faster than MemcacheDotNet and almost 2x faster than