clojure-sg

http://www.meetup.com/Singapore-Clojure-Meetup/
kharus 2015-06-10T01:10:41.000103Z

Morning all. Yesterday's meetup went wrong direction for me. I finished 3 exercises but didn't get much of feedback. Need to put more focus on feedback next time :simple_smile:

kharus 2015-06-10T01:12:01.000104Z

I didn't spot structure in Bob so I just brute-forced it :simple_smile: http://exercism.io/submissions/072d4cb6789f44a68627ec11f8b11646

kharus 2015-06-10T01:12:54.000105Z

Rna Transcription http://exercism.io/submissions/a2df77d02a6d48618e9008ed67fa9a38

kharus 2015-06-10T01:13:13.000106Z

Word Count http://exercism.io/submissions/e93db133d3c847bcab632ec998b36e60

kharus 2015-06-10T01:52:23.000107Z

@lucasbradstreet: Are there any plans to write comparison of Onyx against competition? something like Samza team did. https://samza.apache.org/learn/documentation/latest/comparisons/storm.html https://samza.apache.org/learn/documentation/latest/comparisons/spark-streaming.html

lucasbradstreet 2015-06-10T03:41:02.000108Z

We’ll definitely need something like that in the future

dilzio 2015-06-10T06:16:37.000109Z

@lucasbradstreet: congrats on onyx looks pretty cool. One question though.. how big are the onyx logs stored by zookeeper? By “log” do you have the same meaning as say a kafka log?

lucasbradstreet 2015-06-10T06:17:49.000110Z

They’re only used for cluster coordination, so they’re pretty small. Stuff like - peer joined cluster, peer left cluster, job submitted.

dilzio 2015-06-10T06:18:31.000111Z

ok cool so basic coordination stuff… that’s good, ZK doesn’t like big nodes :simple_smile:

lucasbradstreet 2015-06-10T06:18:41.000112Z

It's also GC'able

lucasbradstreet 2015-06-10T06:18:47.000113Z

Yup :)

dilzio 2015-06-10T06:19:14.000114Z

may want to revise this statement: "Rather, peers in Onyx coordinate via a shared, immutable, log that is written to ZooKeeper"

dilzio 2015-06-10T06:19:27.000115Z

makes it sound like a journal is being stored to ZK

dilzio 2015-06-10T06:20:35.000116Z

actually… i guess the journal is command messages

dilzio 2015-06-10T06:20:39.000117Z

not actual data

dilzio 2015-06-10T06:20:44.000118Z

is that correct?

lucasbradstreet 2015-06-10T06:21:00.000119Z

Which is true, it's just a small journal. Sounds like it could use some improvement still.

lucasbradstreet 2015-06-10T06:21:00.000120Z

Yep that's right.

lucasbradstreet 2015-06-10T06:21:22.000121Z

Data is communicated peer to peer

dilzio 2015-06-10T06:22:32.000122Z

gotcha :thumbsup:

lucasbradstreet 2015-06-10T06:24:35.000123Z

I'm off to sleep, but I'm happy to chat about it as much as you like another time.

dilzio 2015-06-10T06:25:04.000124Z

no probs… take care

2015-06-10T07:19:32.000125Z

TIL: you can define pre and post conditions for your clojure functions http://blog.fogus.me/2009/12/21/clojures-pre-and-post/