Re:Transactional memory similarity to garbage collection
by kvhdude on Friday May 07, 2021 @12:45PM
(#27077904)
This has been my experience as well. I shifted from embedded systems programming to web services world briefly. I found that scale up approach has been so maligned that it is ok to spin up several hundred ec2 instances running a (poorly written) java application instead of a single multi core instance running erlang that performed much better. Some frameworks even ran web services in php and spent all effort in not having the request reach php code since it was doing like 10 reqs/sec.
Re:Transactional memory similarity to garbage collection
by laurencerowe on Saturday May 08, 2021 @12:15AM
(#27083800)
Not a Java fan, but the single multi core instance being more perform any than a fleet of VMs is likely language independent.
Web applications aren't special in this regard. We've just normalized being incredibly wasteful of computing resources when designing them, spinning up huge clusters to serve a workload that could be easily satisfied with a single machine (or a few machines for availability).
Premature scale-out, because we've forgotten how to scale-up, is the root of much evil.