AWS has introduced AWS Lambda, an event driven computing service for dynamic applications, which I hope allows me to realize the following:
It should take a link and then perform HTTP requests and process the incoming responses from this requests. For this procedure I need multiple programs, which are executed in a queue. So the Lambda function has to execute several Java/C++ programs and some Python scripts from the Lambda function. If this is not possible, can I then convert this code/the executables into Node.js modules and use everything within the same procedure this way?
I'm wondering if this is possible with AWS Lambda?
AWS SDK for Java 2.0 – The official AWS SDK for the Java programming language.
For example, the Lambda runtime for Java supports the LTS versions Java 8 Corretto and Java 11 Corretto as of April 2022. The Java 17 Corretto version is pending. In addition, there is no provided runtime for non LTS versions like Java 15 Corretto, Java 16 Corretto, or Java 18 Corretto.
Lambda functions are written in Java 11 run on Amazon Linux 2, the latest generation of Amazon Linux, and Amazon Corretto 11.
Note that Lambda supports two versions of the Java 8 managed runtime: the java8 runtime, which runs on Amazon Linux 1, and the java8.
When AWS announced Lambda, they mentioned it will be extended to other programming languages in the future. Java and Python (or Jython) are likely candidates being considered.
As of today, Lambda functions support node.js and are executed on Amazon EC2 instances.
Anything packaged as a nodejs module and based on Linux binaries should be able to run on lambda.
Remember also that your lambda function execution time is 60 seconds at max. Your function will be interrupted if it runs above that limit.
[UPDATE March 2016]
Lambda now supports Java8 and Python 2.7 execution environments in addition of NodeJS.
Execution time has been extended to 300 sec max.
http://docs.aws.amazon.com/lambda/latest/dg/limits.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With