3 ms·
Can someone say how Cloudflare uses the Cap'n Proto rpc framework? I would be interested in hearing how this fits into a CDN architecture. Cheers.
by bogomipz 10y ago
Can someone say how Cloudflare uses the Cap'n Proto rpc framework? I would be interested in hearing how this fits into a CDN architecture. Cheers.
- kentonv 10y agoAt present they (uh, we, I suppose!) use the serialization only, for a variety of uses including (publicly disclosed) the log analysis system. I have some ideas where the RPC would be useful, though.
- bogomipz 10y agoThanks for the replies and the link(interesting), cheers.
- caust1c 10y agoWe use it for serializing log events between our Edge colos and our data processing datacenters. We chose it because it is a zero copy serialization protocol, as opposed to protobuf which doesn't do zero copy. We don't currently use the RPC framework specifically though only the serialization.
- eastdakota 10y agoHere's a blog post which talks a bit about how we use Cap'n Proto in production: https://blog.cloudflare.com/introducing-lua-capnproto-better-serialization-in-lua/ https://blog.cloudflare.com/introducing-lua-capnproto-better...