/plushcap/analysis/cloudflare/introducing-lua-capnproto-better-serialization-in-lua

Introducing lua-capnproto: better serialization in Lua

What's this blog post about?

CloudFlare has adopted Cap'n Proto, a new serialization protocol, for its data centers worldwide due to its high performance compared to other serialization projects like JSON and Protocol Buffers. The company developed lua-capnproto, an open source Lua module for Cap'n Proto, as there was no existing one. This module provides fast data serialization and a simple API. It has been successfully implemented in production at CloudFlare. The author of the article also shared how to use lua-capnproto for serialization and deserialization, along with performance benchmarks comparing it to lua-cjson.

Company
Cloudflare

Date published
Feb. 28, 2014

Author(s)
Jiale Zhi

Word count
1198

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.