It doesn’t get a great rep? Would love to hear from that perspective. I’m only seeing the opposite.
Many popular node libraries are/have converted to Typescript. I was on the fence last year but now I’m working towards converting my work into Typescript too.
sine@programming.dev 1 year ago
Thousands of requests per minute can mean many things so maybe you’re referring to several hundred requests per minute. One of our services at work gets 300 requests/second which is ~18K requests per minute and it’s really not that much. We’re using pretty cheap cloud services. Even thrice the traffic is pretty much a slow walk for your average production-grade web framework.
Web frameworks are built to support an insane amount of incoming requests, including node. The issue with node is the single threading and having to scale with worker threads AFAIK.
mark@programming.dev 1 year ago
People always say this but its not technically correct and can be misleading.
Technically, JavaScript runs single threaded but not Node.js itself and certainly not when using it on the backend in something like Express. IO operations and other things that plugins can do run out of a thread pool. But Node.js gives you much of the benefit of multithreading without having to deal with multithreaded code.