ocsigen / ocamlweb-roadmap

Roadmap for better Web and mobile developement tools in OCaml
1 stars 0 forks source link

Eliom: Improve server to client communication #1

Open balat opened 8 months ago

balat commented 8 months ago
### Tasks
- [ ] Reimplement comet
- [ ] Websockets
xvw commented 8 months ago

As COMET has become less and less popular over the years in favour of Server Side Events (for server-to-client communication) and WebScocket (for broadcast communication), is supporting COMET still viable? For legacy reasons?

balat commented 7 months ago

If I'm right, what we call comet is actually long polling, (which is very close to SSE, or exactly the same according to some definitions). Websockets do not work behind a firewall as it is not HTTP. That's why we cannot rely only on websockets.