🎄 Happy Holidays! 🥳
Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.
Happy Holidays!
Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.
Solace Jav RTO Max Send Buff and Receive Buff
Hi,
I am using Java RTO and I am not really clear with Max Receive Buffer Size and Max Send Buffer Size.
Say if my Send Buffer size is 1024 bytes, does it mean Solace API waits and collates messages upto 1024 bytes and sends them together ? Similar question of the reveive Buffer Size.
Answers
-
Hi @mprabhat_jha. See the docs here: https://docs.solace.com/API/API-Developer-Guide/Java-RTO-API-Best-Practices.htm#Memory
But no, it is not waiting to fill up that buffer before sending. Your buffer can be quite large, but the API will send messages as they are published into the buffer.
Why are trying to tweak these values? Are you running into performance issues with default values?
And quick question: why are you using the Java RTO API? It's a JNI-wrapper C API. Typically, most Java users use either JCSMP or the new Java API. What's your use case?
Thanks!
0