WSL with cache-proxy for Debian package manager

BSchwarz

Administrator
Joined
Sep 26, 2003
Messages
1,918
Location
Florida U.S.A.
Hope to be fine here with this question.

It is about Windows 10 2018 March operating on physical machine. It hosts Oracle Virtualbox Hypervisor with two Debian virtual machines on top of stack.



Virtual machines want to get quite periodic updates (patches, fixes, security updates and so on). Quite every day except for weekends there are new updates. Currently they go through V.B. NAT network to Internet to fetch updates. Regarding generated traffic
it is of double amount as each of two v.machines fetches same updates for itself separately. So to reduce the load of internet connection the idea is to setup on WSL cache-proxy for Debian package management used on virtual machines for package management.
These two V.B. virtual machines should connect to host's WSL through host-only adapter each, dpkg-cache proxy should listen to these 2 host-only adapters. The choice is apt-cacher-ng, it acts as proxy dpkg system clients however shows extended cache capabilities
regarding downloaded packages. Two Debian virtual machines should connect to Debian servers through apt-cacher-ng, latter one operating within WSL.

What level of feasibility might be this goal? Can anyone immediately see any technical points doing this goal unreachable? In some WSL document, side myself found one time short notice WSL was not good for server application, each proxy has a server-element
in its function. Actually a proxy is no server so from this point of view no conflict. I am not sure if generally there are cons to be considered in current planning phase.

Apt-Cacher-NG User Manual






More...
 
Back
Top