3 ms·
For a long time I toyed with the idea of implementing a tuple space as a pub/sub mechanism for system alerts. I tried to get Java Jini, specifically JavaSpaces
by macintux 4y ago
For a long time I toyed with the idea of implementing a tuple space as a pub/sub mechanism for system alerts.
I tried to get Java Jini, specifically JavaSpaces which was inspired by Linda, up and running a long time ago as a hobby project, but it seemed like it had been long-neglected even then and my limited knowledge of the JVM world left me stranded.
- pag 4y agoI implemented something like this! The Dr. Lojekyll [1] datalog system was built around the idea of inputs as receiving messages over time, and publishing outputs (also as messages) or responding to queries (using materialized views). It worked quite well, but it's differential nature ended up being the downfall for the usecase we had in mind. Specifically, it had no way to "extend" its consistency model out to consumers of its messages, and so if consumers were also producers, then this distributed system as a whole could enter into a state where parts of it are lying to itself! Otherwise, there were some really fun things you could do with it. For example, we could have per-client databases that would bring themselves up-to-date given the differential outputs of the server database. This would let you engage in a kind of manual sharding of data. [1] https://www.petergoodman.me/docs/dr-lojekyll.pdf https://www.petergoodman.me/docs/dr-lojekyll.pdf