Skip to content
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

Pretty cool #2

Closed
mitar opened this issue Apr 15, 2020 · 5 comments
Closed

Pretty cool #2

mitar opened this issue Apr 15, 2020 · 5 comments

Comments

@mitar
Copy link

mitar commented Apr 15, 2020

This is really cool. It reminds me of https://github.com/mit-pdos/noria a bit.

@mitar
Copy link
Author

mitar commented Apr 15, 2020

@pubkey
Copy link
Owner

pubkey commented Apr 15, 2020

@mitar Thank you for posting this, I didn't know noria. Before creating event-reduce I checked for over two years if something similar already exists but could not find any reuseable implementation. So strange that I never stumpled over the hasura live queries docs.

I think the big difference between event-reduce and materialized views is the cost at write time and how it scales. If you have many users all observing different queries, you cannot create so many views because it would break your server on writes.

@mitar
Copy link
Author

mitar commented Apr 15, 2020

Yes, I am collecting a list of related projects here.

I think the big difference between event-reduce and materialized views is the cost at write time and how it scales. If you have many users all observing different queries, you cannot create so many views because it would break your server on writes.

I think this really depends how it is implemented. I think incremental materialized view maintenance is very similar to what you have in event reduce, no? See more information about that in current attempt to add that to PostgreSQL. But maybe I am misunderstanding it.

@pubkey
Copy link
Owner

pubkey commented Apr 15, 2020

Maybe I am misunderstanding it.
Nice list you have there, give me some time to suck up the information.

@pubkey
Copy link
Owner

pubkey commented Jul 22, 2020

Closing this, I have read all the other sources. I think all of these solve slightly different problems but let's see what the future brings.

@pubkey pubkey closed this as completed Jul 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants