In production, you probably want to avoid stacking up the applications like
this. There’s a number of reasons:
1) Kafka’s performance is significantly increased by other applications not
polluting the OS page cache
2) Zookeeper has specific performance requirements - among them are a
dedicated disk
Thanks Todd, i will set swapiness to 1.
Theses machines will be the future production cluster for our main
datacenter . We have 2 remote datacenters.
Kafka will bufferize logs and elasticsearch will index its.
Is it a bad practice to have all these JVMs on the same virtual machine ?
What do you r
To avoid swap you should set swappiness to 1, not 0. 1 is a request (don't
swap if avoidable) whereas 0 is a demand (processes will be killed as OOM
instead of swapping.
However, I'm wondering why you are running such large heaps. Most of the ZK
heap is used for storage of the data in memory, and