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

Heroku -> Resources scaling #3374

Open
6 tasks
minotogna opened this issue Jan 2, 2024 · 2 comments
Open
6 tasks

Heroku -> Resources scaling #3374

minotogna opened this issue Jan 2, 2024 · 2 comments
Assignees

Comments

@minotogna
Copy link
Member

Production

Current spending

$441.00

  • dynos 200$
  • db 200$
  • redis 25$
  • papertrails 16$

Dynos

Cost: Standard2x (max of $50/month) to Standard1x (max of $25/month)
Current: 4 Standard2x = 200$

  • scale down dynos
    • from 4 to 3 Standard2x = 150$
    • from 4 to 2 Standard2x = 100$
    • from 4 to 3 Standard1x = 75$
    • from 4 to 2 Standard1x = 50$

Note: To provide a more accurate real need under stress edit or not, run stress test to the platform. see www.artillery.io. time estimate 2|3|4 weeks (+some additional cost during period to have a 'production clone' environment in review

DB

current standard2 (256 GB, connections 400, ram 8GB) = 200$

  • scale down db standard0 (64 GB, connections 120, ram 4GB) = 50$

Note (for future maybe?) if DB storage won't be enough (current size with files 8.4GB (13% standard0) - without files [3.62 GB] it will be 4.78GB (7.47% standard0):

Projected spending

(50~150)$ + 50$ + 25 + 16 = (141~241)$

= -(300~200)$

Review

$59.00

@minotogna minotogna self-assigned this Jan 2, 2024
@minotogna
Copy link
Member Author

minotogna commented Jul 10, 2024

  • Move files to s3 bucket

@minotogna
Copy link
Member Author

  • Heroku: scale down db to standard0 plan

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

No branches or pull requests

1 participant