Hi, we are using Starrocks 3.1 (deployed with the ...
# questions-and-troubleshooting
m
Hi, we are using Starrocks 3.1 (deployed with the kubernetes operator), currently with 3 nodes but reaching a point of 85% BE node mem usage (BE nodes with 64gb mem), what is more advisable, scaling horizontally or vertically? Last time we consulted (when we where some versions behind current) we were told it's better to scale vertically but can't find the real justification of that recommendation
е
scaling vertically means that you dont pay as much for communication overhead in horisontal scaling - network is far slower than local ram in every data exchange operation so if SR is able to utilise a beefy machine and if that machine price is comparable to having 2 smaller machines (128gb prise is ~ 2x64gb price), then scale up
m
ok, in our case we are on prem (vsphere) so scaling vertically or horizontally means the same in terms of cost Any caveats we might have during the scaling up of each BE node?
e.g last time we made a resize of our persistent volumes (shared nothing setup) we had several compactions triggered and CPU usage skyrocketed
i know this is something different but just giving an example
е
you might require some tuning in terms of threads if you scale up cpu cores in order to utilise the cpu i think but nothing else i can think of
m
can we just increase mem or it has to be a CPU core increase also?
е
you can just increase mem of course, if you have no cpu bottlenecks now
m
thanks