Fork me on GitHub
#aws-lambda
<
2017-02-23
>
garethdavies19:02:23

I used this boot project (https://github.com/OffCourse/cljs-lambda) last week as a base to create a cljs lambda which talks to a Postgres RDS instance using sqlingvo.node (wrapper around node pg). Worked first time and start up time is much better than my pure clojure implementation of the same project. I'm using api gateway as a proxy to the lambda and deploying everything using the new cloudformation serverless application mode (SAM) which makes deployment very simple. I also wrote the same lambda using cljs-lambda from nervous systems but ran into difficulties initially with the advanced compilation. I managed to get it working by adding simple optimisation support which has now also been added by the maintainers on a feature branch.