Skip to content

Commit

Permalink
[backend] document the BSConfig:sibling* and partition settings
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Jun 6, 2013
1 parent 1d70063 commit a3f385f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/backend/BSConfig.pm.template
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,27 @@ our $relsync_pool = {
# Use old style source service handling
# our $old_style_services = 1;

###
# Optional support to split the binary backend. This can be used on large servers
# to seperate projects for better scalability.
# There is still just one source server, but there can be multiple servers which
# run each repserver, schedulers, dispatcher, warden and publisher
#
# This repo service is the 'home' server for all home:* projects. This and the
# $reposerver setting must be different on the binary backend servers.
# our $sibling = 'home';
#
# this defines how the projects are split. All home: projects are hosted
# on an own server in this example
# our $partition = [ 'home:' => 'home',
# '.*' => 'main',
# ];
#
# our $siblings = { 'home' => 'http://home-backend-server:5252',
# 'main' => 'http://main-backend-server:5252',
# };


# host specific configs
my $hostconfig = "bsconfig." . Net::Domain::hostname();
if(-r $hostconfig) {
Expand Down

0 comments on commit a3f385f

Please sign in to comment.