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

Distributed work with channels

We are certain about three things now: we want to distribute our orders among the cashiers correctly, we want to ensure that the correct number of orders are processed by each cashier, and we want to use channels to solve this problem. Before we address how to solve the cashier problem using channels, let's first look at the basic syntax and usage of a channel.

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