Skip to content

Tutorial repo: a concurrent wordcount application in Go,

Notifications You must be signed in to change notification settings

tmunongo/wordcount-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Details

This is a repo for a tutorial.

A short overview of how our program will work:

  • Read the text file and break it down into chunks.
  • Create a goroutine worker pool with a fixed number of workers.
  • Send each chunk to a worker for processing, and receive a map of words to occurrence count.
  • Merge the resultant maps into one final result
  • Write the results to a text file.

Usage

Clone:

git clone github.com/tmunongo/wordcount-go

Run:

go run main.go

About

Tutorial repo: a concurrent wordcount application in Go,

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages