Skip to content

Use unbuffered chan in parallel func for processesing the data#162

Open
oshankkumar wants to merge 1 commit intodisintegration:masterfrom
oshankkumar:use_unbuf_chan
Open

Use unbuffered chan in parallel func for processesing the data#162
oshankkumar wants to merge 1 commit intodisintegration:masterfrom
oshankkumar:use_unbuf_chan

Conversation

@oshankkumar
Copy link

Channels should usually have a size of one or be unbuffered. It prevents the channel from filling up under load.
Refer https://github.com/uber-go/guide/blob/master/style.md#channel-size-is-one-or-none for more details.

Channels should usually have a size of one or be unbuffered. It prevents the channel from filling up under load. Refer https://github.com/uber-go/guide/blob/master/style.md#channel-size-is-one-or-none for more details. Signed-off-by: Oshank Kumar <oshankfriends@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant