1. Do not use multiple storage drives. It is recommended that the maximum number of disks attached to each node be less than or equal to the number of processors (number of logical CPU cores). The optimal policy is for each node to use RAID 5 or RAID 10 to mount directory data. Each RAID 5 or RAID 10 has up to eight logical disks.
  2. Do not store long term. Do not use for database purposes. The more you store, the slower the access speed becomes. Should not be stored longer than 7 days.
  3. Do not divide too many partitions. Because it will increase Kafka and Zookeeper load. The number of partitions should not be greater than the number of nodes.
  4. The optimal size of the message is 15kb. Should not be larger than 1mb. And absolutely not allowed to configure to 5mb.
  5. Don’t delete and create topics frequently.

DMCA.com Protection Status


Leave a Reply

Your email address will not be published. Required fields are marked *