WG211/M9Kiselyov

From WG 2.11
Jump to: navigation, search


Ask-by-need: generating multiple-answer RPC/web requests

Oleg Kiselyov

At the 2009 meeting of WG2.11, William Cook presented a new remote procedure call (RPC) mechanism, relying on packaging several calls into one RPC request to minimize the communication overhead. We report an earlier and independent development of request bundling, taking advantage of (simulated) lazy evaluation to automatically discover the RPC calls to bundle. Delaying and bundling input requests becomes especially beneficial when communicating with a user through a web browser. The difference is then between asking for several pieces of data on separate web forms, or on one form. We describe the implementation in a strict language, as an OCaml library for Web programming.