{"repo":"juspay/chutney","free":true,"listed":false,"github":"https://github.com/juspay/chutney","clone":"git clone https://github.com/juspay/chutney.git","description":"Reliable Nix Cache Server configuration for self-hosting","language":"Nix","stars":14,"topics":[],"license":"AGPL-3.0","category":"self-hosted-apps","readme_excerpt":"chutney [!WARNING] Status: 🚧 Work in Progress 🚧 This project might undergo changes as we scale the cache to cover 1000+ users at Juspay. See https://github.com/juspay/chutney/issues/17 for current status on reliability. chutney provides a NixOS + terranix configuration to deploy a reliable Nix binary cache server, powered by attic. - Getting Started - Limitations - Operational Decisions - Guide - Cache Creation - Secrets - Garbage Collection - Migration - Gotchas - Discussion Getting Started By default, chutney deploys its infrastructure on AWS. To get started, follow the AWS guide. If you are not using AWS, you can use the standalone NixOS modules, which are decoupled from the terranix configuration. See the NixOS Modules guide. Limitations - Unbounded DB and S3 growth Operational Decisions Disable Chunking Chunking saves storage space but costs significantly more due to S3 PUT request pricing. Disabling chunking saves 95% on S3 PUT cost (see https://github.com/juspay/chutney/issues/48#issuecomment-3478249583). One might argue that the storage cost might bite us in the long run, but we don't have to worry about that given we solve https://github.com/juspay/chutney/issues/52. Guide Administrate cache Login to attic using the root-token for admin related work: Create cache - Ensure you are logged in as an admin (see Administrate cache) - Run nix run nixpkgs#attic-client cache create - SSH into the host and generate the access token, see comments above attic/oss-push-token.ag","default_branch":null,"files":null,"tree":[],"storefront":"/r/juspay","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/juspay/chutney/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}