Re:Matomo: Open-source analytics platform
by looperhacks on Wednesday January 06, 2021 @08:19AM
(#25657456)
Why would you need node to handle "large amounts" of http requests?
[ Parent
| on HN ]
Re:Matomo: Open-source analytics platform
by capableweb on Wednesday January 06, 2021 @09:59AM
(#25658292)
Of course you don't have to have nodejs to handle large amounts of http requests, if you spend enough time you can get any language/framework to handle the amount you need :)
But, seems that at least in the TechEmpower framework benchmarks, es4x (JS) ends up on position 9 while the closest PHP framework ends up at 13. Now it's just a small benchmark with specific tests, but I do think it's easier to make NodeJS handle large amount of requests than PHP. Although again, you can definitely do large amounts of requests with PHP too. I've spent about 5 years on each, found that getting good performance out of V8 is easier than out of PHP.