Skip to content

Instantly share code, notes, and snippets.

@rubiojr
Created April 23, 2013 09:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rubiojr/6ea3d0ea0c4d00949d33 to your computer and use it in GitHub Desktop.
Save rubiojr/6ea3d0ea0c4d00949d33 to your computer and use it in GitHub Desktop.
Swift Storage Configs
[DEFAULT]
devices = /srv/node
bind_ip = 1.2.3.4
bind_port = 6002
mount_check = true
user = swift
log_facility = LOG_LOCAL2
workers = 2
db_preallocation = on
[pipeline:main]
pipeline = recon account-server
[app:account-server]
use = egg:swift#account
[account-replicator]
concurrency = 2
[account-auditor]
[account-reaper]
concurrency = 2
[filter:recon]
use = egg:swift#recon
recon_cache_path = /var/cache/swift
[DEFAULT]
devices = /srv/node
bind_ip = 1.2.3.4
bind_port = 6001
mount_check = true
user = swift
log_facility = LOG_LOCAL2
workers = 4
db_preallocation = on
[pipeline:main]
pipeline = recon container-server
[app:container-server]
use = egg:swift#container
[container-replicator]
concurrency = 2
interval = 180
[container-updater]
concurrency = 2
slowdown = 0.02
[container-auditor]
containers_per_second = 100
[container-sync]
[filter:recon]
use = egg:swift#recon
recon_cache_path = /var/cache/swift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment