Skip to content

Instantly share code, notes, and snippets.

View stereobooster's full-sized avatar
🇺🇦
stand with Ukraine

stereobooster

🇺🇦
stand with Ukraine
View GitHub Profile
@stereobooster
stereobooster / 1-comparison-data-types.md
Last active October 24, 2017 15:52
REST-GRPC-GraphQL-etc
GraphQL ion proto bufs json capnproto jsonschema cbro MsgPack avro thrift lave ljson jsonet flatbuffers
type plain/binary binary plain binary plain binary binary binary binary plain plain plain binary
schema + - + + - - + +
Zero-copy - - + - +/- - - - +
Random-access reads - - + -
https://stereobooster.github.io/reference-data-as-dependency
http://lampwww.epfl.ch/papers/idealhashtrees.pdf
Task
1. compact file format for faster read from disk
magpack? protobuf? pbf
2. traverse all file, leave only popular bits. Cache LRU
mini mime
3. be able to unload db from memory, if not required