序列化/RPC 系统 Cap’n Proto

码农软件 · 软件分类 · 常用工具包 · 2019-08-15 22:57:20

软件介绍

Cap’n Proto 是非常快速的数据交换格式和基于容量的 RPC 系统。类似 JSON,除了二进制;或者是 Protocol Buffers,除了更快。事实上,Cap’n Proto 比 Protocol Buffers 快无数倍。

当然,这个比较是不公平的,这只是衡量了在内存中编码和解码一个信息的时间。Cap’n Proto 获得这么好的成绩是因为没有编码/解码步骤。Cap’n Proto 编码是数据交换格式和内存表示,一旦结构构建了,就可以直接编写字节到硬盘中。

其他优势:

  • 增量读取

  • 随机访问

  • mmap

  • 内部语言通信:C++

  • Arena 分配

  • 极小的生成代码

  • 极小的运行时库

  • Time-traveling RPC

本文地址:https://www.codercto.com/soft/d/12456.html

Concepts, Techniques, and Models of Computer Programming

Concepts, Techniques, and Models of Computer Programming

Peter Van Roy、Seif Haridi / The MIT Press / 2004-2-20 / USD 78.00

This innovative text presents computer programming as a unified discipline in a way that is both practical and scientifically sound. The book focuses on techniques of lasting value and explains them p......一起来看看 《Concepts, Techniques, and Models of Computer Programming》 这本书的介绍吧!

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

URL 编码/解码
URL 编码/解码

URL 编码/解码

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具