Kafka-ஐ பிணைய வேண்டியது உற்பத்திகர்கள், நுகர்வோர்கள், தரகுகள், மற்றும் বிষயங்கள் ஐ விரும்பிய throughtput, latency, மற்றும் durability-ன் சமநிலைக்கு வடிவமைப்பதை உள்ளடக்கியது. முக்கிய பிணைய அளவுருக்கள் மற்றும் பரிமாற்றங்களைப் புரிந்துகொள்வது அதிக-செயல்திறன் Kafka க்கு முக்கியமாகும்.
Producer பிணைய
✓ BATCHING → batch.size + linger.ms → batch messages → higher THROUGHPUT (fewer requests)
at the cost of slight latency
✓ COMPRESSION → compress batches (snappy, lz4, zstd) → less network/storage, more throughput
✓ acks → acks=all (durable, slower) vs acks=1 (faster, less safe) → durability vs throughput
✓ buffer.memory, max.in.flight → tune for throughput
