4 ms·
'Just buy bigger machines' - Uhh I mean that works but that isn't really a solution is it?
by andyhmltn 13y ago
'Just buy bigger machines' - Uhh I mean that works but that isn't really a solution is it?
- aram 13y ago> Architecture is doing the right thing when growth can be handled by adding more of the same stuff. You want to be able to scale by throwing money at a problem which means throwing more boxes at a problem as you need them. If your architecture can do that, then you’re golden. Source: http://highscalability.com/blog/2013/4/15/scaling-pinterest-from-0-to-10s-of-billions-of-page-views-a.html http://highscalability.com/blog/2013/4/15/scaling-pinterest-...
- andyhmltn 13y agoBut that's not the first port of call. For instance, I've worked with a few companies that were perplexed why their site was going slow when they had invested heavily in great servers. It turns out the code was terrible.
- aram 13y agoI agree and I've seen that; however, the point of the article is that ideally you have rock-solid code and the only sane way to scale is just to add more of the same resources as the codebase is already optimized. The reason I posted the quote was to answer your on your remark that it isn't a solution - it is close to an ideal solution actually, but not applicable everywhere and at any time (e.g. sloppy/non-optimized code as you pointed out). Hope this makes sense.
- sehrope 13y agoIf your product is profitable then being able to scale the server side by buy bigger/more servers (aka throwing money at the problem) can be a great approach. It means no new code write, and more importantly, no new code to test. There can be much bigger gains by updating your software but the costs are much higher and the turn around time is generally longer (for major updates). This is not a valid approach on the client side though as you don't control the hardware.