phalethof course there are OS kernel calls, but those should also be minimized by teh runtime
blueya
phalethand anyway, writing to disk on a server if not really necessary is the dumbest thing a programmer can allow to happen
phalethif there is a streaming API then it's a no brainer
bluewe need a git streaming API :P
phalethyeah, clanker has some really tough task on repopack
bluehm?
phalethwell, there is a lib for storing git data into postgres
phalethforgot what it was called
blueya
phalethhopefully that one uses UUIDv7s everywhere by default
bluethat's another can of worms we'll have to handle, that uuidv7 migation
bluebut at least we don't have those terribly bash scripts anymore, what a nightmare
phalethyeah, should do it sooner rather than late
phalethreplacing 50k lines of shell script with 4k lines of golang is not bad
blueyup
phalethblue: sshd container is created but not started
phalethcreated 32 Minutes ago
bluethanks phaleth, looking into it
phalethno problem
bluephaleth: sshd is fixed
phalethok, cool
dreamrealblue: true but because humans are overengineers too
blueya
bluedreamreal: could you look at what I asked on #primate please?
bluephaleth: I wanna start working on the container registry. we need a short domain. any suggestions?
bluerpcr.io ?
phalethcan start with cr.repopack.com and buy another domain later
blueok. I don't mind buying the domain. I believe the shortness is that image names are short
phalethyeah, but you are not going to build a docker hub like website just yet right?
bluewell, we're going to do a proper container registry, no? like gcr.io
bluerpcr.io/PROJECT/IMAGE
phalethI mean once you have somthing up and running and something depends on it why not
phalethbut till then
phalethwho knows how all these oci-image registries work anyway
bluewell, if we're doing one, we should do it seriously. PROJECT should be scoped privately if the project is private, and so on
blueyou suggested having a CR so that we don't need to depend on local caching of images
phalethyeah, but can the registry be distributed to multiple VPSes?
bluedistributed in what sense? it will be constructed such that it's publicly available. VPSes running user code will need to get a token that allows them to pull from the registry, scoped to the given project
bluepublic projects could offer public images
phalethsay there are two VPSes in different geo zones, rpcr.io points to both, now a user in zone A uploads new image or image version, how will the registry in zone B obtain that image?
phalethif repopack controls that process then it's just db record being copied and also a tar.gz file being copied and imported to podman on target VPS
phalethanyway, for now rebuilding images is fine, it's not being done too often and it's rather quick considering that the only optimization that happened is flog
blueyes, it's my intention that it's part of repopack's database
phalethI'd highly recommend to focus on all those already existing tasks first
phalethmaybe even squeeze primate a bit more for some optimizations
bluedo you have concrete suggestions?
phalethcode splitting, ditching svelte, dropping the bloat off of auth pages, torturing clanker into doing more with modern css than with js
phalethI mean the app js bundle dropped from 1.81 MB to 1.13 MB with primate 0.43, but the site is far from feature complete and it will get back there eventually
blueok, can you create a task with all those things? I can work them off one by one
phalethsure, I can try
bluethanks
phalethanyway, do you think existing tasks are not worth it?
blueit didn't, show it? anyway you can opt out of notifs to my knowledge
blueshould it*
phalethoh, so let me turn that off then
bluebut if something needs to be improved, please create a task instead of completely turning it off
bluelike if you think something needs to be informed or not informed
phaleththere are already so many tasks and it's not even the most important stuff :)
phalethyou can't even look through all those tasks yourself, need a clanker to do that
blueit's slowly improving, it's just a big scope, we've already got so much done, don't worry
phalethyeah, the codebase is huge already
blueit's actually not installed I believe, but was in my HOME
phalethI guess there was a trust me bro installer doing that
phalethand that trust me bro installer should have uninstall option
phalethwell, if it's not from pacman than it does not matter
blueit's not
phalethso much RAM free after all those cleanups this week
phalethabsolute waste, repopack app can grow ten times bigger
blueya well, now just need to get rid of granafa and all the java dumpster fire
phalethjava is gone
phalethgrafana is not going anywhere, it'll only be moving
blueI don't even know what grafana does and why it needs so much memory
phalethwe only have one instance of prometheus so far, will prolly have a couple more
phalethgrafana is a beast system, good thing it's written in golang
phalethit's also amazing once you understand it at least a bit
* phaleth still needs to expand those two HAProxy backend dashboards
bluewhat is prometheus?
phalethtime series data provider
phalethalso written in golang
bluewhy do we need all this complexity
phaleththey work very well and actually not difficult to learn
phalethlook into vaultwarden for grafana URLs and take a look at the dashboards yourself
phalethall we are after is total automation and dashboards and then more automation to be able to quickly recover crap we run
blueya
phalethonly via well crafted dashboards we will be able to achieve the goal
blueyeah let's just not fall in love with numbers like americans do
bluenumbers are meaningful, but they're not everything
blueI'll look into grafana
phalethgrafana and prometheus do very well on one important metric and that is their RAM usage
phalethcurrently there is not so much data in prometheus right now, cause I still didn't fully figure out backups, but grafana has no problem displaying one month of data from prometheus