Friday 26 July 2019

[ASK] How to do REST version of GraphQL subscription?

I just finished GraphQL tutorial. Now I want to build something like GraphQL subscription in REST. But I don't even know where to start. As far as I've searched, it has something to do with Kafka and Rabbitmq, also don't know which one to use. One SO answer suggests 'HTTP long pulling'.All I want to do is, real-time notification when the data is updated or inserted. Is this called Pub/Sub or message queue?Please donate me some educational links and resources.P.S. I use Knex.js and PostgreSQL if this necessary.

Submitted July 26, 2019 at 05:01PM by xzenuu

No comments:

Post a Comment