Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brunocalza/sharedcounter
Various implementations of a go-routine safe counter
https://github.com/brunocalza/sharedcounter
Last synced: 30 days ago
JSON representation
Various implementations of a go-routine safe counter
- Host: GitHub
- URL: https://github.com/brunocalza/sharedcounter
- Owner: brunocalza
- Created: 2021-07-08T09:59:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-10T07:54:37.000Z (over 3 years ago)
- Last Synced: 2024-08-04T01:18:52.586Z (4 months ago)
- Language: Go
- Size: 4.88 KB
- Stars: 31
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shared Counter Implementations
- Not Safe Counter
- Mutex Counter
- Channel Counter
- Atomic Counter
- Compare and Swap Counter
- Compare and Swap Float CounterThis is a result out of my curiosity on trying to find out multiple implementations of a shared counter. Eventually, I came across the talk [Prometheus: Designing and Implementing a Modern Monitoring Solution in Go](https://www.youtube.com/watch?v=1V7eJ0jN8-E) that was very influential on some implementations.