saschagrunert / webapp.rs

A web application completely written in Rust. 🌍

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider switching to CBOR

saschagrunert opened this issue · comments

The benefit would be to use serde and its derivations as well as using the same data types for the protocol and diesel models.

A disadvantage is that we loose the versioning and a bit of performance.

#9 contains a experimental implementation

I'd love to see a benchmark with your notes on CBOR vs capnproto!

Solved with #9, where CBOR is the current communication standard

Any performance decrease after switching to CBOR? I think Cap'n Proto is so much faster than CBOR with versioning. T_T

@saschagrunert I am interested to see a blog post about it.

Actually not. :) But I am currently evaluating the new architecture and will release a new blog post soon.