Skip to content

fisayo-dev/concurrent-sample-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Concurreny sample with Go.

Description

This repo is a simple demonstration of the use of one of go's powerful features - concurrency. Two operations are made in different ways.The first operation runs sequentially and the second one runs concurrently.

Build & Execution

To build:

go build

To run:

go run main.go

To execute:

./concurrent-sample-go.exe

File Structure

|---main.go
|---go.mod
|---.README
|---.gitignore // git ignore file (.env, etc.)
|---utils/
    |---func.go // operation method functions
    |---vars.go // variables

Executions speed (for 1M+ emails)

  • Sequential (approx. 8s)
  • Concurrency goroutines & channels (approx. 9s)

Copyright

Copyright 2026 - Fisayo Obadina - My Profile.

About

A simple concurrent example operation built in GO.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages