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

README.md

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

Running

$ go run main.go

runs as script

Build and Run

$ go build
$ ./concurrent-downloader

Install

$ go install

resulting concurrent-downloader binary in $GOPATH/bin