Skip to main content
Software Engineering

Timeline for Am I right that switching programming languages will have little impact on the scalability of a CRUD API?

Current License: CC BY-SA 4.0

9 events
when toggle format what by license comment
May 16, 2022 at 8:35 comment added Stack Exchange Broke The Law @tbjers I doubt node.js startup is slower than JVM startup
May 13, 2022 at 19:41 comment added tbjers @user253751 Depending on how/where you run Node.js really does matter to these comparisons. For instance, are you running Node.js in an at edge lambda function or as a daemon service on a VM? If it's in a Lambda function, you're going to suffer from Node.js having to load all the dependencies into memory before it executes, every time. Some of this can be cached, sure, but it's still no match for let's say a compiled Go program running in a Lambda. That startup time of 100-500ms vs 2-4ms can cost you a lot, at scale.
May 13, 2022 at 7:58 comment added Džuris "Our services are often compute bound" — well, that's important.
May 11, 2022 at 17:39 comment added Stack Exchange Broke The Law Did you actually try node.js? I don't think you can claim that JS is faster than JVM without actually measuring it, any more. It used to be an obvious truth (so did C beating JVM).
May 11, 2022 at 3:18 comment added Lie Ryan @Vincent: video streaming is not computationally expensive. It's just bandwidth and disk expensive. Video encoding is computationally expensive, but nobody writes their own codecs anyway, and most off the shelf ones are already written in fast languages and have an API you can call from any scripting language.
May 10, 2022 at 12:24 comment added Vincent Thanks for your input. I completey reworded my question, since it seems that I was simply wrong.
May 10, 2022 at 12:01 comment added Philip Kendall The services I'm talking about here are not the actual video streaming, that's all served from CDNs (not a secret in any way, before anyone gets interested). At large enough scale, even SSL termination is expensive.
May 10, 2022 at 11:58 comment added Vincent You're right, I think the way I phrased the question is bad. For video streaming and many other computationally intensive tasks, the choice of language must be crucial. In our case it's essentially a CRUD app, and I think then it doesn't matter. I should have made that clear.
May 10, 2022 at 11:35 history answered Philip Kendall CC BY-SA 4.0

AltStyle によって変換されたページ (->オリジナル) /