How to send updated and new nodes to a viewer application on database update


#1

Hey, I’m building a system that uses serverless to execute commands, the commands dump out data which is then imported in to dgraph. How would I set Dgraph so that it automatically updates a viewer application on update of the graph with updated and new related nodes?


(Michel Conrado) #2

which application?

You can build a websocket or some sort of messaging queue to your application.


#3

I’m building an application. I’ve considered using AMQP for this, however I’m more curious if there’s a means to fire an event from dgraph itself over WS or something similar to say "hey, this and it’s attached nodes were updated, here’s the update. Something similar to GraphQL subscriptions.


(Michel Conrado) #4

No, we don’t have anything like this yet