Fork me on GitHub
#aws
<
2016-01-19
>
curtosis01:01:06

not sure if this is an #C09N0H1RB or #C03RZMDSH question ... I have an EC2 app that needs to start up a datomic instance and peer. Is it better to build an image (probably a docker container) with everything in it, or bundle just my code+peer and use the public datomic AMI?

curtosis01:01:24

(presumably bundling them together in an eb environment)

ricardo06:01:27

@cfleming: I settled on batches of 10 after some tests. It was pretty stable, usually with < 200ms differences, but that might vary for non-glue code. I got the billed duration from the logs.

cfleming08:01:41

@ricardo: Ok, I have some results, I’ll post them here a bit later on.

cfleming08:01:02

Spoiler: Lambda is (strangely) almost useless as an API gateway backend.

cfleming08:01:07

(if you want to use other AWS services, that is)

ricardo13:01:53

@cfleming: I take it you’ve continued getting >10s time responses.