Search
Technology

Browser-based Kubernetes cluster turns user tabs into distributed computing nodes

A new experimental setup uses web browsers to run Linux kernels in tabs, allowing users to contribute hardware resources to a distributed Kubernetes cluster.

Alex Chen

2 min read

Browser-based Kubernetes cluster turns user tabs into distributed computing nodes
Abstract representation of a distributed computing network
Advertisement

A new experimental project has successfully turned standard web browser tabs into active nodes within a Kubernetes cluster, according to reports from tabernet.es.

By simply opening a specific webpage, a user's device—including smartphones—becomes a functional node in a distributed network. The system uses a scheduler to send pods to these tabs, where the programs run on a Linux kernel booted directly within the browser environment.

Advertisement

Joining the cluster requires downloading approximately 5 MB of data. Once active, the system runs a small Linux guest on a single CPU core for as long as the tab remains open, according to tabernet.es.

Distributed rendering and processing

The architecture utilizes a central control plane to manage the various nodes. Each tab acts as a node, and the system utilizes Services to route traffic to the pods running behind them.

Users can interact with the cluster through visual indicators. An orange dot represents a request sent to a pod, while a green dot signifies a tile of an image traveling to the node responsible for rendering it.

The technical performance of the cluster is tracked in real-time. The system measures the time it takes for a pod to start—from the moment the tab receives the pod to the point where the kernel is booted and the image is mounted—as well as the total cluster response time.

One of the most complex tasks the cluster can perform is rendering a Mandelbrot set. When triggered, the cluster splits the image into 64 tiles, and each node's pod computes its specific share using awk within the browser-based Linux guest.

Advertisement

While the control plane operates as an ordinary Kubernetes instance, the project introduces a specific modification to the scheduling process. "The scheduler puts a pod that has it on a tab, and every other pod on the cluster's own machine," the source reported.

This distributed model allows for decentralized data management. For example, when a user sends a request to a Service, one of the pods answers from a user's device and records the visit in a Redis instance hosted on a different user's machine.

Tags
# kubernetes linux # distributed computing# web technology
Key TopicsLinux
Advertisement