Fork me on GitHub
#datomic
<
2018-06-30
>
steveb8n00:06:15

I have a question about cold-starts in Ions. I’m running the sample Ions on solo and the cold start is 15-20secs after a deploy. I’m wondering if this is the lambda or the cloud node or both? I could see that (in future) the lambdas could be moved to cljs but not the cloud nodes so this knowledge will affect some architecture decisions i.e. designing in tolerance for cloud node cold-starts

Oliver George06:06:54

I think I saw a reference which indicated that "integration with ElasticCloud" was a possible future addition to Datomic Cloud but I can't find it for the life of me. Am I making that up? My guess is that it would facilitate more diverse search indexing (already used for full-text search).

stuarthalloway11:06:43

We are considering this, and it is also pretty easy to roll it yourself.

stuarthalloway11:06:37

@steveb8n that is probably the Lambda. Cloud nodes will never be cold once you move to production topology.

👍 4
jlmr12:06:15

Hi, I'm trying to understand t a little better. Suppose you do a transaction: db-before, db-after and the transaction itself all have values for t. How do these values relate to eachother?

stuarthalloway12:06:03

hi @jlmr Time moves forwards: db-after's t = tx t > db-before's t

jlmr12:06:15

and good to know that tx t is always the same to db-after t

beders15:06:38

Root exception is this:

Error building classpath. Failed to read artifact descriptor for com.datomic:ion:jar:0.9.7
org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for com.datomic:ion:jar:0.9.7

beders15:06:48

and running clj will also give me the same exception

beders17:06:57

ok, found the issue with the Ions Tutorial. For AWS beginners, it would be great to enhance this bit:

This tutorial presumes AWS Administrator permissions
since coming out of the Setting Up/User Access/Getting Started you will not have a user with that policy added. May I suggest adding:
Make sure the user you set up in User Access also receives the AdministratorAccess policy so the mvn dependencies can be downloaded. 
And link to https://console.aws.amazon.com/iam/home#/policies/arn:aws:iam::aws:policy/AdministratorAccess?section=attached_entities

beders17:06:08

It's easy to get this confused since earlier in the User Access tutorial for Datomic Cloud I had added an Administrator Policy.