Skip to content

pfeilbr/concurrent-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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

About

concurrent downloader in go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages