Skip to content

chegde20121/GolangConcurrency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Concurrency Project

This project aims to provide a hands-on understanding of concurrency concepts and patterns in the Go programming language.

Overview

Concurrency in Go is achieved through goroutines and channels. Goroutines are lightweight threads managed by the Go runtime, and channels are the primary means of communication between goroutines.

This project explores various concurrency patterns, including:

  • Fan-Out/Fan-In: Distributing work across multiple goroutines (Fan-Out) and collecting the results (Fan-In).
  • Worker Pool: Using a pool of workers to execute tasks concurrently.
  • Pipeline: Chaining multiple stages of processing using channels.

Project Structure

  • cmd/: Contains the main applications or entry points for exploring different concurrency patterns.
  • internal/concurrency/: Provides implementations of various concurrency patterns.

Getting Started

  1. Clone this repository:
git clone https://github.com/your-username/go-concurrency-project.git

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages