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

Suggestions on what to do to improve performance #4030

Open
jansensan opened this issue Feb 1, 2023 · 3 comments
Open

Suggestions on what to do to improve performance #4030

jansensan opened this issue Feb 1, 2023 · 3 comments
Labels

Comments

@jansensan
Copy link

Question or comment

My site's Node process seems to "idle" at 25% when there are no visitors, and 75%+ when there are. mongod seems steady at 20% all the time:

capture of processes on server

There is likely some work that could be done on my part to improve Apos' performance no? I am uncertain what to take into consideration, so that's why I am asking here.

Details

Version of Apostrophe:
Apos v2.223.1

Version of Node.js:
v16

Server Operating System:
Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-197-generic x86_64)

@boutell
Copy link
Member

boutell commented Feb 1, 2023

I haven't seen this behavior. For context, how much RAM and how many CPU cores does this server have?

@jansensan
Copy link
Author

2 GB Memory, 50 GB Disk. From the image name I would believe a single CPU core.

@boutell
Copy link
Member

boutell commented Feb 2, 2023

OK, that should generally be adequate.

Apostrophe doesn't typically do this when there is no traffic, no. I usually see zero load on Node.js in the absence of traffic. I would look at whether you have any custom Node.js code that does extra work, for instance on an interval timer.

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

No branches or pull requests

2 participants