Recommended production settings for Windows
Recommendations for production environments.
Recommendations for production environments; adjust them accordingly for your implementation.
Synchronize clocks
The clocks on all nodes should be synchronized. You can use NTP (Network Time Protocol) or other methods.
This is required because columns are only overwritten if the timestamp in the new version of the column is more recent than the existing column.
Set ExecutionPolicy to unrestricted
Set-ExecutionPolicy Unrestricted
Disable page file
Because Cassandra has multiple replicas and transparent failover, it is preferable for a replica to be killed immediately when memory is low rather than go into swap. This allows traffic to be immediately redirected to a functioning replica instead of continuing to hit the replica that has high latency due to swapping. If your system has a lot of DRAM, swapping still lowers performance significantly because the OS swaps out executable code so that more DRAM is available for caching disks.
- From Start, select .
- In Control Panel Home, select Advanced system settings.
- In System Properties, select
- In Performance Options, select .
- In Virtual memory, clear No paging file.
Power profile
Set the Power profile to High performance.
- From Start, select .
- In Select a power plan, select High performance.