Better HN
topnewbestaskshowjobs
Log inSign up

RonFeder

5 karma · joined Oct 30, 2023 (3y ago) · 3 submissions

Submissions

comment 3y ago · link · parent

Compared to multi-threaded process, there is still a big advantage in terms of latency. Handling all the exporting in the same process will greatly effect GC operations which require stop the world handling.

comment 3y ago · link · parent

The eBPF programs handle passing the context through the requests by adding a field to the header as you mentioned. The injected field is according to the w3c standard.

comment 3y ago · link · parent

The main factor for reduced latency is the separation between recording and processing of data. The eBPF programs are the only overhead for the instrumented process in terms of latency. The eBPF programs transfer the collected data to a separate process which handles all the exporting. In contrast to manually adding code to an application which adds latency and memory footprint in terms of handling the exported data.