Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any caveats when chaining two instances? #57

Open
cocoonkid opened this issue Jan 14, 2023 · 1 comment
Open

Any caveats when chaining two instances? #57

cocoonkid opened this issue Jan 14, 2023 · 1 comment

Comments

@cocoonkid
Copy link

Any caveats when chaining two instances?

I plan to run pacoloco & apt-cacher ng on a vps which has reflector scheduled via crond.

And locally I run a second layer of both on my nas inside docker.

The idea is that I will always have the most optimal and a single connection for my local vms & servers to the nas and the nas downstream request the same from my upstream vps in the cloud.

Will there be any problems with this setup? Does that even make sense?

@Focshole
Copy link
Contributor

Focshole commented Jan 27, 2023

Honestly, if you plan to run pacoloco on your vps for your vps, it doesn't make much sense unless you have many vms running on your vps which use pacman and which are being updated regularly.
If you plan to use pacoloco as a mirror (that is, with a setup such as vps[pacoloco]<-->internet<-->nas), be ready to find more than a few issues. At the moment there are some concurrent downloading issues which need to be solved.

It makes sense to use pacoloco if the machine to be updated has a fast connection to the machine running pacoloco but a slow connection to internet (internet<-->pacoloco(local network)<-->local vm(s)/local server(s)/machines in your local network which use pacman).
If I have understood your setup, you'd better run pacoloco on your nas (eventually inside docker), so that your local vms & servers can be updated faster.

Did I answer your question?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants