rust-ceramic icon indicating copy to clipboard operation
rust-ceramic copied to clipboard

chore: record the per item duration of an insert_many request

Open dav1do opened this issue 1 year ago • 2 comments

We insert in batches that are typically 3-100 items (depending if it's api or recon). This gives a better sense of how long each item takes in comparison to the duration of the entire request. It's kind of a clunky way to do this, but I didn't want to return a duration from the other function and then record a second item, but maybe that would be cleaner.

dav1do avatar Oct 04 '24 22:10 dav1do

@smrz2001 @samika98 this is to monitor the queue sizes for gitcoin - maybe we can get it onto the gitcoin node after integration tests?

gvelez17 avatar Oct 07 '24 18:10 gvelez17

@smrz2001 @samika98 this is to monitor the queue sizes for gitcoin - maybe we can get it onto the gitcoin node after integration tests?

@gvelez17 this PR is to rust-ceramic, which gitcoin doesn't use currently

stbrody avatar Oct 07 '24 21:10 stbrody