In modular programming, large programs are usually made up of several smaller sub-programs. For example, a web server handles several requests from multiple web browsers and serves them with HTML web pages simultaneously. Each request is treated like a small program. The ability to run and make progress on multiple smaller components of a larger program simultaneously is known as concurrency. Concurrent programming often requires the use of different constructs, like ...
8. Concurrency
Get Beginning Go Programming: Build Reliable and Efficient Applications with Go now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.