Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_ydfu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
_ydfu
9y ago
I think you can go a long way just with example code. A simple (ideally single file, <300 lines) RPC server that does I/O in a thread, an example of building, reading and mutating a complex data structure with lots of lists and nest
2.
▲
by
_ydfu
9y ago
In my experience, RPC in gRPC was nicer to work with but Cap'n'Proto's RPC was faster (due to the format I believe). Why was gRPC nicer to work with in my opinion? - Comprehensive and readable documentation. Cap'n'P
3.
▲
by
_ydfu
9y ago
Another downside in gRPC is that (de)serialization can be relatively slow. One of my pet projects is a tagging server that takes a list of tags and returns a list of objects that match, retrieved from RocksDB. I tested gRPC (proto and FlatB