-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Concurrency and the shared state nature of torrents are definitely the what makes it all hard and tricky. I've rewritten this part of DHT completely recently, but according to your experience looks like this time won't be the last.
For block requesting, rqbit has a pretty simple algorithm https://github.com/ikatson/rqbit/blob/main/crates/librqbit/s..., and I didn't notice it in benchmarks, thanks to Rust being fast by default I guess. I admit though, never looked how other clients do it, maybe the rqbit algorithm is too naive.
Nice!
I started doing this in Zig (roughly following the codecrafters course on the topic to start out) but I ran out of steam a week or so ago. It's good to see someone building something they want for themselves.
https://app.codecrafters.io/courses/bittorrent/overview