aws-lambda

borkdude 2020-03-23T08:52:00.022Z

@dainius.jocas Could it be that the slowness with curl was with repeated execution of requests? Maybe clj-http-lite uses connection pooling?

2020-03-23T09:12:05.022200Z

I doubt that the slowness is because connection pooling. As it is written in the README No persistent connection support

2020-03-23T09:15:40.022400Z

I have a suspicion that it might be because doing shell out on a very constrained environment, just 128MB RAM and very little CPU. I would like to test with more RAM given to the lambda and some profiling.

2020-03-23T09:55:37.022600Z

I have an idea to package babashka as a Lambda layer, and make a proper template that uses handler option, that would be a script file. In this way one could write a lambda function right in the cloud IDE or the packaging script could produce --uberscript for compactness. @borkdude what do you think if I publish babashka as a public lambda layer?

borkdude 2020-03-23T09:56:10.022800Z

:thumbsup:

1👍
borkdude 2020-03-23T11:05:16.023Z

@dainius.jocas Btw, if you want to develop babashka.curl you can load it with bb from the classpath with :reload, instead of the built-in one.