Adaptive Computation Partitioning in Web Architectures

This direction is split into other directions: hybrid query execution. Its last version stays readable and citable here.

Version 1 of 115 papers19 conceptsfrozen 2026-10-04

Modern web applications face a fundamental tension between the massive scale of cloud data and the need for instantaneous user interaction. Traditionally, developers have chosen one of two extremes: a server-heavy model, where the cloud does the work but introduces network latency, or a client-heavy model, where the browser handles logic but is limited by device hardware and data transfer speeds.

A growing body of research suggests a third path: Adaptive Computation Partitioning. Instead of fixing the execution logic to one location, these systems dynamically split tasks between the client and server based on data volume, device capability, and real-time server load.

The Split Execution Strategy

The core intuition behind partitioning is that the server is best at "reduction," while the client is best at "exploration." In the context of analytical databases, Jimmy Lin and Kareem El Gebaly proposed a "split-execution" strategy in their system, Afterburner.

In this model, the backend server processes massive datasets to produce a smaller, relevant subset. This reduced data is then shipped to the browser, where a high-performance JavaScript engine (leveraging technologies like typed arrays) handles subsequent interactive queries locally. By keeping the "exploratory loop" inside the browser, the system eliminates the network round-trips that typically make data dashboards feel sluggish.

Dynamic Routing and Model Multiplexing

In machine learning, the decision of where to run a model often depends on the complexity of the input. Amir Erfan Eshratifar introduced the concept of Deep Model Multiplexing, which acts as a traffic controller for AI tasks.

The system identifies "easy" inputs—such as clear, simple images—and processes them using lightweight models on the user's mobile device. Only "hard" inputs that require high-precision inference are offloaded to the cloud. This hybrid approach doesn't just save battery; it can actually improve accuracy by allowing the cloud to focus its resources on the most difficult cases. Similarly, for the Bach Doodle, Cheng-Zhi Anna Huang and colleagues implemented client-side performance checks to route music harmonization tasks, ensuring a smooth experience even on lower-end hardware.

Balancing Load in Knowledge Graphs

The challenge of partitioning is particularly acute in decentralized data environments like the Semantic Web. When querying large Knowledge Graphs, the "shape" of the query—whether it looks like a star, a chain, or a tree—drastically changes the optimal execution site.

Gabriela Montoya and Katja Hose have explored how to maintain system availability by dynamically negotiating query tasks. When a central server is overloaded, it can shift sub-tasks (like complex joins) to the client.

To optimize this, Christian Aebeloe and Gabriela Montoya proposed Star Pattern Fragments. This interface finds a "Goldilocks" balance: the server handles star-shaped subqueries (which are computationally efficient for the server but heavy on bandwidth if sent raw), while the client assembles these fragments into the final result. This reduces network traffic by orders of magnitude compared to purely client-side decomposition.

Toward Location Transparency

The ultimate goal of this research direction is "location transparency"—a state where the developer writes logic once, and the framework decides where it should run. Yupeng Fu and Michalis Petropoulos explored this in the FORWARD framework, treating the entire application state as a unified declarative system.

More recently, this has evolved into sophisticated Meta Controllers for recommendation systems. As shown by Jiangchao Yao and Jingren Zhou, these controllers use causal inference to decide in real-time whether to reuse cached on-device results or trigger a full cloud-based refresh. By treating the client and server as a single collaborative unit, these systems achieve a level of responsiveness and efficiency that neither could reach alone.

Papers in this version

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_adaptive_computation_partitioning_in_web_7fef2ffc,
  title = {Adaptive Computation Partitioning in Web Architectures},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/adaptive-computation-partitioning-in-web-architectures/rdr_7fef2ffcc42b4616a267979e3b8f666c},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_adaptive_computation_partitioning_in_web_7fef2ffc_v1,
  title = {Adaptive Computation Partitioning in Web Architectures},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/adaptive-computation-partitioning-in-web-architectures/rdr_7fef2ffcc42b4616a267979e3b8f666c/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}