concurrent downloader in go
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Concurrent Downloader

Demonstrates concurrent downloads in Go via a worker pattern. The number of workers is parameterized. Based on the Go by Example Worker Pools example

Generates a workload by generating random search queries to google and generates an MD5 hash of the response contents. The number of parallel workers are spawned and start processing the jobs as they are sent in via channels.

main.go is the entrypoint


$ go run main.go

runs as script

Build and Run

$ go build
$ ./concurrent-downloader


$ go install

resulting concurrent-downloader binary in $GOPATH/bin