On Wednesday, August 18, 2021 at 1:30:01 PM UTC+2 Stobot wrote: > Ok, think my post went somewhere else (sorry if someone got that directly)
It did land in my PM inbox. .. No problem :) > Newbie question for Charlie or others: How did you get Node.js version to > serve to multiple people? I use Node.js for my personal stuff and BOB for > multi-user but I have a lot of issues with BOB during > disconnects/reconnects that I don't have with "normal" node. > I'm not mentioned directly, but I'll post anyway. ... The nodejs server could always serve the wiki to multiple people. ... BUT you shouldn't modify it at the same time. Arlen did create a "server sent events" plugin, that doesn't need web-sockets, but it is "unidirectional". So it allows the server to send messages to the client in 1 way only. The advantage is, that it is simpler to implement. .. If TW runs with nodejs, there is a function in the client that reads all tiddler-titles from the server every minute. If there was a change that the server knows about, it will load "all-tiddlers" from the server, including new ones. The function is called "syncFromServer". So if you open 1 wiki in 2 tabs of a browser you will informed, if someone opened a tiddler. A _red_ "draft of ... by <name>" button will be shown in the bottom of the wiki window. The name will be only there if the username is set in the ConfigTiddler! The maximum delay is 1 minute. This function is in there for quite some time already. The problem is, that 1 minute delay can be way to long, if 2 persons want to edit at the same time. ... Server-sent-events works almost instantly. ... BUT it has some flaws at the moment, that I did describe in the other post. -mario -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/459fb5e1-2ac1-458f-83bb-d7f6d588e55en%40googlegroups.com.

