Skip to content

Commit

Permalink
✨ readme
Browse files Browse the repository at this point in the history
  • Loading branch information
perebaj committed Oct 10, 2023
1 parent 1849a45 commit 512cfb9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
# metrica

What we are trying to solve here? A simple race condition problem, here multiple pieces of code are trying to access the same shared data!
What we are trying to solve here? A simple race condition problem, where multiple pieces of code are trying to access the same shared data!

![image](assets/metrica.png)

# Api Example

Request
```bash
curl -i -X 'GET' http://localhost:8080/count
```
## Get starting

All commands could be accessed typing: `make help`

To test the code using containers🐋

`make dev/test` & `make dev/lint`


## Resources

This example is really close with the problem that we have here
Some resources that were useful to solve it

[Mutex](https://golangbot.com/mutex/)
[Atomic Counters](https://gobyexample.com/atomic-counters)
[Bjorn Rabenstein - Prometheus: Designing and Implementing a Modern Monitoring Solution in Go](https://www.youtube.com/watch?v=1V7eJ0jN8-E)
- [Mutex](https://golangbot.com/mutex/)
- [Atomic Counters](https://gobyexample.com/atomic-counters)
- [Bjorn Rabenstein - Prometheus: Designing and Implementing a Modern Monitoring Solution in Go](https://www.youtube.com/watch?v=1V7eJ0jN8-E)
Binary file added assets/metrica.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 512cfb9

Please sign in to comment.