Skip to content

A prefork proxy to Neo4J to keep a certain number of connections open, warm at all time.

License

Notifications You must be signed in to change notification settings

pho-incubator/neo4j-warmup-proxy

Repository files navigation

test

Prerequisites

How to build & run

Development way

  • run ./gradlew build
  • run ./gradle bootRun
  • send some data to make sure that server works echo -e "MATCH(n) RETURN n;\r" | nc localhost 9999

Build for production

  • run ./gradlew bootJar will cook fat jar (single file with all dependecies inside)

How to run with modified settings

To provide specific config run

  • java -jar build/libs/neoj4-warmup-proxy-0.0.1-SNAPSHOT.jar --spring.config.location=/path/to/config

Or change single property like port number

  • java -jar build/libs/neoj4-warmup-proxy-0.0.1-SNAPSHOT.jar --server.socketPort=11111

How to get code coverage

  • run ./gradlew jacocoTestReport
  • open build/reports/coverage/index.html

Spring experience

About

A prefork proxy to Neo4J to keep a certain number of connections open, warm at all time.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages