markchadwick / graphite-relay Goto Github PK
View Code? Open in Web Editor NEWA fast Graphite relay
License: Apache License 2.0
A fast Graphite relay
License: Apache License 2.0
I would like to use some of your code to implement some load tests against Graphite using Iago (https://github.com/twitter/iago) but wont be able to publish them unless you declare a license. Without specifying, the copyright defaults to 'all rights reserved'.
Can you take a moment to drop a LICENSE file you like in the repo? It'd be much appreciated :)
After some running (20 minutes) on our test environment I fount that relay open tons of connections to client:
root@graph:/# netstat -apn | grep 25782 | grep ESTA | wc -l
1297
root@graph:/# netstat -apn | grep 25782 | grep CLOS | wc -l
2669
As far as I understand these connections are holded by Netty. How can I mitigate this?
Thanks!
Hello,
I would like to use this graphite-relay app with one of my projects, but the issue is that I have not been able to lunch the relay server (graphite-relay-0.2.7.jar).
Is it necessary to have any additional jar in the classpath?
java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b20)
Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode)
Loading graphite-relay.properties
2012-06-05 13:00:22,741 [main ] INFO Main - Backend Strategy: class graphite.relay.backend.strategy.ConsistentHash
2012-06-05 13:00:22,742 [main ] INFO Main - Overflow Handler: class graphite.relay.overflow.BitchingOverflowHandler
Exception in thread "main" com.google.inject.ConfigurationException: Guice configuration errors:
1 error
at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1004)
at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:961)
at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
at graphite.relay.Main$.main(Main.scala:43)
at graphite.relay.Main.main(Main.scala)
Thanks in advance for any help.
Hi Mark,
Trying to test your relay against our installation of Graphite 0.9.11 - relay and 4 caches with consistent hashing.
Found everything "working" but graphs on Graphite-web looks totally wrong - like we loosing all caches but one:
Checked that's not true - all 4 caches got updates, and all updates went to disk.
So, my idea was that hashing algorithm in your implementation differs than what Graphite use, and I found that you use just simple CRC32:
https://github.com/markchadwick/graphite-relay/blob/master/src/main/scala/backend/strategy/ConsistentHash.scala#L39-43
but Graphite use int( md5hex() [:4])
https://github.com/graphite-project/carbon/blob/master/lib/carbon/hashing.py#L16-19
https://github.com/graphite-project/graphite-web/blob/master/webapp/graphite/render/hashing.py#L66-69
Could you please tell me if I'm right and providing proper hashing will help? ('cause I'm not very good at scala and I want to spend my time on this patch only if I'm thinking right)
Thanks!
Hi Mark,
Sorry for the dumb question. If I have to compile the source code, do I need to compile it in openjdk-7? Can you point me to some documentation for the same for me to do the same?
If the documentation is in progress, is there a jar file uploaded somewhere that I can use? I would be happy to help you with the documentation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.