cofoundry icon indicating copy to clipboard operation
cofoundry copied to clipboard

Add a distributed cache implementation of IObjectCacheFactory

Open HeyJoel opened this issue 8 years ago • 2 comments

Currently we only have an in-memory implementation of IObjectCacheFactory, but it should be fairly easy to add additional packages for solutions like redis.

Implementing this should allow support for multi-instance deployments.

HeyJoel avatar Jan 24 '17 11:01 HeyJoel

Hi, has this feature been done? I ask because I am planning on using multiple Cofoundry instances, each on a vm in an Azure Virtual Machine scale set.

johnds1974 avatar Jan 08 '20 12:01 johnds1974

No, not yet. If you're familiar with the Redis API it should be fairly trivial to create your own implementation of IObjectCacheFactory and override the existing implementation using our DI system.

If you look at the InMemory implemetation you'll see it's a fairly bare bones abstraction.

HeyJoel avatar Jan 09 '20 10:01 HeyJoel