News for hackers. Stuff that matters.
Re:Debugging distributed database mysteries with Rust, packe... by killingtime74 on Monday July 29, 2024 @09:58PM (#41105454)
Could the same be achieved with less work with distributed tracing?
Re:Debugging distributed database mysteries with Rust, packe... by beoberha on Tuesday July 30, 2024 @02:47AM (#41106620)
This is the kind of learning experience that causes you to log payload size metrics
Re:Debugging distributed database mysteries with Rust, packe... by amunra__ on Tuesday July 30, 2024 @05:28AM (#41107457)
Article author here..

Instrumenting would have been 100% just as feasible. Ironically it would have been more work.

For context, our DB is highly optimised for ingestion (millions of rows / second) and adding any high resolution metrics there would impact performance, so would have to be either ripped out afterwards or engineered very carefully (read "not cheap") as to not impact performance.

This stuff took an afternoon, is reusable, and frankly, was more fun to implement :-).

I suspect there are tools out there that that do this stuff, of course. The matter is still finding and learning how to use them compared to writing a few hundred lines of code.