3 ms·
We've Added JavaScript-Native RPC to Cloudflare Workers
- weiliddat 3y agoCap’n Proto’s pattern on Cloudflare workers sounds like a good idea for someone who is already on Cloudflare. Bit of a harder sell to migrate lambda functions or workers to this, doesn’t seem like there’s a progressive option to do so?
- kentonv 3y agoAt present it can only be used between Workers, but I'm interested in enabling connecting to external servers with it, and generally making it available as a Node library. Lots of details need to be worked out to make that happen though.
- r0rshrk 3y agoAhh, the API is surprisingly similar to the rocketrpc RPC system I had created. It allows one to directly access any server-side object or method from the client. Looks like we coalesced on similar systems :) https://rocketrpc.com/ https://rocketrpc.com/