Earlier quoted context omitted.
TekMoi is right. I have an Alexa top 6k site which is vastly more complicated (media hosting, load balancing, multiple VMs, DDOS protection, transactional emails, automated backups) which costs $200 / month on AWS. The fact that this person is spending nearly as much to support 50k users a day as I do to support more than 4 million cannot be hand-waived away by "people are so free to judge other's[sic] situations". T…
If $171 month is discouraging, let me reassure them. There’s statistically a 95-99%+ chance you’ll never get to 55k monthly users with your app so don’t worry!
Costs of running a Python webapp for 55k monthly users
211–220 of 264 posts
Re: Costs of running a Python webapp for 55k monthly users
#212Earlier quoted context omitted.
Agreed. I'll probably be downvoted, but these setups strike me as people who prefer to drink the cool aid than be pragmatic and only use what they need. I've also had very high reliability rates with a single VPS. They've actually given me less downtime than AWS services at times.
At work, I aim for four nines. (We put three nines in the legal paperwork). I can't hit four nines reliably with single VPS platforms on my typical workloads, I need load balancers and redundant app servers. I could quite likely hit three nines using single VPSes. But if a client wants 99.9% SLAs, they'll be paying for HA and I'll deploy redundant ec2 instances, multi region RDS, and an ELB. And charge them 3 or 4 ti…
Re: Costs of running a Python webapp for 55k monthly users
#213$30 dedicated from Hetzner can do this reliably enough for a non revenue generating blog, including blue green deploys, postgres, certs, cache, edge caches (Cloudflare I guess) and even Metabase (which admittedly can be a memory hog if you don't set it in the JVM).
I put some VMs in Hetzner for a project I was working on, and found out you get what you pay for. They mistakenly deleted all of my virtual machines and all of my backups. If you host anything with them, or anyone I guess for that matter, make sure you have your backups hosted somewhere else.
However, you should be treating your VMs as disposable and not as pets.
Re: Costs of running a Python webapp for 55k monthly users
#214Earlier quoted context omitted.
But if they can choose between saving 10% on infrastructure or adding 5% ad revenue (through more optimizations), the additional revenue is worth more. Just running Facebook, Instagram & Co as a platform would probably be much cheaper than $8 per user.
Absolutely. Profligacy is often the rational course in a capitalist system.
Re: Costs of running a Python webapp for 55k monthly users
#215Earlier quoted context omitted.
I put some VMs in Hetzner for a project I was working on, and found out you get what you pay for. They mistakenly deleted all of my virtual machines and all of my backups. If you host anything with them, or anyone I guess for that matter, make sure you have your backups hosted somewhere else.
I don't have experience on their VM's and have only used the dedicates to host personal projects/and non critical infrastructure. However, you should be treating your VMs as disposable and not as pets.
VMs can be disposable, but if you have data you want to keep, you should have a second copy hosted by a separate organization .. well that was my lesson anyway.
Re: Costs of running a Python webapp for 55k monthly users
#216Earlier quoted context omitted.
If you support 4 million monthly visitors on a media site, and have multiple EC2 instances running, I'd love to see a cost breakdown structure, because in my (obviously incomplete and possibly naive) calculations, the bandwidth alone would cost more than $200/mo.
CloudFlare covers the media bandwidth costs for a mere $20 / month. The uploading and media conversion is the difficult and costly (in terms of CPU) portion.
Your media files must be extremely small.
I'm guessing they're less than 20MB on average, because a) CF hasn't shown you the door yet b) they don't even cache anything bigger than half a gigabyte.
Re: Costs of running a Python webapp for 55k monthly users
#217Re: Costs of running a Python webapp for 55k monthly users
#218It always makes my head dizzle when I read and hear how much people manage to bloat their stack because they think they need to "scale". I have web applications running that reliably serve 50k users per day and cost me $10/month, running on a single, cheap VPS.
Re: Costs of running a Python webapp for 55k monthly users
#219It always makes my head dizzle when I read and hear how much people manage to bloat their stack because they think they need to "scale". I have web applications running that reliably serve 50k users per day and cost me $10/month, running on a single, cheap VPS.
The bandwidth usage is just way too high and video compression requires GPU compute.
Re: Costs of running a Python webapp for 55k monthly users
#220Its just trial and error