by badrequest · 7y ago · 0 comments
Why does a container registry need so many resources?
Second, I think it would help to know why you think a container registry wouldn't need a moderate amount of resources.
I don't necessarily disagree that the resources could be lower at the minimum (and in fact, I recall they are quite a bit lower than this when running it on your laptop without any load), but is this really anything unexpected?
It's written in Python so it's not going to be as efficient as Go or C++ but it certainly isn't Java levels of resources being requested here.
High resource requirements mean that I need to spend more on compute, whether that means paying a cloud provider for a beefier instance, or spending more money on hardware and electricity.
(yes, that was in reference to a PC, not a server.)
Spinning up a cloud VM with 4GB for a year is a bit more than beer money though.
Reminds me of installing gitlab. Requirement 8GB...for a basic install. After a bunch of crashes (on a 8gb VM) I went with vanilla git.
If you want to just test it, why not use a VritualBox VM or similar?
To illustrate:
My employer gives me $150 cloud credits. 20 USD seems like pocket change
Me paying out of pocket...20 that's like 2x netflix but fine whatever.
Me being part of the other 95% of the world...unaffordable.
But really my main objection here is why. To borrow my gitlab example...how does adding a interface on top of core software up requirement from zilch to 8 gb? Like wtf is going on underneath that bonnet. It's not doing the heavy lifting - git is doing that. So for a SINGLE user install...whats that 8GB doing? 8GB worth of UI? It's installing via CLI for gods sake...
https://www.jfrog.com/confluence/plugins/servlet/mobile?cont...