Hacker News new | past | comments | ask | show | jobs | submit login

It is so interesting to see these problem solved again and again.

Very important bit to understand, that many smart people (including perhaps some in this HN discussion) don't know yet: the semantics of an event store are meaningfully different from the semantics of a pub/sub system. If you pick up a pub/sub system and start trying to build an event store based system architecture with a set of CQRS-ES-style followers, you will find you are reinventing a bunch of things quite painfully.

Here's what we did, a few years ago. In some ways it is similar to EventTide.

https://blog.oasisdigital.com/category/cqrs/

https://github.com/OasisDigital/nges

We picked up JGroups, a truly spectacular piece of open source technology, and used it to automatically wake up event stream listeners in a distributed way. (At the time there was some limitation of the NOTIFY mechanism in PG that sent us this direction.). With very little code around automated wake-up, we achieved low latency (and therefore fast automated testing) of an arbitrary group of event stream followers.




JGroups seems superficially related to lots of the cassandra functions, especially gossip.

Is it masterless, or does it handwave a lot of distribution problems like most java distributed projects by just using Zookeeper?




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: