Subject: On Hosting out of someone's basement
Author:
Posted on: 2019-03-17 15:00:00 UTC
Yeah, running off a Pi would be nice, but last I checked T-Board tends to grind even on its current setup under a heavy workload. This could probably be fixed (i dunno), but it hasn't been yet. To make matters worse, Rails is generally just very expensive RAM and computation-wise (although not as bad as it once was: Twitter used to use a frankly insane amount of RAM with each request because Rails would fire a large number of exceptions as part of normal operation (falling off the end of a list while iterating, deliberately, and then just catching the exception)).
So, hosting. EC2 is the standard, and it's pretty cheap on an hourly basis, as is Amazon's associated storage. Thing is, of course, that we're running over years and stuff. That adds up. However, assuming PGSQL and Ruby don't do anything stupid, the compute time we use in a given year will be a lot less than a year's worth of compute: in theory, they ought to be spending most of their time waiting for requests, that is, doing nothing. In light of this, I suspect we could comfortably run off a T2 small, or maybe even a micro, which costs a few cents per hour. Storage is ten cents per GB per month. I suspect $10 a month would cover us. Take that with a grain of salt: I'm not an admin. So we're probably looking at $15-20 a month, maybe? Probably less? Plus DNS costs, unless we get a free subdomain off someone (quite a number of services offer that).
Seriously take this with a grain of salt. I got all of this by squinting at EC2's website and guessing.