Fork me on GitHub
#onyx
<
2018-02-12
>
kenji_signifier00:02:44

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

kenji_signifier00:02:34

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

michaeldrogalis00:02:19

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

kenji_signifier00:02:06

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

michaeldrogalis15:02:42

@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

sreekanth21:02:10

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?

michaeldrogalis21:02:39

@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.

sreekanth22:02:43

@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.

michaeldrogalis22:02:50

@sreekanth How sensitive are you to restart latency?

michaeldrogalis22:02:14

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

sreekanth22:02:13

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

michaeldrogalis22:02:34

@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

michaeldrogalis22:02:15

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

sreekanth22:02:14

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