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

Clarify EC2 instance size requirements #222

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

seanlinsley
Copy link
Member

The differences are that t3.micro has 1 GB of RAM instead of 2, and costs $7.59 a month instead of $15.18.

@seanlinsley seanlinsley requested a review from a team March 6, 2024 14:49
Copy link
Contributor

@msakrejda msakrejda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This reverts https://github.com/pganalyze/pganalyze/pull/982 -- is that worth doing? Collector OOMs are not that easy to diagnose, and may include support interactions, creating an onboarding hurdle. It's a difference of $7/month with on-demand pricing.

Maybe instead we should add a separate docs page on sizing your collector instance, and go into more detail there (and link from here)?

@seanlinsley
Copy link
Member Author

seanlinsley commented Mar 6, 2024

Since pganalyze/collector#384 our production collector (which monitors two servers) has reliably stayed below 1 GB. In the image below it peaks at 545 MB.

I'm not sure what benefit a dedicated docs page would bring. Is there really that much to cover?

Screenshot 2024-03-06 at 11 56 39 AM

@lfittl
Copy link
Member

lfittl commented Mar 6, 2024

Since pganalyze/collector#384 our production collector (which monitors two servers) has reliably stayed below 1 GB. In the image below it peaks at 545 MB.

I'm not sure what benefit a dedicated docs page would bring. Is there really that much to cover?

I'd also be in favor making this a separate page, and continuing to default to the larger instance in the docs.

The cost difference here is negligible for most organizations, and we should have a place anyway where we can clarify that the collector needs more resources (both on the host and the systemd unit file) if you monitor many servers. If someone is truly cost conscious on this level, they could go to that page and decide to go smaller too.

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

Successfully merging this pull request may close these issues.

3 participants