aws-lambda

olslash 2017-01-12T07:11:17.000012Z

I wrote a little blog post the other day about my (noobish) experiences getting a basic uberjar running on lambda: https://olslash.github.io/blog/Running-Clojure-code-on-AWS-Lambda/

👍 3
olslash 2017-01-12T07:11:27.000014Z

maybe helpful to someone, and suggestions welcome

mj_langford 2017-01-12T18:18:24.000021Z

@olslash you can keep your program in the hot cache by continually pinging it via a cron handler. Not that expensive to do.

mj_langford 2017-01-12T18:19:00.000022Z

I'm going to try to do some exclusions now that you mention it. That's a good idea to pare down some of the hefty libs

olslash 2017-01-12T23:09:25.000025Z

yeah @mj_langford I found out about the exclusions thing from an issue in amazonica github

olslash 2017-01-12T23:09:30.000026Z

otherwise the jar was giant

olslash 2017-01-12T23:09:39.000027Z

the pinging idea is a good one

olslash 2017-01-12T23:12:43.000028Z

i think my biggest win from the process is the bash script/config that automatically uploads the jar with different handlers