We are just getting ready to begin using Event Store in our project and will be running it on Windows Server 2012 on a virtual machine. We need to decide whether to provision a new virtual machine to dedicate to Event Store or whether we can reasonably run it on the same one where we are hosting RavenDB. From a limited simulation of our anticipated usage, it seems that we have sufficient CPU and I/O resources to host them on the same virtual machine.
However, memory usage has me concerned. I have seen the following comment come up a few times in this group: “We commonly see in windows file cache eating up space and not releasing it in time. You can limit file cache on the machine using things like sysinternals https://technet.microsoft.com/en-us/sysinternals/bb897561” I am concerned that my limited simulation, and even our regular QA verification process, is not going to expose this problem and we won’t find it until it takes our production system down.
So I have some questions:
- Is the file cache problem still a potential issue with Event Store 3.9 on Windows 2012?
The following MSDN article leads me to believe that file caching is no longer broken in Windows 2012 and later: https://msdn.microsoft.com/en-us/library/windows/hardware/dn567645(v=vs.85).aspx
Does it only become a problem when the machine approaches saturation of physical memory?
Does the situation change if we change Event Store parameters like the chunk file size, or the number of cached chunks?
If it still is a problem, why is Event Store particularly affected while I’ve never heard of another Windows database server that is?