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

Reducing CPU and memory usage by using ubuntu:19.04 image #18

Open
dvasdekis opened this issue Nov 13, 2019 · 2 comments
Open

Reducing CPU and memory usage by using ubuntu:19.04 image #18

dvasdekis opened this issue Nov 13, 2019 · 2 comments

Comments

@dvasdekis
Copy link

Hi folks, I am performing some intensive reads (300 streaming tickers) off the IB gateway and I was hitting a high level of CPU usage (100%) with the image as-is. I confirmed that all the CPU usage was being used by the java executable within the image also.

I managed to reduce this to about 50% by using ubuntu:19.04 as the base image instead of 16.04. I'll raise a pull request with the change.

@ccravens
Copy link

ccravens commented May 3, 2020

For others reading this I had to use the image name:

ubuntu:19.10

@EMCP
Copy link

EMCP commented May 20, 2020

there are also security concerns with using something as old as 16.04

You may want to even go all the way to the latest LTS

ubuntu:20.04

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

3 participants