ahriman/recipes/distributed
2023-12-20 10:00:12 +02:00
..
compose.yml chore: add configuration recipes 2023-12-20 10:00:12 +02:00
nginx.conf chore: add configuration recipes 2023-12-20 10:00:12 +02:00
README.md chore: add configuration recipes 2023-12-20 10:00:12 +02:00
service.ini chore: add configuration recipes 2023-12-20 10:00:12 +02:00
worker.ini chore: add configuration recipes 2023-12-20 10:00:12 +02:00

Distributed

  1. Create user demo with password from AHRIMAN_PASSWORD environment variable.
  2. Setup repository named ahriman-demo with architecture x86_64.
  3. Start web server at port 8080.
  4. Start two workers.
  5. All updates triggered by the web server will be passed to workers.
  6. All updates from worker instances are uploaded to the web service.
  7. Repository is available at http://localhost:8080/repo.

Note, in this configuration, workers are spawned in replicated mode, thus the backend accesses them in round-robin-like manner.