4 ms·
Performance doesn't matter until it does. I've seen a malloc upgrade save millions of dollars.
by pdpi 6y ago
Performance doesn't matter until it does. I've seen a malloc upgrade save millions of dollars.
- amadeuspagel 6y agoOnce you have millions of dollars in hosting costs, you can rewrite your app in rust. Most likely, though, your app is never going to cost more then $5 per month.
- mwcampbell 6y agoAnother way of looking at it though is that by using a more efficient language and framework, you can grow farther on a single server, and that fundamentally simplifies things.
- Isinlor 6y agoYou should grow faster by focusing less on implementation and more on your core business competence. In old school PHP share-nothing architecture you can just throw more servers at it and call it a day until you need to start scaling databases.
- couchand 6y agoBut one misplaced comma and your whole site goes down.
- adrianN 6y agoI think you underestimate the costs of rewriting an app that has millions of dollars of hosting costs.
- throwaway894345 6y ago$5/month is a single teeny tiny EC2 instance (or if you’re on premise you can pretend that you’re saving money on hardware by ignoring maintenance costs). I think you’re exaggerating.
- amadeuspagel 6y agoI'm not. Most projects are never going to see any significant traffic. In fact, most projects are never going to get finished and launched at all.
- joelbluminator 6y agoDepends what you're building I guess. Most Rails devs work on Cruddy / SAAS things like Basecamp where Rails is more than fine (or Django / PHP for that matter). If traffic is extreme caching can solve a lot of the problems. Also, companies like Shopify/Github open source and merge to Rails much of their scaling solutions, it's not as if you start from scratch.