Introducing lua-capnproto: better serialization in Lua
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
Hacker News points
None found.
Language
English