Open Shubham8287 opened 2 years ago
Checking node exporter
what are the result of above two btw @Shubham8287 ? you can also put the findings help others to understand and easier for you as well to compare.
Tried node exporter + prometheus + grafana for systems metrcics, the system is overkilling for us. Realized all such tools rely on basic linux commands like top, iostat, etc but anyway got good exposed to collect metrics of large system.
I was doing stress testing, started with pi but memory card is bottleneck there CPU spending 99% time idle. for go server, it is not accepting more than 1000 concurrent requests, failing with error "too many open files".
tried healthcheck benchmark with 'ab', found something strange. "ab -n 200000 -c 1000 http://localhost:8080/isAlive", returns 116ms median whereas " ab -n 200000 -c 1 http://localhost:8080/isAlive", returns 1ms median. Ideally response time should decrease if making request in parallel, might be due to caching. need to check.
this thread fixed open files error - https://askubuntu.com/questions/1182021/too-many-open-files
Going through this - https://llvm.org/docs/Benchmarking.html