FAQ
I believe there are only two values for a channel's buffer, 0 and 1.
Setting a value higher than 1 is really saying "well, I sort of want to
buffer as much as I can, I hope this number is enough", and that is not a
stable way to design systems.
On Thursday, 11 September 2014 03:24:48 UTC+10, i...@bodokaiser.io wrote:

If we have 100 go routines what would be a good size for a buffered
channel which all go routines receive data from (if filling the channel is
not considered the bottle neck)?
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 7 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedSep 10, '14 at 5:24p
activeSep 14, '14 at 12:37p
posts7
users5
websitegolang.org

People

Translate

site design / logo © 2021 Grokbase