Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Component

Low-end/month

High-end

Web workers
Production:

  • Low-end, 2 standard-2x dynos, with-auto-scaling up so we’ll add on a bit for that. (not recommended, let’s call it $120/month).

  • A single performance-m dyno with auto-scale to 2 ($250/month maybe),

  • a performance-l ($500/month)

Staging:

1 standard-2x dyno, at $50

This is deciding that staging will be slower than production – can always temporarily increase it if we need to for testing things, and pay per-minute.

$170

$550

Background workers

Production:

  • 2 standard-2x ($100) with auto-scaling up. Hard to predict actual auto-scaling charges, let’s call it $150 total.

Staging:

  • 1 standard-2x ($50)

  • Maybe with auto-scaling? Should we call it $80 on the high-end?

$200

$230

Database

Heroku postgres standard-0 ($50), 2x for production and staging.

$100

$100

Redis
One heroku redis premium-0 ($15), 2x for production+staging

Future: We might want a second redis premium-0 to use for caching.

$30

$60

Solr
SearchStax. Either an NDN1 ($20/month with annual contract) or NDN2 ($40 with annual contract). x2 for production and staging.

$40

$80

Autoscaling

hirefire.io. $15/month, or $25/month with “overclocking”.

Does not include minutes of scaled dynos, just the autoscaler itself.

Don’t plan to use autoscaling on staging.

$15

$25

Logging

Papertrail, not entirely clear what tier we need for our traffic, we’re guessing the $16 or $30 plan.

$16

$30

Sub-total

$571

$1075

Add 15% margin

Hard to estimate costs including:

  • one-off dynos charged per-minute for scheduled tasks, developer console, rake tasks.

  • Minutes in use of auto-scaled dynos beyond minimums.

  • Just things we didn’t account for, put in some wiggle-room.

$85

$161

TOTAL:

$656

$1236

...