Skip to content

Fixing ConsistentHash hashing, lib versions and logging #6

Open
deniszh wants to merge 4 commits intomarkchadwick:masterfrom
deniszh:master
Open

Fixing ConsistentHash hashing, lib versions and logging #6
deniszh wants to merge 4 commits intomarkchadwick:masterfrom
deniszh:master

Conversation

@deniszh
Copy link

@deniszh deniszh commented Nov 7, 2013

Hello!
I was able to successfully run graphite-relay on my testing Graphite environment with ~500K metrics/min with my changes below. Main change is Graphite-compatible hashing which provide good performance, since carbonlink requests from graphite-web hits proper carbon-caches now. Also I upgraded scopt and netty and make slight logging changes (we got many garbage from some agents, but maybe it's not an option for others)

NB: Latest Netty 3.8.0 is not in repo, please donload it separately and put netty.jar to ~/.ivy2/local/org.jboss.netty/netty/3.8.0.Final/jars/
Now its compatible with Graphite-web, so, metrics hit same carbon caches as
Graphite-web, so we got cache-hit and metrics are reading from RAM instead of disk
I commented out "Invalid message" error - we got ton of them
and provide (ugly) error handling when we got non-numeric value
(we also got ton of them, its only put garbage in logs)
@deniszh
Copy link
Author

deniszh commented Nov 7, 2013

PS: and I'm complete newbie in Scala, so, maybe my code is ugly, please bear with me. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant