zlacker

[return to "Understanding Kafka with Factorio (2019)"]
1. margin+lu[view] [source] 2023-07-13 16:44:10
>>pul+(OP)
> Vertical scaling — a bigger, exponentially more expensive server

This is in practice not true at all. Vertical scaling is typically a sublinear cost increase (up to a point, but that point is a ridiculous beast of a machine), since you're (typically) upgrading just the CPU and/or just the RAM or just the storage; not all of them at once.

There are instances where you can get nearly 10x the machine for 2x the cost.

◧◩
2. teawre+gC[view] [source] 2023-07-13 17:14:48
>>margin+lu
For small consumer products sure, but we're talking at the extreme end of performance and physical capabilities. Sure you can get a 2Ghz CPU for ~2x the price of a 200Mhz CPU, but how much are you going to pay for a 6.0Ghz CPU vs 5.0Ghz? 6.1Ghz vs 6.0Ghz?
◧◩◪
3. margin+CM[view] [source] 2023-07-13 17:52:43
>>teawre+gC
You can go from a 8T/16C Epyc 7xxx series CPU to a 32T/64C CPU and not even double the cost.
◧◩◪◨
4. fluori+uR[view] [source] 2023-07-13 18:08:32
>>margin+CM
That's more like horizontal scaling, though. You get more throughput (transactions per second) but not lower latency (seconds per transaction). Though it may be more cost-effective to have a single 32-core machine than two 16-core machines.
◧◩◪◨⬒
5. margin+MV[view] [source] 2023-07-13 18:25:55
>>fluori+uR
I disagree with this definition of horizontal scaling. If you're moving to a bigger computer rather than more computers, then you're scaling vertically and not horizontally.

(and fwiw, wikipedia agrees with this definition: https://en.wikipedia.org/wiki/Scalability#Horizontal_(scale_... )

◧◩◪◨⬒⬓
6. fluori+oZ[view] [source] 2023-07-13 18:40:49
>>margin+MV
Then it sounds like you have a disagreement of terminology with FTA, since the article is using the terms like I am. Vertical scaling means increasing the serial performance of the system, and horizontal scaling means increasing the parallel performance of the system. In this sense, vertical scaling past a certain point does indeed get exponentially more expensive, while horizontal scaling almost always scales linearly in cost, or better.
◧◩◪◨⬒⬓⬔
7. margin+K81[view] [source] 2023-07-13 19:20:24
>>fluori+oZ
What I'm commenting on is this phrasing from the article

> Vertical scaling — a bigger, exponentially more expensive server

> Horizontal scaling — distribute the load over more servers

◧◩◪◨⬒⬓⬔⧯
8. teawre+wo1[view] [source] 2023-07-13 20:36:29
>>margin+K81
Ok, I see where the lay person would get confused on this. In the context of this article, every core is what Wikipedia calls a "node". There is no difference between a single 32C CPU and 4x 8C CPUs except for their ability to share memory faster. Both are similarly defined as horizontal scaling in the context of this article. You're not going to finish a single workload any faster, but you're going to increase the throughput of finishing multiple workloads in parallel.

The fact that AMD chooses to package the "nodes" together on one die vs multiple doesn't change that.

◧◩◪◨⬒⬓⬔⧯▣
9. margin+Yq1[view] [source] 2023-07-13 20:49:35
>>teawre+wo1
The wikipedia article qualifies what it means with vertical scaling

> typically involving the addition of CPUs, memory or storage to a single computer.

◧◩◪◨⬒⬓⬔⧯▣▦
10. teawre+dL1[view] [source] 2023-07-13 22:31:47
>>margin+Yq1
This is one of those times when I feel like you just didn't read anything I typed. So... I'm just gonna let you be confidently incorrect.
[go to top]