🎄 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.

sdkperf latency measurement with binary message

mprabhat_jha
mprabhat_jha Member Posts: 15
edited March 2023 in General Discussions #1

Hi,

When I use -l along with -pal then my application doesn't receive the input.

Command used:

./sdkperf_java.sh -cip=H:P -cp=A -cu=B -mr=1000 -mn=25000 -l -nagle -ptl=my/request/topic -stl=my/response/topic -prs=my/response/topic -pal=mybinary.message

Since I wanted to use replyTo I used sdkperf_java as suggested by @marc in a separate thread.

Is this not supported or am I missing something ?

Answers

  • steve_chan
    steve_chan Member Posts: 3

    Hi,

    Can you try with -pfl (text message)? If your application receives that, but not -pal (binary message), then maybe the application is not coded to handle binary message.

    Steve

  • mprabhat_jha
    mprabhat_jha Member Posts: 15

    Problem is to use -l (for latency measurement) with -pal. I am able to send messages successfully with -pal but -l and -pal don't work together.

  • mprabhat_jha
    mprabhat_jha Member Posts: 15

    I used the -md to see the underlying data on screen.

    with -l, I see first row of binary data changed. May be the tool does some shifting

  • steve_chan
    steve_chan Member Posts: 3

    I suspect the tool adds timing information in the message in order to calculate latencies. That may be interfering with what your application is expecting in the message.

  • mprabhat_jha
    mprabhat_jha Member Posts: 15

    May be, haven't been able to figure out how to get rid of it.