Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ readme #2

Merged
merged 1 commit into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading