P-Grid configuration file
- Filename of the routing table
[RoutingTable]
- The P-Grid routing table file includes information about the P-Grid network.
The file can be set at
RoutingTable. If the given file does not
exist a new file will be created at startup.
Default: RoutingTable.xml
- Filename of the data table
[DataTable]
- The managed data items are stored in the
DataTable file. If
this file does not exists, a new one is created at startup.
Default: DataTable.xml
- Initialization file of the P-Grid mapping tree
[TreeIniFile]
- The initialization file is used to construct the P-Grid mapping tree to
map ASCII string to binary strings. If the initialization file does not exist
the tree is constructed by the database file.
The tree is stored in the initialization file after construction to speed
up consecutive startups.
Default: PGridTree.ini
- Database file of the P-Grid mapping tree
[TreeDbFile]
- The database file is used to construct the P-Grid mapping tree if the initialization
file does not exist.
Default: PGridTree.dat
- Amount of stored fidget hosts
[MaxFidgets]
MaxFidgets references are stored in the local
routing table used to initiate exchanges.
Default: 10
- Maximum amount of recursive exchanges
[MaxRecursions]
- The maximum amount of recusive initiated exchanges during an exchange.
Default: 3
- Amount of stored references per routing level
[MaxReferences]
MaxReferences references are stored for every level of the
local routing table to route queries.
Default: 10
- Amount of random searches
[RandomSearches]
RandomSearches random searches are initiated for every search
created by the local user to improve search results. Less random searches
lead to lower network bandwidth consumption and possible smaller result sets,
whereas a greater amount of random searches lead to a higher bandwidth consumption
and possible greater result sets.
Default: 2
- Exchange rate
[ExchangeRate]
- The minimum period before initiating an exchange with a peer. The
ExchangeRate can vary depending on the current amount of managed data items, the length of the local path, and when the local peer is bootstrapping. The period should be given in milliseconds.
Default: 60000
- Balancing replication load
[ReplicationBalance]
- Load-balancing is guaranteed by P-Grid during network construction for static content. If the amount of peers and data is changing during P-Grid's operation time, balancing replication load is necessary to analyze the current load distribution. If not it can be disabled to reduce bandwidth consumption of P-Grid.
Default: true
- Protocol compression level (ZLIB compression)
[CompressionLevel]
CompressionLevel indicates the used compression level before
sending messages over the P-Grid network. The compression level can be between
0 (no compression) and 9 (best compression).
For further details see the Java
java.util.zip package description.
Default: 9
- Addresses of bootstrap hosts
[BootstrapHosts]
- P-Grid bootstrap hosts are required for new hosts to join the P-Grid network
the first time. A list of bootstrap hosts can be given at
BootstrapHosts
represented by their IP-address or their name and the listening port (<ip:port>
or <name:port>). The hosts should be separated by white
space.
Default: www.p-grid.org:1805
- Connection speed of local host
[ConnectionSpeed]
- The maximum speed Gridella can communicate with other host over the network.
ConnectionSpeed should be a valid integer representing the speed in
kb/second.
Default: 56
- Is the local host behind a firewall
[BehindFirewall]
- If Gridella is running at a host behind a firewall, the
BehindFirewall
property must be set to true, false otherwise.
Default: false
- Resolve IP addresses to host addresses
[ResolveIPs]
- If IP addresses should be resolved to host names, the
ResolveIPs
property must be set to true, false otherwise.
Default: true
- Initiate exchanges automatically
[InitiateExchanges]
- If exchanges should be initiated by the local host,
InitiateExchanges
must be set to true, false otherwise. If a new host
wants to join the P-Grid network the first the property must be set to
true.
Default: true