Reputation: 310
I have a web service developed in WCF and its deployed as a Web Farm(3 servers). We are trying to implement caching using MemoryMappedFile. How does memory mapping behave in Web Farm. Is there any option to manage the MemoryMappedFile across servers?
Upvotes: 0
Views: 148
Reputation: 1965
If you task is to do caching between servers, memory mapped file will not be good solution.
You can use proper caching solution like Redis for that.
You will also need c# library to communicate with Redis, you can use this one: https://servicestack.net/redis
Upvotes: 1