Fork me on GitHub
#aws
<
2016-04-29
>
lmergen13:04:45

interesting that people are choosing node.js over clojure because of speed... simple_smile

lmergen13:04:51

that's not good

clojuregeek13:04:46

it depends .. if you need quick startup and short lived apps, then clojurescript lambdas is fine ..... if a little hit on startup and the lambda lives for awhile, and clojure is good

clojuregeek13:04:12

also depends if the libraries you need to use work with clojurescript or if they need java

clojuregeek13:04:25

jvm ... its not surprising simple_smile

alandipert13:04:22

we have a lambda that's called about 1M times/day with an s3 event, all it does is put the event into dynamo

alandipert13:04:45

the clj 95th run time was 10ms, the node version is about 20ms

alandipert13:04:26

we were being throttled and i thought it was because of clj startup, but really it was dynamo errors and retries causing the lambda to be alive too long

alandipert13:04:49

ended up just using the node version because amazon support understood it better

alandipert13:04:07

the 10ms of addl overhead amounts to 3$/month in extra costs, which i am OK with