HackerTrans
TopNewTrendsCommentsPastAskShowJobs

tignaj

no profile record

Submissions

[untitled]

25 points·by tignaj·в прошлом году·0 comments

comments

tignaj
·в прошлом месяце·discuss
Is ourcommons.ca an official House of Commons website? It says so but how do I verify before I submit the petition with my information?
tignaj
·6 месяцев назад·discuss
If you are looking for a fast format with schema support see STEF: https://www.stefdata.net/

Disclosure: I am the author.
tignaj
·2 года назад·discuss
Here is a fairly efficient version of a simple union like that I did a while back https://github.com/tigrannajaryan/govariant
tignaj
·3 года назад·discuss
This is also because Google's Protobuf implementations aren't doing a very good job with avoiding unnecessary allocations. Gogoproto is better and it is possible to do even better, here is an example prototype I have put together for Go (even if you do not use the laziness part it is still much faster than Google's implementation): https://github.com/splunk/exp-lazyproto
tignaj
·4 года назад·discuss
Otel logs aim to record the execution context in the logs.

In languages when the context is implicitly passed (e.g. via thread-local storage / MDC in Java) Otel automatically injects trace id and span id in the logs emitted using your regular logging library (e.g. log4j). Then in your log backend you can make queries like "show me all log records of all services in my distributed system that were part of this particular user request".

Disclosure: I am an Otel contributor, working on logs (work-in-progress, not for production use yet).
tignaj
·4 года назад·discuss
This. The statelessness of the OTLP is by design. I did consider stateful designs with e.g. shared state dictionary compression but eventually chose not to, so that the intermediaries can remain stateless.

An extension to OTLP that uses shared state (and columnar encoding) to achieve more compact representation and is suitable for the last network leg in the data delivery path has been proposed and may become a reality in the future: https://github.com/open-telemetry/oteps/pull/171
tignaj
·4 года назад·discuss
Here is a OneOf Go implementation I wrote that hopefully is less ugly and is significantly faster: https://github.com/splunk/exp-lazyproto#oneof-fields
tignaj
·4 года назад·discuss
Article author here, good to see it on HN, someone else has submitted it (thanks :-)).

If you are interested in the topic you may be also interested in a research library I wrote recently: https://github.com/splunk/exp-lazyproto, which among other things exploits the partial (de)serialization technique. This is just a prototype for now, one day I may actually do a production quality implementation.