Curious if anyone is doing anything on AWS Lambda now that it supports running Lambda functions in Java, https://aws.amazon.com/blogs/aws/aws-lambda-update-run-java-code-in-response-to-events/ ?
Kyle Sexton
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Answering my own question about performance, it looks like almost 14 seconds for the Lambda function to run. Doing the math1 if I were to run this 3000000 times in a month bill would be about $342.56. Probably not the ideal solution for clojure in the cloud just yet. :)
START RequestId: 48614bcd-143b-11e5-b2c5-b704df8ab2eb HELLO FROM CLOJURE :) #object[lambdainternal.api.LambdaClientContext 0x26a7b76d lambdainternal.api.LambdaClientContext@26a7b76d] END RequestId: 48614bcd-143b-11e5-b2c5-b704df8ab2eb REPORT RequestId: 48614bcd-143b-11e5-b2c5-b704df8ab2eb Duration: 13680.53 ms Billed Duration: 13700 ms Memory Size: 512 MB Max Memory Used: 104 MB
Kyle Sexton
Footnotes:
Used http://aws.amazon.com/lambda/pricing/ and came up with (* (* (* 13.7 3000000) (/ 512 1024.0)) 0.00001667)
where 3000000 is number of times run per month, 13.7 is seconds of billable time, 512 is MB of RAM allocated to the function.
--