Re:Deno Deploy Demo: a multi-datacenter chat, client+server ...
by ondras on Saturday November 06, 2021 @04:26PM
(#29133534)
Right, as jitl suggested. The BroadcastChannel is used to allow cross-datacenter messaging. So every script instance has its own set of clients and forwards incoming client messages to other script/datacenter instances.
I suppose this is not limited to multiple datacenters, but to multiple script instances in one datacenter as well.
I suppose this is not limited to multiple datacenters, but to multiple script instances in one datacenter as well.