Right. In practice it wouldn't come up right now because at least one
end of the stream is a process spawned just for that stream. But
On Jan 2, 9:09 am, "Todd Lipcon" <
tlip...@gmail.com> wrote:
> Hey Cliff,
>
> Just took a look at the source. I'm a little nervous about not using some
> kind of ref or tag with the streaming messages - am I missing something or
> would it be possible for messages from an old stream to end up interleaved
> with a new stream? I guess given that pmap spawns new processes for each
> storage_server get, it's safe enough, but I think using erlang:make_ref/0
> would make things a little clearer, and might come in handy if we swap out
> the streaming implementation for something based on gen_tcp later.
>
> Also looking forward to the benchmark results after this change.
>
> -Todd
>