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

1st set of stress testing #30

Open
Shubham8287 opened this issue Apr 12, 2022 · 7 comments
Open

1st set of stress testing #30

Shubham8287 opened this issue Apr 12, 2022 · 7 comments

Comments

@Shubham8287
Copy link
Owner

No description provided.

@Shubham8287
Copy link
Owner Author

Going through this - https://llvm.org/docs/Benchmarking.html

@Shubham8287
Copy link
Owner Author

@Shubham8287
Copy link
Owner Author

Checking node exporter

@RiteshKSingh1709
Copy link
Collaborator

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.

@Shubham8287
Copy link
Owner Author

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.

@Shubham8287
Copy link
Owner Author

Shubham8287 commented Apr 28, 2022

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.

@Shubham8287
Copy link
Owner Author

this thread fixed open files error - https://askubuntu.com/questions/1182021/too-many-open-files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants