fanout

command module
v0.0.0-...-df15e3c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2023 License: MIT Imports: 6 Imported by: 0

README

fanout

A demo showing how to process incoming requests in parallel.

Useful to learn about:

  • Concurrent execution (goroutines)
  • Synchronization and messaging (channels)
  • Multi-way concurrent control (select)
  • Completing or canceling gracefully (context.Context)

Build and Run

$ go get github.com/ancientlore/fanout
$ fanout

Presentation

To run the presentation, use the present tool.

Install present:

$ go get golang.org/x/tools/cmd/present

Run the presentation:

$ present -notes -play

Navigate to http://127.0.0.1:3999/fanout.slide to see the presentation. Use the notes view by pressing N to see presenter notes.

Good reading

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
examples
one

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL