Settings

Theme

Show HN: EventReduce – Algorithm to optimise db queries that run multiple times

github.com

5 points by eventreduce1 5 years ago · 1 comment

Reader

eventreduce1OP 5 years ago

Hi, Daniel here. About a year ago, I made this algorithm called EventReduce. It is able to optimize database queries that run multiple times (aka Realtime-Queries or Live-Queries). Before making EventReduce, I scouted over about 2 years if something like this already exists but couldnt find something similar other then MongoDBs OPLOG_DRIVER. After finishing EventReduce last year I added it to my little side project database, RxDB[1] where it is sucessfully in use over the last year. Also I already made a hackernews post [2] with mixed comments about how this can work and when this is usefull. So now I am here again with the goal to get some feedback of people who try out EventReduce on top of their database.

[1] https://github.com/pubkey/rxdb

[2] https://news.ycombinator.com/item?id=22888239

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection