AntTP v0.12.0 has been released:
- Adds idle disconnect from the autonomi network to decrease CPU usage when inactive (and save power).
- Changed all mutexes to use Tokio to improve performance and standardise.
- Added milliseconds to logs to help trace performance.
In summary, it’s now got a power saving mode. After a (configurable) idle timeout of 30s, the autonomi client is disconnected and deallocated.
From my testing in Linux, CPU usage falls from around 1.00% to 0.05% - a 20x improvement when idle. Obviously, this will also reduce power usage, which should reduce bills and increase battery time (especially handy on mobiles).
When a request comes in that can’t find what it wants in the cache, it will reconnect automatically. This is actually a very swift process these days and i hardly noticeable, so maybe the default could be decreased, but I’d like to monitor how it goes first.
Github: Release v0.12.0 · traktion/AntTP · GitHub
Dockerhub: https://hub.docker.com/r/traktion/anttp
Cargo: cargo install anttp