Open a page and your phone is a node. The scheduler sends it a pod, and the pod runs on a Linux kernel booted in the tab.
75 comments
Five minutes later, here we are.
From what I understood of the description, it sounded like with two tabs open I should appear as one node with slots for two pods (using cross-tab coordination to determine how many pods to host in my "node"). I think something was explained poorly (or I understood it poorly) because I didn't see any node running more than one pod.
But still an incredibly cool idea! I'm assuming there is only one control plane node, running on the server, and the connectees are just worker nodes? Or is each tab its own worker node?
edit: I somehow missed the big "Join the cluster" button and assumed I was already part of it.
What's new is that it runs an entire Linux kernel on it and also emulates the structure of a Kubernetes cluster - so the cluster can assign your tab workloads, route requests to it, etc.
As with all those demos where "the server sends requests to the page" instead of the usual other way around, it's probably implemented using a WebSocket or WebRTC connection to the demo's server. The page has to open that connection first, but once it's open, both page and server can exchange arbitrary messages, so that's often used to make server-driven pages.
But this means your machine is not open to receive arbitrary packets, it all has to go through that one connection.
It all doesn't really do much except contributing some bit of compute resources from your machine to their cluster while you have the tab open - and giving you a log view so you can watch it receiving requests and feel proud.
Read the full thread on Hacker News →
Related stories
- Hacker News · 1 points · 2 months ago
- Ars Technica · 0 points · 4 days ago
- Hacker News · 1 points · 2 months ago
- Show HN: A 3D Mac window switcher with browser tab support and searchbetterwindowswitcher.comHacker News · 2 points · 2 months ago
- Hacker News · 4 points · 2 months ago
- Hacker News · 1 points · 2 months ago