Fork me on GitHub
#datomic
<
2018-10-07
>
grounded_sage00:10:57

I’ve got an app which I would like to prototype with Datomic Cloud Ions. Though it is a chat not so I’m curious what the cold start/latency story is like. I’m having trouble finding information regarding this. Datomic Ions may not be suitable which is fine but if it is ok then I would prefer to use it.

dominicm21:10:27

The startup time is good. Clojure isn't run on the lambda, it runs in the auto scaling group, the lambda is a lightweight rpc proxy.

grounded_sage15:10:05

Could you explain what the rpc proxy is, like the work it is doing? I’m still learning all of this.

grounded_sage15:10:55

@U09LZR36F btw thanks for responding. Was thinking there is little activity in here and would go without a response

dominicm15:10:21

I shouldn't have said rpc. I made that bit up, I meant to say "it acts as an rpc". Basically you can think of it as doing a HTTP request to your auto-scaling group, forwarding on the data that went to the lambda to your asg.

dominicm15:10:31

I'm approximating a little bit here 🙂

Joe Lane03:10:27

chat not or chat bot?

Joe Lane19:10:56

It’s not a big deal. Once a conversation starts the lambda is warm, use one lambda for all bot calls and it will always be warm.