<@U078Y59KC3B> can you help me quantify the perfor...
# ask-ai
s
@RunLLM can you help me quantify the performance impact of enabling TLS on Pulsar?
r
Enabling TLS on Pulsar introduces measurable performance overhead, primarily due to encryption and decryption operations. For example, using the SunJCE provider for AES-GCM encryption, throughput drops from ~128,708 msg/s (no encryption) to ~117,528 msg/s (TLS with SunJCE), and further down to ~20,478 msg/s with the BouncyCastle provider, as shown in recent benchmarks. This represents roughly a 9% throughput reduction with optimized TLS and a much larger drop with less efficient providers. Decryption performance on the consumer side is also improved with SunJCE optimizations. According to Encryption performance improvement on Java client, these results are based on Pulsar 3.4.0 and recent hardware. Would you like more detail on the specific configuration, test methodology, or other performance metrics? Sources: - Encryption performance improvement on Java client 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.