GithubHelp home page GithubHelp logo

Comments (9)

mitar avatar mitar commented on May 20, 2024 1

Also related is InvaliDB.

from node-reactive-postgres.

Venryx avatar Venryx commented on May 20, 2024 1

I've read (parts of some of) the papers on the InvaliDB solution (eg. http://www.vldb.org/pvldb/vol13/p3032-wingerath.pdf), and so far it's the most complete solution I've seen for the problem so far.

Unfortunately, it is closed-source, so is not directly usable outside of the Baqend service; that said, the papers go into a good amount of detail on the design of the system, so it's still a helpful resource for those attempting to build an equivalent open-source solution.

from node-reactive-postgres.

mitar avatar mitar commented on May 20, 2024

Attaching the paper describing above code.

QuocVinh2016_Article_SynchronousIncrementalUpdateOf.pdf

Also see:

from node-reactive-postgres.

ntqvinh avatar ntqvinh commented on May 20, 2024

Dear all,

Unfortunately i don't understand node.js. Anyway i think a MS-notification-service-like service for PostgreSQL will be very useful. If there is similar service, you can implement ASYNchronous programming to dramatically improve the performance of the system. We have naive thing like that for C# here: http://it.ued.udn.vn/chuyen-giao-cong-nghe/498-2015-08-03-17-51-21 (http://it.ued.udn.vn/myprojects/pgNotiServ/postgresql-notification-2014.rar).

from node-reactive-postgres.

mitar avatar mitar commented on May 20, 2024

Interesting. It really looks like we have similar interests. :-) Yes, node.js is chosen because it is great at asynchronous programming. So I would love to implement something like this in node.

from node-reactive-postgres.

mitar avatar mitar commented on May 20, 2024

An interesting read is how they do this in Hasura. Some notes:

  • They also see this similar to materialized view maintenance.
  • They currently re-run queries and do not do do incremental updates (same as this package currently).
  • They do not use triggers (like this package can do) but use regular refresh interval.
  • They do some additional things to batch queries together. Like merge same query with different parameters (like user ID) together. This package does not do any such optimizations.

So a takeaway could be that if you optimize query ru-running enough, maybe incremental updates are not really necessary?

from node-reactive-postgres.

mitar avatar mitar commented on May 20, 2024

Some other related projects:

from node-reactive-postgres.

mitar avatar mitar commented on May 20, 2024

Noria is a caching layer where the main design is in fact incremental and efficient updating of materialized views. Very similar to what this issue is about.

from node-reactive-postgres.

mitar avatar mitar commented on May 20, 2024

event-reduce optimizes repeating queries.

from node-reactive-postgres.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.