Using this template will not affect startup times. It just makes 
development and deployment easier.

Here are couple of benchmarks for Node and Java:
- 
https://medium.com/@nathan.malishev/lambda-cold-starts-language-comparison-%EF%B8%8F-a4f4b5f16a62
- 
https://read.acloud.guru/comparing-aws-lambda-performance-of-node-js-python-java-c-and-go-29c1163c2581

So the Java gets worse cold start times than Node and then you get the 
Clojure and ClojureScript startup overhead on top of that.

Of course that slowness is only with the cold starts where AWS creates a 
new Lambda instance. Not with the hot starts where existing idle Lambda 
instance is re-used. Hot starts are fast in Node and Java. Also with many 
use case you don't care about at all about slow cold start.

On Saturday, June 2, 2018 at 6:57:12 PM UTC+3, Jason Kapp wrote:
>
> Cool. I haven't looked at Lambda for a while. I recall that there was a 
> slow startup time issue using a JVM based Lambda so someone was using 
> ClojureScript because Node.js had faster startup time. Is startup time an 
> issue with this?
>
> On Friday, June 1, 2018 at 9:58:47 AM UTC-6, Juha Syrjälä wrote:
>>
>> Announcing a Leiningen template for creating Clojure based AWS Lambda 
>> projects using Serverless -framework.
>> The template sets up a project where you can just add the Clojure code.
>>
>> Usage:
>>
>> lein new aws-lambda-serverless my-project
>> ... coding ...
>> lein uberjar
>> serverless deploy --stage dev
>>
>> References:
>> - https://github.com/jsyrjala/aws-lambda-serverless
>> - https://serverless.com/
>> - https://aws.amazon.com/lambda/
>>
>> -- 
>> Juha Syrjälä
>>
>>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@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+unsubscr...@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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to