https://dev.azure.com/DataHow/DataHow%20Challenges/_wiki/wikis/Challenges.wiki/1/Backend-challenge
- Pull project
- Run command "make app-server"
- Run command "make run-tests"
- After tests, run command "app-down" for stop docker
I made in memory storage (set type) to collect ip adresses, i decide to not use external dependecies, because it's little overhead, we can count memory usage per record 4byte + ~3byte(overhead for map is not constant but i found that it take ~3bytes over, based benchamrks in this one topic https://stackoverflow.com/questions/15313105/memory-overhead-of-maps-in-go) = 7; 1073741824(1GB) / 7 = 153391689.143