Freeplane server: How to publish changes to clients

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Freeplane server: How to publish changes to clients

Volker Börchers
Hi,

Dimitry told me what his ideas are on how we could publish changes to clients and I promised to do a little write-up of additional ways I know.

Preface: we should stick to firewall-friendly HTTP solutions.

Regards
Volker

Reply | Threaded
Open this post in threaded view
|

Re: Freeplane server: How to publish changes to clients

Felix Natter
hello Volker,

many thanks for the information. Guessing from the HTTP/2 article, HTTP/2 push requires a
(immediately preceding?) request from the client.

So I wonder if we can use HTTP/2 push if the server wants to push an update to the
client without the client having recently sent an update to the server?

"It is important to note that HTTP/2 push is not intended to replace server-sent events or WebSockets,
which were introduced with HTML5"
I think we should read up on WebSockets, which seems adequate to me (though polling _might_ be
more firewall friendly, I don't know).

Cheers and Best Regards,
Felix
Reply | Threaded
Open this post in threaded view
|

Re: Freeplane server: How to publish changes to clients

Dimitry Polivaev
Administrator
> many thanks for the information. Guessing from the HTTP/2 article, HTTP/2 push requires a
> (immediately preceding?) request from the client.

+1 !!!

> "It is important to note that HTTP/2 push is not intended to replace server-sent events or WebSockets,
> which were introduced with HTML5"
> I think we should read up on WebSockets, which seems adequate to me (though polling _might_ be
> more firewall friendly, I don't know).

I think we can  also consider server-sent events

https://jersey.github.io/documentation/latest/sse.html 

https://stackoverflow.com/questions/40157946/what-is-the-difference-between-websocket-server-sent-events-sse-and-http2s-se

http://streamdata.io/blog/push-sse-vs-websockets/

https://www.google.de/search?num=100&q=server+sent+events+vs+websocket


Best regards
Dimitry