DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
The Latest "Software Integration: The Intersection of APIs, Microservices, and Cloud-Based Systems" Trend Report
Get the report
  1. DZone
  2. Data Engineering
  3. Databases
  4. Neo4j App Performance Profile Management using New Relic

Neo4j App Performance Profile Management using New Relic

Romiko Derbynew user avatar by
Romiko Derbynew
·
Feb. 10, 12 · Interview
Like (0)
Save
Tweet
Share
8.15K Views

Join the DZone community and get the full member experience.

Join For Free

hi,

we currently need a way to have performance profiling management solution in place for neo4j running in windows azure cloud. the benefits of course is on going data analysis and performance statistics, not to mention assisting in debugging issues with performance. the best part of it all, is the agent that collects the data just runs as part of the jvm and the data is automatically uploaded to the website where you can view it online.

new relic account

the first thing you will need to do is create a new relic account at:

http://newrelic.com/

once, this is done, you can then download the java agent which will contain two files:

newrelic.jar

newrelic.yml

the yml file contains the license key and the application name to display on the new relic performance dashboard website. when you use new relic it has a trial option, so it is easy to test out.

infrastructure

what we do is store these zip files in blob storage and when the worker role is bootstrapping, it will then download the zip file, and then automatically edit the neo4j config files before starting up neo4j.

image

neo4j configuration

it is extremely simple to configure the relic agent to run and profile neo4j, all you need to do is edit the neo4j-wrapper.conf file and add this line of code.

wrapper.java.additional.2=-javaagent:..\newrelic.jar

we use a relative path, as we store the newrelic jar relative to the neo4j binaries, so all you need to do is store the newrelic.jar file in a location where neo4j can access it from when starting up.

dashboard

once this has been deployed to the cloud, we then have performance statistic automatically made available to use via the neo4j jvm on the new relic web site!

image

from here, you can actually click a segment on the graph and drill into the method level calls that occurred in the jvm.

image

notice that you can get details about the timing of method invocation timings.

image

comparing environments

what is really cool, is comparing response times between environments, so you can see how fast uat/prod/dev are compared to one another

image

conclusion

it is a relatively easy task to get application performance statistics for neo4j running in or out of the cloud and new relic seems to be a really useful tool with minimal overhead to get up and running, so i would highly recommend using the combination together. this coupled with visualjm should provide enough performance data and profiling when collecting performance data and compiling reports.

source: http://romikoderbynew.com/2012/01/16/neo4j-application-performance-profiling-management-with-new-relic/

Neo4j Profile (engineering) app

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Assessment of Scalability Constraints (and Solutions)
  • Keep Your Application Secrets Secret
  • Chaos Engineering Tutorial: Comprehensive Guide With Best Practices
  • Introduction To OpenSSH

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: