3 ms·
If you have an expensive computation task and you're paying for computing time, do you really want to be using JavaScript for the purpose?
by capisce 12y ago
If you have an expensive computation task and you're paying for computing time, do you really want to be using JavaScript for the purpose?
- ajkjk 12y agoProbably not, but this isn't purporting to be the best way to do it. It's just a cool thing you can do in your JS code. Especially nice for spinning something up with zero overhead. Maybe not optimal for production apps. Maybe good if you're constrained on server resources but less so on budget. Maybe good if you're still on the Lambda free tier pricing.
- atonse 12y agoActually, one of their examples was to generate image thumbnails, where they import the ImageMagick native libraries to do the heavy lifting. Essentially, this can help offset the need for managing extra servers for those kinds of tasks.