portkey 2017-09-25

I did a demo at a local dev meetup, using specql to query an RDS database from lambda

a very crude example of using a jdbc connection pool found here too: https://github.com/viesti/poll/blob/master/src/poll/core.clj

you can pass Lambda environment variables with :environment-variables key also: https://github.com/viesti/poll/blob/master/dev/dev.clj#L8-L10

@cgrand, @tatut, @viesti: thanks for all the links, this kills all my excuses for not switching from beanstalk to lambda+portkey

@qqq it's still pretty alpha material.

use of it is still welcome, just to say that on the bleeding edge there will be cuts :)

😱 1

knowing that I've had some, but still have enjoyed the trip, as the readme says, can give nausea :)

was looking at ring handler support, figured out yesterday that to support mount to / (root), a {proxy+} path (path with pattern variable named "proxy") isn't enough, need to have a ANY method as well on /, so two routes

one can still have other routes in api gateway, the most specific for a method wins

Once ring support lands, isn't mount a gimmick?

I'm looking for sample code to read/write data from AuroraDB with Lambda. Is there anything besides https://github.com/portkey-cloud/portkey/blob/master/test/portkey/core_test.clj#L163-L192 ?