-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thoughts about Prejournal architecture #173
Comments
One product that would be useful is a gateway that doesn't store anything. We could use it at Ponder Source to connect our books. We would still need something else to actually persist our books, but that can be just a CLOGS repo or a super simple web app around a database schema. |
We could also use multiple tracking and bookkeeping tools at the same time, all linked through the gateway. |
And the gateway wouldn't do CLOGS because it's not storing anything. |
The network as a whole would take on the role of generic persistence with CLOGS and event sourcing |
We decided to split out https://github.com/pondersource/CYB from Prejournal to become the gateway, I'm thinking of using TigerBeetle for this, see also: |
Even though Prejournal is still very young, we use it as an R&D project so it has cycled through a few designs already.
Prejournal started as a collection of commands that can:
We soon added:
With these additions, Prejournal can be run as a server instead of as a script.
The way we use Prejournal for our own bookkeeping at Ponder Source, we still basically run it as a script from source documents.
This sometimes clashes with the expectations of others who use https://time.pondersource.com as a server with an API.
For instance, each time we our source documents change, we regenerate the database contents from scratch, and this means items that were added from other sources may be lost, or items may be renumbered.
A third way to use Prejournal would be as an event-sourced hosted application, so that all edits get logged, and that log then becomes our source document store.
It's probably best if we refactor Prejournal to that architecture, but I'm still trying to think the consequences of that through properly, and working out what the best timing for that would be.
The text was updated successfully, but these errors were encountered: