Closed erhant closed 1 month ago
time to add metrics maybe?
https://github.com/libp2p/rust-libp2p/tree/master/examples/metrics
When network_mode: "host"
is not used, the peer count is really good within Docker
e.g. 17 peers with 15mins using host
network, and 96 peers in a minute without it
tried all methods on ubuntu, cant get it to work for the local Ollama service (not Docker)
right now the easiest solution I can think of is to take an env variable that decides network mode, which is host
on linux and bridge
on others
No longer an issue with v0.2 as we use cross-platform builds instead of Docker
The Docker networking somehow causes peer discovery to be affected, although messaging works fine the peer count is very low.