Better HN
topnewbestaskshowjobs
Log inSign up

XPherior

160 karma · joined Jan 13, 2012 (14y ago) · 30 submissions

Submissions

1.

What keeps Apache Kafka from eating the world?(medium.com ↗)

2 points · by XPherior · 8y ago · 3 comments

2.

Streamlining event data infrastructure(pyroclast.io ↗)

1 points · by XPherior · 9y ago · discuss

3.

A low-tech primer on event data for your boss(pyroclast.io ↗)

3 points · by XPherior · 9y ago · discuss

4.

Complex event processing in Clojure and ClojureScript(pyroclast.io ↗)

3 points · by XPherior · 9y ago · discuss

comment 9y ago · link · parent

One of the authors here. The neat thing about this set up is that these streaming examples are executing against a real stream processor in the browser. The interactive examples were built using [Onyx](https://github.com/onyx-platform/onyx) and it's cross-compiled JavaScript sibling, [onyx-local-rt](https://github.com/onyx-platform/onyx-local-rt).

6.

Turn plain Clojure code into streaming microservices(pyroclast.io ↗)

1 points · by XPherior · 9y ago · discuss

7.

Rapidly connecting realtime event streaming to programming languages(pyroclast.io ↗)

3 points · by XPherior · 9y ago · discuss

8.

Challenges of Record Replay in Event Streaming Architectures(pyroclast.io ↗)

6 points · by XPherior · 9y ago · discuss

9.

The Future of Event Stream Processing(pyroclast.io ↗)

13 points · by XPherior · 9y ago · discuss

comment 9y ago · link · parent

Distributed Masonry uses Clojure to build Onyx [1], an open source distributed batch and streaming platform. We also build a realtime application platform named Pyroclast [2] directly on top of Onyx. Our code base is written entirely in Clojure. The architecture we've ended up with is hands down the cleanest I've ever worked on.

[1] http://www.onyxplatform.org [2] http://pyroclast.io/

11.

Simulate Big Data Computations in the Browser(onyxplatform.org ↗)

8 points · by XPherior · 9y ago · discuss

12.

Onyx: High Performance Cluster Computation for Clojure(onyxplatform.org ↗)

6 points · by XPherior · 10y ago · discuss

13.

Onyx: High Performance, Distributed Batch and Stream Processing(onyxplatform.org ↗)

7 points · by XPherior · 10y ago · discuss

14.

Onyx: Flexible Stream Processing for the JVM(onyxplatform.org ↗)

4 points · by XPherior · 10y ago · discuss

15.

Clojure Conj 2015: Onyx – Distributed Computing in Clojure(youtube.com ↗)

2 points · by XPherior · 11y ago · discuss

comment 11y ago · link · parent

We persist the IDs to disk with RocksDB itself when that happens, periodically pruning them away when the messages are complete. The Bloom filter is mostly an optimization - even though it does the job most of the time. You're right - we intentionally omitted further discussion of that piece.

17.

Onyx 0.7.0: High Performance Cluster Computing in Clojure(michaeldrogalis.github.io ↗)

21 points · by XPherior · 11y ago · discuss

18.

Onyx 0.6.0: Going Faster(michaeldrogalis.github.io ↗)

142 points · by XPherior · 11y ago · 13 comments

comment 11y ago · link · parent

Performance - wait until the 0.6.0 release. We'll be caught up with Storm by then.

The tree model is being removed in 0.6.0 in favor of a vector of vectors (DAG), which allows multiple inputs. See https://github.com/MichaelDrogalis/onyx/blob/0.5.x/doc/user-... The tree model wasn't one of my better ideas.

Edit: to be clear, you can do stream joins right now in 0.5.3 with the DAG model.

comment 11y ago · link · parent

I wasn't aware that they're Thrift serializable - that's cool, and offers roughly what Onyx does in terms of its workflow representation.

Onyx goes a little further though in terms of its catalog. I wanted more of the computation to be pulled out into a data structure. That includes runtime parameters, flow, performance tuning knobs, and grouping functions. All of these things are represented as data in Onyx. It's a little harder, at least in my experience, to do these things in Storm.

comment 11y ago · link · parent

- Picking up Kafka means introducing another dependency.

- Onyx's log doesn't grow particularly large because it's only used for coordination, not for messaging.

- Because the log isn't huge, and can be GC'ed, consumers don't experience high volumes of messages.

- ZooKeeper offers sequential node creation - making it a really good fit for what the log needs to do.

comment 11y ago · link · parent

I'll paraphrase a few snippets from my own documentation to answer these questions. Happy to comment more if needed.

Information models are often superior to APIs, and almost always better than DSLs. The hyper-flexibility of a data structure literal allows Onyx workflows and catalogs to be constructed at a distance, meaning on another machine, in a different language, by another program, etc. Contrast this to Storm. Topologies are written with functions, macros, and objects. These things are specific to a programming language, and make it hard to work at a distance - specifically in the browser. JavaScript is the ultimate place to be when creating specifications.

Further, the information model for an Onyx workflow has the distinct advantage that it's possible to compile other workflows (perhaps a datalog) into the workflow that Onyx understands.

See https://github.com/MichaelDrogalis/onyx/blob/0.5.x/doc/user-... for a continued explanation of why Onyx is more of an "open" concept.

comment 11y ago · link · parent

See: https://github.com/MichaelDrogalis/onyx/blob/0.5.x/doc/user-...

These are all the things I wrote down that I wanted before I wrote the first line of code.

comment 11y ago · link · parent

Hi folks! I'm Michael Drogalis - the primary author. I'm happy to answer any questions.

comment 11y ago · link · parent

Hello, Michael Drogalis - the author here.

I'm also not a Spark user, but I have used Storm:

- Storm is significantly more mature and performant the moment.

- Storm has a better cross-language story in terms of bolt functions.

- Pretty much everything in Onyx is much more open ended. This applies to deployment, program structure, and workflow creation - and is mostly an artifact of how aggressively Onyx uses data structures.

- Onyx has a far better reach across languages in terms of its information model.

- Onyx will be adopting a tweaked version of Storm's message model next release to get on the same level of performance and reliability. We're dropping the HornetQ dependency.

- Onyx is born out of years of frustration of direct usage of Storm and Hadoop.

26.

Onyx 0.5.0: The Cluster as a Value(michaeldrogalis.github.io ↗)

11 points · by XPherior · 11y ago · discuss

27.

Onyx 0.4.0: DAG workflows, catalog grouping, lib-onyx(michaeldrogalis.tumblr.com ↗)

2 points · by XPherior · 12y ago · discuss

comment 12y ago · link · parent

Thank you. :)

comment 12y ago · link · parent

I'm not sure if exactly-once messaging is possible in a distributed system. Onyx gets close in that it uses transactions to move data across queues atomically. But code can fail just before a transaction is committed. The transaction will only be committed once, but the code leading up to the transaction will be run twice. Is that really exactly-once? IMO, it's not.

comment 12y ago · link · parent

Hello! Michael Drogalis, the developer, here.

I talked a little bit about why I wrote Onyx on the Clojure mailing list: https://groups.google.com/d/msg/clojure/OmHzAEfYe9U/33e0a0l3...

It's mostly driven by the need to use data structures in places where I didn't have them - I only had things like macros and functional composition.