cofoundry
cofoundry copied to clipboard
Add a distributed cache implementation of IObjectCacheFactory
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.
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.
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.