26 Nov '13, 5am

A channel-based ring buffer in Go. Go certainly does a nice job with distributed behaviors.

A channel-based ring buffer in Go. Go certainly does a nice job with distributed behaviors.

After Jared’s excellent introduction to Go concurrency and his look at patterns of Go channel usage I would like to share a channel-based ring buffer in Go based on channels that we developed for the Loggregator Server in CloudFoundry (CF). CloudFoundry’s Loggregator Server The goal of Loggregator is to allow application developers to tail the logs of their applications when these are running on CF. The central component of this is the Loggregator server which routes incoming messages. One of the key requirements for this server is that all developers get their logs fairly and that a malicious developer can not cause message loss for other developers by writing very fast loggers or really slow log consumers. The following drawing shows the basic mechanism of message distribution (every sprocket is a goroutine). Messages come into the system on the left and are processed by...

Full article: http://pivotallabs.com/a-concurrent-ring-buffer-for-go/

Tweets

Go Ask The User!

pivotallabs.com 26 Nov '13, 4pm

Lean Startup methodology and Agile development preach customer driven development and all it’s benefits. I think real worl...

10 Places Not To Go With New Kicks

10 Places Not To Go With New Kicks

kicksonfire.com 26 Nov '13, 5pm

She’s not wearing Jordans and you shouldn’t either in this scenario. Words: Stephon Anderson So you wake up on your off da...

Why Google’s Go Programming Language is the Future?

Why Google’s Go Programming Language is the Fut...

rubylearning.com 25 Nov '13, 8am

W hether you call it golang or the Go programming language doesn’t really matter. What is of consequence is whether this i...

I need these to go on sale like last night

stevemadden.com 27 Nov '13, 5am

Attention troops: this is the perfect combat boot! The TROOPALE is a serious statement shoe that is a raging runway sensat...

Tiny houses go modular and customizable

Tiny houses go modular and customizable

treehugger.com 26 Nov '13, 1am

"It's kind of like LEGO meets IKEA and they make a porn movie together." That's how Jay Schafer, pioneer of the tiny house...

Rosmah oh Rosmah … Ready, Get Jet, Go! - by Kee...

blog.limkitsiang.com 27 Nov '13, 8am

By Kee Thuan Chye Yahoo! News Nov 24, 2013 Rosmah oh Rosmah, you are so endearing that Malaysians love you. So much that t...

Have you seen this? Nkiru Anumudu’s handbag will make your head ring (LOOK): by Tutu Akinlabi Nkiru Anumudu is...

Have you seen this? Nkiru Anumudu’s handbag wil...

ynaija.com 27 Nov '13, 11am

The socialite never fails to wow us with her extraordinary and unique fashion statements. The latest one is this purse she...

43 Commando go stalking through the glen #royal...

royalnavy.mod.uk 25 Nov '13, 4pm

Pictured are Royal Marines from 43 Commando demonstrating their extensive military skills and capabilities while conductin...

Six-figures for and the benefits that go with it

sullysblog.com 27 Nov '13, 3pm

On ContactUs.com, the purchase price was also at a premium, in the six-figures. I didn’t initially want to go that high. B...

Rosmah oh Rosmah … Ready, Get Jet, Go!: By Kee ...

blog.limkitsiang.com 27 Nov '13, 8am

By Kee Thuan Chye Yahoo! News Nov 24, 2013 Rosmah oh Rosmah, you are so endearing that Malaysians love you. So much that t...

@CarCarch28 Here ya go!

lovepastry.com 04 Dec '13, 9pm

We are happy to help with any questions you have about Love Pastry. Please use the form below to submit a question or comm...

Getting the Band Back Together: E3i Tosses Hat Into Utility-scale Solar PV Ring

Getting the Band Back Together: E3i Tosses Hat ...

renewableenergyworld.com 25 Nov '13, 2pm

As interest in these projects surges, engineering, procurement and construction (EPC) firms are clamoring to help build th...

Once You Use Bitcoin You Can't Go 'Back' — And ...

wired.com 26 Nov '13, 2pm

And almost every bitcoin purchase needs to start with such a consuming, hastle-prone step if the buyer is unwilling to ris...