All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tinkerpop.rexster.rexster.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8"?>
<rexster>
    <http>
        <server-port>8182</server-port>
        <server-host>0.0.0.0</server-host>
        <base-uri>http://localhost</base-uri>
        <web-root>public</web-root>
        <character-set>UTF-8</character-set>
        <enable-jmx>false</enable-jmx>
        <max-post-size>2097152</max-post-size>
        <max-header-size>8192</max-header-size>
        <upload-timeout-millis>30000</upload-timeout-millis>
        <thread-pool>
            <worker>
                <core-size>8</core-size>
                <max-size>8</max-size>
            </worker>
            <kernal>
                <core-size>4</core-size>
                <max-size>4</max-size>
            </kernal>
        </thread-pool>
        <io-strategy>worker</io-strategy>
    </http>
    <rexpro>
        <server-port>8184</server-port>
        <server-host>0.0.0.0</server-host>
        <session-max-idle>1790000</session-max-idle>
        <session-check-interval>3000000</session-check-interval>
        <connection-max-idle>180000</connection-max-idle>
        <connection-check-interval>3000000</connection-check-interval>
        <enable-jmx>false</enable-jmx>
        <thread-pool>
            <worker>
                <core-size>8</core-size>
                <max-size>8</max-size>
            </worker>
            <kernal>
                <core-size>4</core-size>
                <max-size>4</max-size>
            </kernal>
        </thread-pool>
        <io-strategy>worker</io-strategy>
    </rexpro>
    <shutdown-port>8183</shutdown-port>
    <shutdown-host>127.0.0.1</shutdown-host>
    <script-engine-reset-threshold>500</script-engine-reset-threshold>
    <security>
        <authentication>
            <type>none</type>
            <configuration>
                <users>
                    <user>
                        <username>rexster</username>
                        <password>rexster</password>
                    </user>
                </users>
            </configuration>
        </authentication>
    </security>
    <graphs>
        <graph>
            <graph-name>emptygraph</graph-name>
            <graph-type>tinkergraph</graph-type>
            <graph-mock-tx>true</graph-mock-tx>
            <extensions>
                <allows>
                    <allow>tp:gremlin</allow>
                </allows>
            </extensions>
        </graph>
        <graph>
            <graph-name>tinkergraph</graph-name>
            <graph-type>tinkergraph</graph-type>
            <graph-location>data/graph-example-1</graph-location>
            <graph-mock-tx>true</graph-mock-tx>
            <extensions>
                <allows>
                    <allow>tp:gremlin</allow>
                </allows>
            </extensions>
        </graph>
        <graph>
            <graph-name>tinkergraph-readonly</graph-name>
            <graph-read-only>true</graph-read-only>
            <graph-type>tinkergraph</graph-type>
            <graph-location>data/graph-example-1</graph-location>
            <extensions>
                <allows>
                    <allow>tp:gremlin</allow>
                </allows>
            </extensions>
        </graph>
        <graph>
            <graph-name>gratefulgraph</graph-name>
            <graph-type>com.tinkerpop.rexster.config.TinkerGraphGraphConfiguration</graph-type>
            <graph-location>data/graph-example-2</graph-location>
            <extensions>
                <allows>
                    <allow>tp:gremlin</allow>
                </allows>
            </extensions>
        </graph>
        <graph>
            <graph-enabled>false</graph-enabled>
            <graph-name>emptysailgraph</graph-name>
            <graph-type>memorystoresailgraph</graph-type>
        </graph>
        <graph>
            <graph-enabled>false</graph-enabled>
            <graph-name>sailgraph</graph-name>
            <graph-type>nativestoresailgraph</graph-type>
            <graph-location>data/sailgraph</graph-location>
        </graph>
        <graph>
            <graph-enabled>false</graph-enabled>
            <graph-name>orientdbsample</graph-name>
            <graph-type>orientgraph</graph-type>
            <graph-location>local:/tmp/orientdb-graph</graph-location>
            <properties>
                <username>admin</username>
                <password>admin</password>
            </properties>
            <extensions>
                <allows>
                    <allow>tp:gremlin</allow>
                </allows>
            </extensions>
        </graph>
        <graph>
            <graph-enabled>false</graph-enabled>
            <graph-name>neo4jsample</graph-name>
            <graph-type>neo4jgraph</graph-type>
            <graph-location>/tmp/neo4j-graph</graph-location>
            <properties>
                <!-- Memory mapped I/O settings -->
                <!-- For high traversal speed it is important to have the nodestore.db and relationshipstore.db files. -->
                <neostore.nodestore.db.mapped_memory>285M</neostore.nodestore.db.mapped_memory>
                <neostore.relationshipstore.db.mapped_memory>285M</neostore.relationshipstore.db.mapped_memory>
                <neostore.propertystore.db.mapped_memory>100M</neostore.propertystore.db.mapped_memory>
                <neostore.propertystore.db.strings.mapped_memory>100M</neostore.propertystore.db.strings.mapped_memory>
                <neostore.propertystore.db.arrays.mapped_memory>10M</neostore.propertystore.db.arrays.mapped_memory>
                <neostore.propertystore.db.index.mapped_memory>10M</neostore.propertystore.db.index.mapped_memory>
                <neostore.propertystore.db.index.keys.mapped_memory>10M
                </neostore.propertystore.db.index.keys.mapped_memory>

                <!-- Cache settings  -->
                <!-- use adaptive caches YES|NO. Let Neo try make best use of available heap.  -->
                <use_adaptive_cache>YES</use_adaptive_cache>

                <!-- heap usage/max heap size ratio. Neo will increase caches while ratio
                     is less and decrease if greater. Default 0.77 seems to be a good over
                     all ratio of heap usage to avoid GC trashing. Larger heaps may allow for
                     a higher ratio while tiny heaps may need even less. -->
                <adaptive_cache_heap_ratio>0.77</adaptive_cache_heap_ratio>

                <!-- how aggressive Neo will decrease caches once heap ratio reached  -->
                <adaptive_cache_manager_decrease_ratio>1.15</adaptive_cache_manager_decrease_ratio>

                <!-- how aggressive Neo will increase caches if ratio isn't yet reached  -->
                <adaptive_cache_manager_increase_ratio>1.1</adaptive_cache_manager_increase_ratio>

                <!-- if no requests are made to Neo this is the amount of time in ms Neo will wait
                     before it checks the heap usage and adapts the caches if needed -->
                <adaptive_cache_worker_sleep_time>3000</adaptive_cache_worker_sleep_time>

                <!-- minimum size (number of nodes) of node cache. If adaptive cache is in use
                     node cache will not be decreased under this value -->
                <min_node_cache_size>0</min_node_cache_size>

                <!--  minimum size (number of relationships) of relationship cache. If adaptive
                      cache is in use relationship cache will not be decreased under this value -->
                <min_relationship_cache_size>0</min_relationship_cache_size>

                <!-- maximum size (number of nodes) of node cache. If adaptive cache is not in
                     use the node cache will not be increased above this value -->
                <max_node_cache_size>1500</max_node_cache_size>

                <!-- maximum size (number of relationship) of node cache. If adaptive cache is
                     not in use the relationship cache will not be increased above this value  -->
                <max_relationship_cache_size>3500</max_relationship_cache_size>
            </properties>
            <extensions>
                <allows>
                    <allow>tp:gremlin</allow>
                </allows>
            </extensions>
        </graph>
        <graph>
            <graph-enabled>false</graph-enabled>
            <graph-name>dexsample</graph-name>
            <graph-type>dexgraph</graph-type>
            <graph-location>/tmp/graph.dex</graph-location>
            <extensions>
                <allows>
                    <allow>tp:gremlin</allow>
                </allows>
            </extensions>
        </graph>
        <graph>
            <graph-enabled>false</graph-enabled>
            <graph-name>remotetinkergraph</graph-name>
            <graph-type>rexstergraph</graph-type>
            <graph-buffer-size>100</graph-buffer-size>
            <graph-location>http://remoteserver:8182/tinkergraph</graph-location>
            <extensions>
                <allows>
                    <allow>tp:gremlin</allow>
                </allows>
            </extensions>
        </graph>
    </graphs>
</rexster>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy