| 20 Oct 2023 |
| @ninjatrappeur:alternativebit.fr changed their display name from NinjaTrappeur to PicNoir (was Ninjatrappeur). | 10:34:52 |
| 22 Oct 2023 |
@janik0:matrix.org | Did anyone here ever deploy a nix binary cache inside a docker container? Why I'm asking is: The CI I'm using for most of my stuff woodpecker has a feature called services where it can basically deploy containers along side which are not persistent (I think they can be made persistent mounting volumes) but live until the runner get's restarted and I basically want to replicate magic-nix-cache by having a service container running which acts as a nix-cache so my CI build steps can use it.
I'm probably going to build my own nix-docker-cache image If no one did something like this before, just wanted to ask before doing the same work multiple times. Also I hope this is the right channel, because this setup would not be "very large-scale" but the name still fit the best.
| 21:15:11 |
raitobezarius | if you can make garage's state persistent | 21:15:50 |
raitobezarius | you can just deploy a garage+attic | 21:15:53 |
raitobezarius | maybe attic state too | 21:15:59 |
@janik0:matrix.org | I wouldn't even need garage for a s3 storage, local container storage would be just fine. I also don't mind if I have to rebuild the cache every once in a while since I wouldn't want this to be my main binary cache anyways. | 21:20:23 |
raitobezarius | I'm not exactly sure what do you want to optimize for therefore | 21:20:54 |
@janik0:matrix.org | But I don't think anyone has setup attic in a docker container before? So I'll probably have to write the dockerfile for that | 21:20:55 |
raitobezarius | Yeah but it's really just using Nix to build a Docker container with the entrypoint set to attic, no? | 21:21:11 |
raitobezarius | Maybe the database stuff I guess | 21:21:16 |
@janik0:matrix.org | It would basically be converting https://github.com/zhaofengli/attic/blob/main/nixos/atticd.nix this module into a dockerfile which for sure is doable, I just wanted to ask if anyone else did something similar to this before | 21:23:42 |
@janik0:matrix.org | there actually is a attic docker image upstream: https://github.com/zhaofengli/attic/blob/main/flake.nix#L90 it's just not documented quite yet https://github.com/zhaofengli/attic/pull/47/files | 21:37:29 |
| 25 Oct 2023 |
| @federicodschonborn:matrix.org changed their profile picture. | 00:13:28 |
| 26 Oct 2023 |
| @lehmanator:gnulinux.club joined the room. | 20:34:07 |
| 27 Oct 2023 |
| @federicodschonborn:matrix.org changed their profile picture. | 01:24:58 |
| 29 Oct 2023 |
| @cathalmullan:matrix.org changed their display name from Cathal Mullan to Cathal. | 14:48:32 |
| 3 Nov 2023 |
| mib 🥐 changed their profile picture. | 13:51:27 |
| 10 Nov 2023 |
| paul / pfz4 joined the room. | 16:45:23 |
| 11 Nov 2023 |
| Picnoir joined the room. | 07:11:26 |
| @ninjatrappeur:alternativebit.fr left the room. | 07:11:28 |
| Picnoir changed their profile picture. | 13:10:41 |
| 15 Nov 2023 |
| Alyssa Ross joined the room. | 17:20:26 |
| NixOS Moderation Botchanged room power levels. | 18:11:54 |
| @eisfunke:eisfunke.com changed their profile picture. | 22:40:56 |
| 19 Nov 2023 |
| ZXGU joined the room. | 10:59:33 |
| 21 Nov 2023 |
| paul / pfz4 left the room. | 21:24:50 |
| 26 Nov 2023 |
Julien | To people running attic, what kind of performance are you getting on upload ? For some reason I am getting very poor performance, like less than 1MiB/s. I am using local storage and postgresql, and I am seeing that my io is at 100% read when uploading | 13:48:35 |
ajs124 | iirc my performance is better, but I don't use local storage | 15:49:07 |
| 29 Nov 2023 |
@linus:schreibt.jetzt | In reply to @julienmalka:matrix.org To people running attic, what kind of performance are you getting on upload ? For some reason I am getting very poor performance, like less than 1MiB/s. I am using local storage and postgresql, and I am seeing that my io is at 100% read when uploading It was really slow for me too until I changed the chunking params to get bigger chunks | 06:38:08 |
@linus:schreibt.jetzt | The suggested numbers go pretty hard on the database and file metadata | 06:38:56 |