Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.
/ neo4j-warmup Public archive

Simple library that warms up Neo4j caches with a single REST call

Notifications You must be signed in to change notification settings

graphaware/neo4j-warmup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphAware Neo4j Warmup - RETIRED

Warmup Has Been Retired

As of July 5th 2016, this module is retiring. This means it will no longer be maintained and released together with new versions of the GraphAware Framework and Neo4j. The last compatible Neo4j version is 3.0.3.

If you're interested in its functionality, please use APOC instead. Unlike many other GraphAware modules, nobody is using Warmup in production, to the best of our knowledge.

This repository will remain public. Please get in touch if you've been using Warmup and APOC isn't good enough for you.

Introduction

Build Status | Downloads | Latest Release: 3.0.3.39.5

GraphAware WarmUp is a simple piece of code that warms up Neo4j caches using a single API call by accessing the entire graph using all available processors.

Getting the Software

Server Mode

When using Neo4j in the standalone server mode, you will need the GraphAware Neo4j Framework and GraphAware Neo4j WarmUp .jar files (both of which you can download here) dropped into the plugins directory of your Neo4j installation. After Neo4j restart, you will be able to use the REST API and stored procedures.

Embedded Mode / Java Development

Java developers that use Neo4j in embedded mode and those developing Neo4j server plugins, unmanaged extensions, GraphAware Runtime Modules, or Spring MVC Controllers can include use WarmUp as a dependency for their Java project.

Releases

Releases are synced to Maven Central repository. When using Maven for dependency management, include the following dependency in your pom.xml.

<dependencies>
    ...
    <dependency>
        <groupId>com.graphaware.neo4j</groupId>
        <artifactId>warmup</artifactId>
        <version>3.0.3.39.5</version>
    </dependency>
    ...
</dependencies>

Note on Versioning Scheme

The version number has two parts. The first four numbers indicate compatibility with Neo4j GraphAware Framework. The last number is the version of the WarmUp library. For example, version 2.1.3.15.1 is version 1 of WarmUp compatible with GraphAware Neo4j Framework 2.1.3.15.

Using GraphAware WarmUp

In server mode, execute the CALL ga.warmup.run() Cypher query or issue a GET request to http://your-server-address:7474/graphaware/warmup/ to warm up the caches. In Java, use the warmUp method on the WarmUp class.

License

Copyright (c) 2014-2016 GraphAware

GraphAware is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

Simple library that warms up Neo4j caches with a single REST call

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages