| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<rexster> |
| 3 |
<rexster-server-port>8182</rexster-server-port> |
| 4 |
<rexster-shutdown-port>8183</rexster-shutdown-port> |
| 5 |
<rexster-shutdown-host>127.0.0.1</rexster-shutdown-host> |
| 6 |
<rexpro-server-port>8184</rexpro-server-port> |
| 7 |
<rexpro-session-max-idle>1790000</rexpro-session-max-idle> |
| 8 |
<rexpro-session-check-interval>3000000</rexpro-session-check-interval> |
| 9 |
<base-uri>http://localhost</base-uri> |
| 10 |
<web-root>public</web-root> |
| 11 |
<character-set>UTF-8</character-set> |
| 12 |
<graphs> |
| 13 |
<graph> |
| 14 |
<graph-enabled>true</graph-enabled> |
| 15 |
<graph-name>chambrebasse</graph-name> |
| 16 |
<graph-type>neo4jgraph</graph-type> |
| 17 |
<graph-file>neo4j</graph-file> |
| 18 |
<graph-high-availability>true</graph-high-availability> |
| 19 |
<properties> |
| 20 |
<enable_online_backup>true</enable_online_backup> |
| 21 |
<!-- enable_remote_shell>true</enable_remote_shell --> |
| 22 |
<!-- Memory mapped I/O settings --> |
| 23 |
<!-- For high traversal speed it is important to have the nodestore.db and relationshipstore.db files. --> |
| 24 |
<neostore.nodestore.db.mapped_memory>285M</neostore.nodestore.db.mapped_memory> |
| 25 |
<neostore.relationshipstore.db.mapped_memory>285M</neostore.relationshipstore.db.mapped_memory> |
| 26 |
<neostore.propertystore.db.mapped_memory>100M</neostore.propertystore.db.mapped_memory> |
| 27 |
<neostore.propertystore.db.strings.mapped_memory>100M</neostore.propertystore.db.strings.mapped_memory> |
| 28 |
<neostore.propertystore.db.arrays.mapped_memory>10M</neostore.propertystore.db.arrays.mapped_memory> |
| 29 |
<neostore.propertystore.db.index.mapped_memory>10M</neostore.propertystore.db.index.mapped_memory> |
| 30 |
<neostore.propertystore.db.index.keys.mapped_memory>10M</neostore.propertystore.db.index.keys.mapped_memory> |
| 31 |
<ha.machine_id>1</ha.machine_id> |
| 32 |
<ha.server>localhost:6001</ha.server> |
| 33 |
<ha.zoo_keeper_servers>localhost:2181</ha.zoo_keeper_servers> |
| 34 |
|
| 35 |
<!-- Cache settings --> |
| 36 |
<!-- use adaptive caches YES|NO. Let Neo try make best use of available heap. --> |
| 37 |
<use_adaptive_cache>YES</use_adaptive_cache> |
| 38 |
|
| 39 |
<!-- heap usage/max heap size ratio. Neo will increase caches while ratio |
| 40 |
is less and decrease if greater. Default 0.77 seems to be a good over |
| 41 |
all ratio of heap usage to avoid GC trashing. Larger heaps may allow for |
| 42 |
a higher ratio while tiny heaps may need even less. --> |
| 43 |
<adaptive_cache_heap_ratio>0.77</adaptive_cache_heap_ratio> |
| 44 |
|
| 45 |
<!-- how aggressive Neo will decrease caches once heap ratio reached --> |
| 46 |
<adaptive_cache_manager_decrease_ratio>1.15</adaptive_cache_manager_decrease_ratio> |
| 47 |
|
| 48 |
<!-- how aggressive Neo will increase caches if ratio isn't yet reached --> |
| 49 |
<adaptive_cache_manager_increase_ratio>1.1</adaptive_cache_manager_increase_ratio> |
| 50 |
|
| 51 |
<!-- if no requests are made to Neo this is the amount of time in ms Neo will wait |
| 52 |
before it checks the heap usage and adapts the caches if needed --> |
| 53 |
<adaptive_cache_worker_sleep_time>3000</adaptive_cache_worker_sleep_time> |
| 54 |
|
| 55 |
<!-- minimum size (number of nodes) of node cache. If adaptive cache is in use |
| 56 |
node cache will not be decreased under this value --> |
| 57 |
<min_node_cache_size>0</min_node_cache_size> |
| 58 |
|
| 59 |
<!-- minimum size (number of relationships) of relationship cache. If adaptive |
| 60 |
cache is in use relationship cache will not be decreased under this value --> |
| 61 |
<min_relationship_cache_size>0</min_relationship_cache_size> |
| 62 |
|
| 63 |
<!-- maximum size (number of nodes) of node cache. If adaptive cache is not in |
| 64 |
use the node cache will not be increased above this value --> |
| 65 |
<max_node_cache_size>1500</max_node_cache_size> |
| 66 |
|
| 67 |
<!-- maximum size (number of relationship) of node cache. If adaptive cache is |
| 68 |
not in use the relationship cache will not be increased above this value --> |
| 69 |
<max_relationship_cache_size>3500</max_relationship_cache_size> |
| 70 |
</properties> |
| 71 |
</graph> |
| 72 |
</graphs> |
| 73 |
</rexster> |