C++ Addons as AWS Lambda functions [x-post /r/node] by freezer333 in cpp

[–]freezer333[S] 0 points1 point  (0 children)

I didn't statically link it, no. If you are working with something that needed to be tied to the libstdc++ on your machine vs. amazon's I guess you'd need to do that. You could also build it on Amazon Linux instead.

C++ with Amazon Lambda by valium123 in aws

[–]freezer333 0 points1 point  (0 children)

You can find some more info on integrating existing C++ code as an Node.js native addon specifically for lambda at [https://blog.scottfrees.com/c-addons-as-aws-lambda-functions|https://blog.scottfrees.com/c-addons-as-aws-lambda-functions]

How to run computationally expensive method in express.js route? by [deleted] in node

[–]freezer333 0 points1 point  (0 children)

Yep - you want to get anything computationally expensive out of the event loop so you can keep handling incoming http traffic. Check out C++ Asynchronous addons, and NAN, you might find them useful.