resgateio / resgate

A Realtime API Gateway used with NATS to build REST, real time, and RPC APIs, where all your clients are synchronized seamlessly.
https://resgate.io
MIT License
689 stars 67 forks source link

different project but the same vision #55

Closed hbakhtiyor closed 5 years ago

hbakhtiyor commented 5 years ago

the same protocol maybe interested for you https://github.com/dunglas/mercure

jirenius commented 5 years ago

@hbakhtiyor Thanks for the link! Haven't heard about it before, but I'll surely have a look at it.

ghost commented 5 years ago

I can comment a bit on it as i have used it.

its nice in that it uses SSE ( as opposed to Websockets). This allows the full HTTP2 and (HTTP3) network optimisations to be used for free. Also you get a unified security model because its all HTTP for queries and updates. SSE is designed for Server to Client messaging

Also i raised an issue to add Websub, which is an open standard for Server to Server push.

All of this makes it easy to build a system where third parties can interoperate using standards. Say they write in Java, then by using WebSub they will be able to interoperate easily.

Also for Clients, say they use Flutter then SEE can be used. For example: https://pub.dev/packages/sse

In terms of the Server side Subscription management aspect i cant really offer any advice here as i have not looked at it deeply. Its definitely not as fully worked out as Resgate. For example it does not offer any client side JS lib etc as far as i know. But i suspect that the client is simpler.

jirenius commented 5 years ago

Closing due to inactivity