Jonas Bostoen

Results 24 comments of Jonas Bostoen

I think I wouldn't want to have internal Prometheus metrics, the idea of the stats is that any consumer of this library can periodically call it to update their own...

What I had in mind was actually some metrics here (i.e. on the receiving side of the socket): https://github.com/chainbound/msg-rs/blob/87d105ba824ae8b456dd7c665388f7fe685e492d/msg-socket/src/sub/driver.rs#L356-L364 I don't think we need stats on dropped sends if there...

@quangkeu95 this issue is blocked by #13, which we still need to figure out how to implement. Will ping you once we have a better idea of how to move...

This would be very useful for our use cases as well!

With the latest commit getting rid of heap allocation for chunks and replacing it with an array, benchmarks were even better for `hashtree`: ``` hash_tree_root_hashtree time: [7.8244 µs 7.8345 µs...

@potuz agreed this doesn't resolve the whole issue. I will follow this up with another PR for the other performance improvements you mentioned.

+1, using [Glance](https://github.com/glanceapp/glance) to subscribe to the posts, but getting redirected to old domain

Also, I don't mind copied code if it can serve as an example @thedevbirb

It seems that the subscriber just can't reach the endpoint, could you share a bit more code regarding the publisher? Are you sure it isn't dropped before the subscriber tries...