cbor   50

How Uber Engineering Evaluated JSON Encoding and Compression Algorithms to Put the Squeeze on Trip Data
Key conclusions:

Simply compressing JSON with zlib would yield a reasonable tradeoff in size and speed. The result would be just a little bigger, but execution was much faster than using BZ2 on JSON.
Going with IDL-based protocols, Thrift and Protocol Buffers compressed with zlib or Snappy would give us the best gain in size and/or speed.
compression  json  performance  python  serialization  protobuf  zlib  snappy  cbor  messagepack  thrift  bz2 
9 weeks ago by jm
ongoing by Tim Bray · Bits On the Wire
Start with the simplest possible thing that could possibly work. Then benchmark using your data with your messaging patterns. In the possible but not terribly likely case that your message transmission and serialization is a limiting factor in what you’re trying to do, go shopping for a better one.
json  protobuf  avro  qldb  thrift  timbray  cbor 
november 2019 by dlkinney
CBOR — Concise Binary Object Representation | Overview
The Concise Binary Object Representation (CBOR) is a data format whose design goals include the possibility of extremely small code size, fairly small message size, and extensibility without the need for version negotiation.”
format  json  binary  cbor  iot  internetofthings  coap 
october 2019 by cyberchucktx
CBOR — Concise Binary Object Representation | Overview
CBOR is an alternative to JSON, where it's a self describing binary protocol so no schema needed. Possible alternative to Avro/ProtoBuf as well
CBOR  binary  serialization  data  format  webdev  programming  development  alternative  JSON  protobuf 
september 2019 by asteroza
draft-ietf-core-yang-cbor-10 - CBOR Encoding of Data Modeled with YANG
JohnCarter@lobsters: "Which is sort of why I like CBOR/YANG combo. Yes, it’s discoverable, but you can also automagically pull the YANG schema to find the hard definition of the fields. Sort of the best of both worlds... The self describing nature of json, with the compression and well definedness of protobufs."
cbor  schema  piperesearch  ietf  yang 
may 2019 by mechazoidal
GitHub - tailhook/probor: A protocol on top of CBOR that provides protobuf-like functionality
Note that it was designed for rust 1.15, and is more of a POC. It's still an interesting idea.
cbor  capnproto  repo:github  serialization  piperesearch  rust 
may 2019 by mechazoidal
sirthias/borer: Idiomatic CBOR (de)serialization in Scala
Idiomatic CBOR (de)serialization in Scala. Contribute to sirthias/borer development by creating an account on GitHub.
scala  cbor  serde  library 
march 2019 by omen
rs/zerolog: Zero Allocation JSON Logger
The zerolog package provides a fast and simple logger dedicated to JSON output. Zerolog's API is designed to provide both a great developer experience and stunning performance. Its unique chaining API allows zerolog to write JSON (or CBOR) log events by avoiding allocations and reflection. Uber's zap library pioneered this approach. Zerolog is taking this concept to the next level with a simpler to use API and even better performance. To keep the code base and the API simple, zerolog focuses on efficient structured logging only. Pretty logging on the console is made possible using the provided (but inefficient) zerolog.ConsoleWriter.
go  golang  json  logging  cbor 
february 2019 by dlkinney
Concise Binary Object Representation
“The Concise Binary Object Representation (CBOR) is a data format whose design goals include the possibility of extremely small code size, fairly small message size, and extensibility without the need for version negotiation.”
json  cbor  binary  javascript 
december 2018 by pyrho

related tags

2013  7049  alternative  article  author:paulcolomiets  avro  binary  binarydata  binaryencoding  bits  bz2  c#  c++  c  calendar  cap'n'proto  capnproto  cddl  coap  compression  concise  crypto  data-encoding  data-formats  data-serialization  data  datatransfer  date  datetime  development  dotnet  dtls  embedded  encoding  flatbuffers  float  format  go  golang  history  http  ietf  important  internetofthings  iot  ipfs  javascript  jose  jscn  json  kind:blogpost  kind:spec  library  lists  logging  lua  lwm2m  mbedtls  messagepack  mqtt  msgpack  object  ocp  optimization  parser  performance  piperesearch  pmz  programming  protobuf  protocol  python  qldb  repo:github  representation  rfc  rust  scala  schema  serde  serialization  serialzation  server  snappy  standard  stator  thrift  timbray  time  tools  tr069  vs  web  webdev  wire  wire_protocol  yang  zlib 

Copy this bookmark:



description:


tags: