Noria: dynamic, partially-stateful data-flow for high-performance web apps
usenix.org
usenix.org
The database engine should be able to build the necessary cache of intermediate state from the queries used by the application; and this shows that that is in fact possible.