5 ms·
An app usually sit between the database and the user, isolating them from each other. This demo does not isolate the database, it is just a proof of concept.
by atnnn 12y ago
An app usually sit between the database and the user, isolating them from each other. This demo does not isolate the database, it is just a proof of concept.
- StavrosK 12y agoSorry, I was asking about the way the changefeed feature is meant to be used, not about this demo specifically.
- atnnn 12y agoChangefeeds are meant to be used by an app that isolates the user from the database.
- StavrosK 12y agoThank you.
- habitue 12y agoChangefeeds are for getting updates to the results of queries on the database. So for example, getting the top 5 users ordered by their score. The app leaves a connection open to the database, and the database pushes changes to the query results whenever they happen. The app can then also have a persistent websocket connection or whatever to the client, so you're able to get push architecture all the way from the data source to the client.