News for hackers. Stuff that matters.

XPherior

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).
Re:Ask HN: Who's using Clojure, and to do what? on Wednesday May 10, 2017 @12:51PM (#14309642)
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/

Re:Onyx 0.8.0: Automatic State Management on Thursday November 12, 2015 @02:03PM (#10555344)
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.
Re:Onyx: fault tolerant data processing for Clojure on Friday March 06, 2015 @01:36PM (#9158640)
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.

Re:Onyx: fault tolerant data processing for Clojure on Friday March 06, 2015 @01:00PM (#9158427)
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.

Re:Onyx: fault tolerant data processing for Clojure on Friday March 06, 2015 @12:56PM (#9158404)
- 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.

Re:Onyx: fault tolerant data processing for Clojure on Friday March 06, 2015 @11:23AM (#9157809)
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.

Re:Onyx: fault tolerant data processing for Clojure on Friday March 06, 2015 @11:02AM (#9157692)
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.

Re:Onyx: fault tolerant data processing for Clojure on Friday March 06, 2015 @10:16AM (#9157368)
Hi folks! I'm Michael Drogalis - the primary author. I'm happy to answer any questions.
Re:Onyx: fault tolerant data processing for Clojure on Friday March 06, 2015 @10:15AM (#9157360)
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.

Re:Internal Design of Onyx on Thursday October 09, 2014 @04:07PM (#8434742)
Thank you. :)
Re:Internal Design of Onyx on Thursday October 09, 2014 @02:15PM (#8434139)
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.
Re:Internal Design of Onyx on Thursday October 09, 2014 @01:47PM (#8433954)
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.

Older ยป