> I try never to avoid important features because they might be scary. >
Oh, I am saying use it, but just test it (like you said with the race detector enabled) and know the profile, before rolling it out. > > Also, just for the record, buffered channels will block just like > unbuffered channels once they're full, so you can't count on that saving > you from blocking. Also why I almost never use buffered channels. They're > actually much more difficult to reason about than unbuffered channels that > just always block. > As the docs say, unbuffered for semaphore wait, and buffered for producer/consumer. What I have seen in the past is that maxing the number of CPUs will effect the way in which an application containing unbuffered channels behaves. Just pointing it out, thats all.
-- Juju-dev mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
