Skip to content
yayugu edited this page May 15, 2014 · 16 revisions

EN / [JP](Reference JP)

flarei (index server)

command line option

-f/--config

  • specify path to configuratio file

-v/--version

  • display version and exit

-h/--help

  • display help and exit

configuration file option

Following options are also available as command line options, and "[dynamic]" options accept runtime updates w/ SIGHUP (reload).

back-log

  • backlog parameter for listen() (default=30)

daemonize

  • damonized just after startup

data-dir

  • specify path to data directory [required]

log-facility

  • specify syslog facility (default=none) [dynamic]

max-connection

  • specify max connections (default=128) [dynamic]

monitor-threshold

  • node monitoring error threshold to detect node down (defualt=3) [dynamic]

monitor-interval

  • node monitoring internval (sec) (default=5) [dynamic]

monitor-read-timeout

  • node monitoring timeout (msec) (default=1000) [dynamic]

net-read-timeout

  • network read timeout (sec) (default=600)

partition-size

  • maximum partition size (default=1024)

partition-type

  • partitioning algorithm type (default=modular)

key-hash-algorithm

  • specify hash algorithm for keys from below options (default=simple)
  • simple, bitshift, crc32, alert32, murmur, jenkins

server-name

  • server name (default=hostname -f)

server-port

  • server port (default=12120)

server-socket

  • path to unix domain socket

stack-size

  • stack size of each thread (KB) (default=128)

thread-pool-size

  • max thread pool size (default=5)

index-db

  • Specify where a flare.xml is stored.
  • You can select either a local file directory or a zookeeper server.[default=file://$data_dir]
index-db = file://path/to/index-db-dir
index-db = zookeeper://zookeeper.internal:39913/

flared (node server)

command line option

-f/--config

  • specify path to configuratio file

-v/--version

  • display version and exit

-h/--help

  • display help and exit

configuration file option

Following options are also available as command line options, and "[dynamic]" options accept runtime updates w/ SIGHUP (reload).

back-log

  • backlog parameter for listen() (default=30)

daemonize

  • damonized just after startup

data-dir

  • specify path to data directory [required]

index-servers

  • Multiple index servers for the redundant configuration.
  • Specify by the pair of IP address and port number such as the below.
  • If this parameter is given then "index-server-name" and "index-server-port" are ignored.[required] [dynamic]
index-servers = localhost:12120
index-servers = 100.100.100.100:12120, 100.100.100.101:12120, 100.100.100.102:12120

index-server-name

  • index server name [deprecated]

index-server-port

  • index server port (default=12120) [deprecated]

log-facility

  • specify syslog facility (default=none) [dynamic]

max-connection

  • max connections (default=128) [dynamic]

mutex-slot

  • lock slot for storage I/O (default=64)

noreply-window-limit

  • maximum number of the proxy requests without response (default=0)

net-read-timeout

  • network read timeout (sec) (default=600)

proxy-cnncurrency

  • specify proxy request concurrency (default=2)

reconstruction-interval

  • dump interval in usec for each record (affected in case of node reconstruction) (default=0) [dynamic]

reconstruction-bwlimit

  • limit I/O bandwidth in KBytes per second for dump operation (affected in case of node reconstruction) (default=0) [dynamic]

replication-type

  • "sync" or "async" for handling a replication query (default=sync) [dynamic]

server-name

  • server name (default=hostname -f)

server-port

  • server port (default=12120)

server-socket

  • path to unix domain socket

stack-size

  • stack size of each thread (KB) (default=128)

storage-ap

  • alignment power (default=4)

storage-fp

  • space efficiency of database (default=10)

storage-bucket-size

  • number of buckets (recommends twice of estimated number of records) (default=131071)

storage-cache-size

  • specify size of removed header cache (default=65536)

stroage-compress

  • compress option of storage data (deflate|bz2|tcbs) (default=none)

storage-large

  • specifiy this if you will use large number of data (greater than 4GB) (default=none)

storage-type

  • sepecify storage type (currently "tch" is only available) (default=tch)

thread-pool-size

  • max thread pool size (default=5)

proxy-prior-netmask

  • specify the prioritized nodes by bits of IPv4 netmask for each proxy read request (default=0)
  • If 19 is given then the nodes which have the IPv4 IP address masked by "/19" are prioritized to forward proxy requests

max-total-thread-queue

  • limit total queue size of threads by the specified value (default=0) [dynamic]