Layr-Labs / eigenda

Secure, high-throughput, and decentralized Data Availability
https://www.eigenlayer.xyz/
Other
220 stars 168 forks source link

Perf observability: Add blob encoding latency at client side #722

Closed jianoaix closed 1 month ago

jianoaix commented 1 month ago

Why are these changes needed?

This adds blob encoding latency metric on the Batcher (i.e. client) side.

Currently we only have encoding latency on Encoder (i.e. server) side, which has the following problems:

Having this Batcher-side latency metric addresses all of these problems, and provides a more accurate picture of encoding subsystem performance.

Checks

jianoaix commented 1 month ago

Nice, so is the idea that if we subtract server side latency with the client side latency the diff will be the transmission time?

Yep. I think it anyway makes more sense to watch the overall latency from client's perspective, that's what will affect the E2E latency eventually.