3 ms·
Thanks. I read the entire "Documentation" page and still didn't feel confident that I understood what this really was. "Event sourcing" to me implies that it's
by ams6110 10y ago
Thanks. I read the entire "Documentation" page and still didn't feel confident that I understood what this really was. "Event sourcing" to me implies that it's generating events.
- ziikutv 10y agoWell, its a fancy word. Thats basically what I took away from it. Also, I agree, read the whole doc and took way longer to understand what it does. Clearly, they are smart, but bad copywriters :) Please write better docs.
- yrashk 10y agoDoing our best, one step at a time! It's clear to me that we haven't spent enough time on documentation yet. The whole project is only 3 weeks old and our initial focus was to get a working version out with some level of documentation (a goal that we somewhat attained, I believe)
- ziikutv 10y agoFair enough. I'm gonna be done this shitty program and have a piece of papers with some fancy seal on it in a couple of months. I'd be happy to contribute. Bookmarked until then.
- yrashk 10y agoAlso, if this topic is interesting to anybody who's good at writing, we are very open to contributions of all kinds!
- yrashk 10y agoWe are definitely looking to improve the documentation. This is 0.1, after all. This project was started as a backend for a lazy event sourcing approach (https://blog.eventsourcing.com/lazy-event-sourcing-ed7e59007e17 https://blog.eventsourcing.com/lazy-event-sourcing-ed7e59007... , https://m.youtube.com/watch?v=aqv8d1pjmU8 https://m.youtube.com/watch?v=aqv8d1pjmU8) and beyond. The idea behind it is that it provides primitives for building systems that are designed around immutable events, journals, indexing, etc. Hence the current positioning. We thought it would be useful to be targeting fairly narrowly early on. Either way, we will definitely need to expand on that in our materials
- elcritch 10y agoAmazing looking project! I've been daydreaming about using LMDB's memory mapping to provide a flexible low level db primitive for quite a while, figuring a combo of erlang like actors and flexible data scripting would be killer. Needless to say I love the design. Any thoughts on whether this could be used to implement a Q/kdb+ like computation system? Seems like PumpkinScript could be extended with a library of computational array primitives. (https://news.ycombinator.com/item?id=13481824 https://news.ycombinator.com/item?id=13481824) That being said, it'd be great to be able to read how the "actor" system is implemented. The documentation alludes to actors and pub/sub channels. Not sure I can help much at this time, but will keep an eye on it to see!
- makmanalp 10y agoEvent Sourcing is a technical term, it's the idea that instead of mutating your database, you should instead have a log and insert a new log entry saying that you changed this value to that, etc. The idea is that this helps you do cool stuff like temporal queries (i.e. make a query "as the entire database looked like a month ago") or look at historical values and changes of things. This matters a lot in some fields. Of course then there's the matter of how to do this efficiently. You can build event sourcing on top of a regular RDBMS but if there is database-level support (as in PumpkinDB), then maybe some things are more efficient. Read more: https://martinfowler.com/eaaDev/EventSourcing.html https://martinfowler.com/eaaDev/EventSourcing.html
- mattdeboard 10y agoThis sounds like my (probably wrong/incomplete) understanding of Datomic?
- grzm 10y agoI believe you could use Datomic for event sourcing, though it wasn't explicitly designed for the job and may not be the best choice depending on the requirements of your system as a whole. Bobby Calderwood at Capital One has a talk on a system which includes both event sourcing (using Kafka, IIRC) and Datomic: https://speakerdeck.com/bobbycalderwood/commander-better-distributed-applications-through-cqrs-event-sourcing-and-immutable-logs https://speakerdeck.com/bobbycalderwood/commander-better-dis...
- mattdeboard 10y agoNice, thank you.
- gritzko 10y agoVirtually every db works like that under the hood. They expose it differently, though. Kafka has nothing but log, for example.
- 10y ago