Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/engineerit2014/concurrence-go

Solutions to Concurrence go problems
https://github.com/engineerit2014/concurrence-go

concurrence go-concurrence golang golang-concurrence

Last synced: 20 days ago
JSON representation

Solutions to Concurrence go problems

Awesome Lists containing this project

README

        

# Go advanced: concurrence-go

This project shows the use of concurrence in Golang. For this purpose, some common problems and their solutions using go are shown.

## Table of Contents

- [Concurrence problems](#concurrence-problems)
- [Deposit & Withdraw](#deposit-&-withdraw)

## Concurrence problems

### Deposit & Withdraw

Deposit and withdrawal problem, commonly occurs in the management of transactions when you have N people depositing and N people consulting or withdrawing, if not handled correctly the balance generated in an account can be affected in any way. To solve this problem called race condition, we can use Go and its concurrency management tools.

See the examples for more details.