Edge Computing with Cloudflare Workers
We've added JavaScript-native RPC to Cloudflare Workers

We've added JavaScript-native RPC to Cloudflare Workers

4/5/2024 · Kenton Varda

What this post added

Introduced JavaScript-native RPC to Cloudflare Workers, enabling direct, low-boilerplate communication between Workers and Durable Objects. This system supports structured clonable types, functions, objects with methods, and byte streams, with performance optimizations for same-thread calls and pipelining for network calls. It is built on Cap'n Proto and integrated into the open-source workerd runtime, emphasizing object-capability security.

Read the original post ↗