O'Reilly logo

Distributed Computing with Go by V.N. Nikhil Anurag

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Buffered channels

For almost all the channels in our code, we will be using buffered channels with a capacity of 8. This allows us to avoid blocking the api.FeedHandler endpoint in case docProcessors are busy. Also because of queue workers and single stores, lStoreCh and dStoreCh have a capacity of 16 each.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required