Enabling GOMAXPROCS for jujud
Andrew Deane
andrew.deane at canonical.com
Tue Oct 29 14:58:43 UTC 2013
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20131029/04980f16/attachment.html>
More information about the Juju-dev
mailing list