Fork me on GitHub
#datomic
<
2019-01-31
>
danieroux14:01:05

Is this an acceptable thing to do in an ion? (async/thread-call process-forever!)

marshall15:01:28

@danie I would avoid doing async work in ions

danieroux15:01:41

I have an AWS instance doing this for me right now. Would love to kill that instance and just use the Datomic Cloud infrastructure going forward. What would you suggest?

marshall15:01:53

is your processing triggered by something external? i.e. something you can hook up to an SNS queue?

danieroux07:02:15

The long running process is a Kafka consumer, consuming a few thousand messages a second. I'm not sure it fits in with an external trigger?

Jonathan17:01:46

Hi, has anyone tried reading datomic data into a spark RDD? I saw the Nubank video/slides and I wonder if that’s still the state of the art.

1zaak17:01:07

Hi @stuarthalloway, when can we expect Datomic Cloud will be available in ap-southeast-1?

stuarthalloway17:01:40

@1zaak in the next release

1zaak17:01:36

cool thanks!

joshkh18:01:53

how y'all deal with (possibly) nil query parameters? for example, a broken query to collect all public catalogue items and those catalogue items for which a user has particular access

(d/q '{:find  [(pull ?catalogue-item [*])]
       :in    [$ ?person-id]
       :where [
               [?catalogue-item :view/visibility :public]
               (or-join [?catalogue-item ?person-id]
                        [?person-id :access/owns ?catalogue-item])
               ]}
     db
     ; could be nil:
     <some-person-id>
     ) 

grzm18:01:24

What strategies are people using to effectively SIGHUP all nodes in a query group, say, to restart/reload with a new configuration (but no code change)?

marshall18:01:08

@grzm you should be able to do an ion deploy to force process restart

marshall18:01:19

do you need to down the instances or just the processses?

grzm18:01:49

Just the processes.

marshall18:01:59

yeah, i’d just redeploy your ion

marshall18:01:16

that will restart instances in a rolling fashion

mynomoto22:01:08

@stuarthalloway What about when Datomic cloud will be available in sa-east-1?