3 ms·
Also json parsers are crazy fast nowadays, most people don't realize how fast they are.
by mirekrusin 2y ago
Also json parsers are crazy fast nowadays, most people don't realize how fast they are.
- Cthulhu_ 2y agoWhile true, it's still a text and usually http/tcp based format; data -> json representation -> compression? -> http -> tcp -> decompression -> parsing -> data. Translating to / from a text just feels inefficient.
- mirekrusin 2y agoWith projects I work on it's over websockets, js/ts has builtin support, easy to log, debug, extend/work with etc. Binary protocols have exactly same steps. Redis is also using text based protocol and people don't seem to be bothered too much about it.