Skip to main content
added 809 characters in body
Source Link

Thank you Peter for your responses on this thread. I have a very similar use-case, just wanted to understand one thing:

If I keep a "Single Read Sampler" within a "Loop", is there a possibility of some messages being lost between iterations of the loop OR is there some sort of buffering/streaming that ensures that between iterations messages are not lost and returned in the next "Single Read Sampler" read?

Thank you in advance for your help on this. PS

Update:

As expected from Peter's comment on this answer, we do see that frames are read from the input stream one after the other without any drops.

However, we observe that:

  1. Different WS read timeout values affect the reads very differently
  2. For a given connection, if we are expected to receive, say 500 messages, sometime in between, a message is not read by the WS (timeout = 7s) even though the server does push it (within 18ms), due to which the final read count comes as 499. It is seen that this behaviour's extremity depends on the read timeout (even though message is pushed within the timeout).

Has this behaviour been observed anytime before and could you think of any explanation on why this might be happening? Any solution/help on this would be of great help, thank you.

PS: I was unable to add this as a comment, so apologies for posting the query here.

Thank you Peter for your responses on this thread. I have a very similar use-case, just wanted to understand one thing:

If I keep a "Single Read Sampler" within a "Loop", is there a possibility of some messages being lost between iterations of the loop OR is there some sort of buffering/streaming that ensures that between iterations messages are not lost and returned in the next "Single Read Sampler" read?

Thank you in advance for your help on this. PS: I was unable to add this as a comment, so apologies for posting the query here.

Thank you Peter for your responses on this thread. I have a very similar use-case, just wanted to understand one thing:

If I keep a "Single Read Sampler" within a "Loop", is there a possibility of some messages being lost between iterations of the loop OR is there some sort of buffering/streaming that ensures that between iterations messages are not lost and returned in the next "Single Read Sampler" read?

Thank you in advance for your help on this.

Update:

As expected from Peter's comment on this answer, we do see that frames are read from the input stream one after the other without any drops.

However, we observe that:

  1. Different WS read timeout values affect the reads very differently
  2. For a given connection, if we are expected to receive, say 500 messages, sometime in between, a message is not read by the WS (timeout = 7s) even though the server does push it (within 18ms), due to which the final read count comes as 499. It is seen that this behaviour's extremity depends on the read timeout (even though message is pushed within the timeout).

Has this behaviour been observed anytime before and could you think of any explanation on why this might be happening? Any solution/help on this would be of great help, thank you.

PS: I was unable to add this as a comment, so apologies for posting the query here.

Post Undeleted by mehul poddar
added 103 characters in body
Source Link

thankThank you Peter for your responses on this thread. I have a very similar use-case, just wanted to understand one thing:

If I keep a "Single Read Sampler" within a "Loop", is there a possibility of some messages being lost between iterations of the loop OR is there some sort of cachingbuffering/streaming that ensures that between iterations messages are not lost and returned in the next "Single Read Sampler" read?

Thank you in advance for your help on this. PS: I was unable to add this as a comment, so apologies for posting the query here.

thank you for your responses on this thread. I have a very similar use-case, just wanted to understand one thing:

If I keep a "Single Read Sampler" within a "Loop", is there a possibility of some messages being lost between iterations of the loop OR is there some sort of caching that ensures that between iterations messages are not lost and returned in the next "Single Read Sampler" read?

Thank you in advance for your help on this.

Thank you Peter for your responses on this thread. I have a very similar use-case, just wanted to understand one thing:

If I keep a "Single Read Sampler" within a "Loop", is there a possibility of some messages being lost between iterations of the loop OR is there some sort of buffering/streaming that ensures that between iterations messages are not lost and returned in the next "Single Read Sampler" read?

Thank you in advance for your help on this. PS: I was unable to add this as a comment, so apologies for posting the query here.

Post Deleted by mehul poddar
Source Link

thank you for your responses on this thread. I have a very similar use-case, just wanted to understand one thing:

If I keep a "Single Read Sampler" within a "Loop", is there a possibility of some messages being lost between iterations of the loop OR is there some sort of caching that ensures that between iterations messages are not lost and returned in the next "Single Read Sampler" read?

Thank you in advance for your help on this.