Cap’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?
At 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.
Ahh, 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 :)