docs: Recherche Hostsharing — eigenes Etherpad ist machbar, aber ohne Websockets
Frage: Lässt sich Etherpad in einem Managed Webspace auf einem eigenen Managed Server betreiben? Recherchiert, mit einem Befund, der die Sache anders kippt als erwartet. Machbar, ja: - Hostsharing erlaubt ausdrücklich eigene Serverdienste (Daemons) im Managed Webspace gegen ein RAM-Kontingent, und Installationen im Userland — Programmiersprachen, Webserver, Datenbanken. - Node.js wird ausdrücklich unterstützt. Der Haken sitzt beim Transport: Der dokumentierte Node-Weg läuft über Apache mit mod_passenger, und Passenger unterstützt Websockets auf Apache NICHT (nur Nginx und Passenger Standalone, sagt Phusion selbst). Socket.io fällt dann auf Long Polling zurück. Root gibt es auf einem Managed Server nicht; ob die Apache-Vhost-Konfiguration ein Upgrade zu einem eigenen Port durchreicht, ist die offene Frage — deshalb steht der Knoten auf [!]. Entscheidend ist aber, dass unsere Anforderung davon gar nicht abhängt: Die 2 Sekunden brauchen keine Websockets, sondern die Hoheit über die Konfiguration — Export-Rate-Limit oder ein postMessage-Plugin. Beides ist auf einer eigenen Instanz reine Einstellungssache, unabhängig vom Transport. Ein Etherpad, das intern nur pollt, liefert uns trotzdem alles, was wir wollten. Geprüft: 121 Knoten, keine Warnungen.
This commit is contained in:
@@ -74,8 +74,11 @@
|
|||||||
- [^] A shared pointer: !!! focuses a node for everyone (XS)
|
- [^] A shared pointer: !!! focuses a node for everyone (XS)
|
||||||
- [?] Update by itself, within about 2 s (M)
|
- [?] Update by itself, within about 2 s (M)
|
||||||
| [?] Our own Etherpad beside Werkbaum (M) %% then every setting below is ours
|
| [?] Our own Etherpad beside Werkbaum (M) %% then every setting below is ours
|
||||||
- [ ] Node, a real database, TLS (S) %% the flatfile store is not for production
|
- [ ] Node and a real database in userland (S) %% the flatfile store is not for production
|
||||||
- [ ] A proxy that passes the websocket upgrade (XS)
|
- [ ] Book the RAM quota for an own daemon (XS)
|
||||||
|
- [!] How the daemon is reached over https (S) %% Passenger on Apache has no websockets
|
||||||
|
| [ ] Long polling only — Etherpad still works (XS)
|
||||||
|
| [?] Ask for a proxy that passes the upgrade (S)
|
||||||
- [!] Keeping a public service patched (S) %% indefinitely, that is the real cost
|
- [!] Keeping a public service patched (S) %% indefinitely, that is the real cost
|
||||||
| [?] Admin raises the export rate limit (XS) %% default is 10 per 90 s
|
| [?] Admin raises the export rate limit (XS) %% default is 10 per 90 s
|
||||||
| [?] Admin installs a plugin that pushes the text (S) %% postMessage to the page
|
| [?] Admin installs a plugin that pushes the text (S) %% postMessage to the page
|
||||||
|
|||||||
Reference in New Issue
Block a user