onyx

FYI: alternative Onyx :onyx: chat is at <https://gitter.im/onyx-platform/onyx> ; log can be found at <https://clojurians-log.clojureverse.org/onyx/index.html>
kenji_signifier 2018-02-12T00:42:44.000026Z

@michaeldrogalis I could see your comments and have replied to them. Let me know if I need to take further action.

kenji_signifier 2018-02-12T00:44:34.000100Z

And as I commented in the PR, I’d like to have CircleCI tests running against Datomic Cloud…

michaeldrogalis 2018-02-12T00:46:19.000094Z

Cool, Ill finish the review tomorrow. Thanks so much, this is a wonderful contribution @kenji_signifier!

kenji_signifier 2018-02-12T00:47:06.000013Z

thx, it was a good opportunity for me to learn the differences between peer and client api.

michaeldrogalis 2018-02-12T15:44:42.000717Z

@kenji_signifier Thanks for addressing my comments. Can anyone else take a pass over this PR? Would just like a second pair of eyes on it

sreekanth 2018-02-12T21:45:10.000433Z

With CMDR pattern. Should we use one job and process every command at process-commands task or Submit multiple jobs, each job for different set of commands. 1st case, we end up writing commands implementation in a single job, it becomes painful to deploy and manage commands. 2nd case, As most of the jobs consume from single kafka commands topic, each task of job receives the segments from kafka commands topic, of which one only runs command implementation. Any suggestions?

michaeldrogalis 2018-02-12T21:49:39.000098Z

@sreekanth Where's the real pain behind case (1)? If you're going to process commands in order because they're casually effected, you'll need the same process (e.g. one task in one job) to read them sequentially.

sreekanth 2018-02-12T22:06:43.000624Z

@michaeldrogalis If we have to add few commands and remove commands, we need to stop entire job( all running commands) and to re-run, set offset to last read offset value. trying to avoid this issue.

michaeldrogalis 2018-02-12T22:17:50.000284Z

@sreekanth How sensitive are you to restart latency?

michaeldrogalis 2018-02-12T22:18:14.000391Z

There are some more sophisticated means of deployment via nrepl if its very sensitive

sreekanth 2018-02-12T22:26:13.000011Z

@michaeldrogalis It won’t be a big problem in our case, was looking at other possibilities.

michaeldrogalis 2018-02-12T22:27:34.000189Z

@sreekanth One thing you can do is open an nrepl socket to upload new code for commands. Its obviously a little more tricky, but has the advantage of dynamically loading code without taking the process down

sreekanth 2018-02-12T22:31:05.000580Z

@michaeldrogalis Sure, this clears.

michaeldrogalis 2018-02-12T22:32:15.000232Z

Great. Let me know if I can answer anything else @sreekanth 🙂

sreekanth 2018-02-12T22:34:14.000412Z

Thanks @michaeldrogalis, that’s it for now :)