about summary refs log tree commit diff
path: root/distributed-test.nix
Commit message (Collapse)AuthorAgeFilesLines
* NixOS module fixes and temporary fixes to the legacy configurationVika2022-08-131-4/+5
|
* feat: group endpoints under `.kittybox`Vika2022-06-021-3/+3
| | | | | Actually got the idea from https://xeiaso.net/, who groups xer website's endpoints under the `.within` folder.
* flake.nix: reorganizeVika2022-05-241-1/+1
| | | | | | | | | | | | - Kittybox's source code is moved to a subfolder - This improves build caching by Nix since it doesn't take changes to other files into account - Package and test definitions were spun into separate files - This makes my flake.nix much easier to navigate - This also makes it somewhat possible to use without flakes (but it is still not easy, so use flakes!) - Some attributes were moved in compliance with Nix 2.8's changes to flake schema
* flake.nix: make a test for distributed KittyboxVika2022-05-241-0/+89
I said some boastful words about Kittybox being able to horizontally scale and I wanted to prove them. This is the proof. This test creates an NFS file server, then spawns three VMs. Provisioning a website on one of them, it then queries the website on all of the three machines. This shows that a shared backing store can make Kittybox infinitely scale horizontally depending on how much traffic you're getting.