Confluent
CCDAK · Question #76
How much should be the heap size of a broker in a production setup on a machine with 256 GB of RAM, in PLAINTEXT mode?
The correct answer is A. 4 GB. In Kafka, a small heap size is needed, while the rest of the RAM goes automatically to the page cache (managed by the OS). The heap size goes slightly up if you need to enable SSL.
Deployment and Troubleshooting
Question
How much should be the heap size of a broker in a production setup on a machine with 256 GB of RAM, in PLAINTEXT mode?
Options
- A4 GB
- B128 GB
- C16 GB
- D512 MB
How the community answered
(42 responses)- A88% (37)
- B2% (1)
- C7% (3)
- D2% (1)
Explanation
In Kafka, a small heap size is needed, while the rest of the RAM goes automatically to the page cache (managed by the OS). The heap size goes slightly up if you need to enable SSL.
Topics
#JVM heap size#broker configuration#production setup#page cache
Community Discussion
No community discussion yet for this question.