You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I played around with this nice pubsub tool, and I find it very useful to write tests. In one of my test experiments I stumbled on the following.
In my experiment, I want a publishing node that publishes N key values in a single burst as fast as possible, and then wait forever. To achieve that I used the writer option N:R*B. Here, N is the number of key values, R is the rate, B is the burst size. Evidently, in my use case B equals N, because I want all data to be published at once. The question that I have relates to R (which is the rate in bursts/second). What is a proper values for R in my use case?
My naive was approach was to use R=0. After all, if I publish a data set of N key values only once and then wait forever, you would think that rate converges to 0 after waiting indefinitely. However, it looks like that data is published continously when R=0. Ofcourse, I can get my test case to work by using a very small R (e.g., R=0.001). In this case the set will be published once, and if my test finishes within 1000 sec I'll be OK. But it is not actually the same as my original problem, because I'll have be sure that my test now finishes within 1000 sec.
My concrete question is:
Is there any reason why N:0 * N does publishes data continuously, instead of publishing it once and then wait forever?
The text was updated successfully, but these errors were encountered:
Hi, I played around with this nice pubsub tool, and I find it very useful to write tests. In one of my test experiments I stumbled on the following.
In my experiment, I want a publishing node that publishes N key values in a single burst as fast as possible, and then wait forever. To achieve that I used the writer option N:R*B. Here, N is the number of key values, R is the rate, B is the burst size. Evidently, in my use case B equals N, because I want all data to be published at once. The question that I have relates to R (which is the rate in bursts/second). What is a proper values for R in my use case?
My naive was approach was to use R=0. After all, if I publish a data set of N key values only once and then wait forever, you would think that rate converges to 0 after waiting indefinitely. However, it looks like that data is published continously when R=0. Ofcourse, I can get my test case to work by using a very small R (e.g., R=0.001). In this case the set will be published once, and if my test finishes within 1000 sec I'll be OK. But it is not actually the same as my original problem, because I'll have be sure that my test now finishes within 1000 sec.
My concrete question is:
Is there any reason why N:0 * N does publishes data continuously, instead of publishing it once and then wait forever?
The text was updated successfully, but these errors were encountered: