Re:JavaScript Fatigue or My History with Web Development
by tobltobs on Tuesday June 27, 2017 @09:34AM
(#14645206)
Wait, maybe I am dumb, but why do you need AWS Lambda to scale Node.js better? You use something like Lambda which is build to handle one request per instance to scale something which is single threaded anyway?
[ Parent
| on HN ]
Re:JavaScript Fatigue or My History with Web Development
by fenwick67 on Tuesday June 27, 2017 @12:19PM
(#14646763)
Say I have an endpoint that has to parse a giant JSON object, which can take 100ms to parse... if that locks the thread it can block another request. With lambda I would just make one lambda function for each route and routes won't block each other.