Dependencies: bulk fetch, delete and insert
- use one http request to fetch
rdeps.tar.xz
- process all the dependencies in one goroutine as it is fast enough (less than one second)
- bulk delete all previous dependencies (from ~10min to <1sec)
- bulk insert all dependencies (from ~10min to <1sec)
All this bulk work enables the whole procedure to finish in less than 5 sec on my PC (instead of ~25min), uses much less IO, much much less network.
Signed-off-by: Arthur Zamarin arthurzam@gentoo.org