Re:Brubeck – A statsd-compatible metrics aggregator
by kasey_junk on Monday June 15, 2015 @09:48PM
(#9723357)
I'm not sure what you are asking about specifically but in general it's important to remember that channels are a pretty thin abstraction around a mutex (and a buffer). There is nothing about that abstraction that would make you think it would be better for this use case than spinlocks and a lock free table, and quite a bit that would make you think it is much worse.
One of the first things people abandon when scaling golang servers is the channel abstraction and I expect the same would be true in this case.
One of the first things people abandon when scaling golang servers is the channel abstraction and I expect the same would be true in this case.