graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #04290
Re: [Question #233976]: Failing attempts in benchmarking Graphite
Question #233976 on Graphite changed:
https://answers.launchpad.net/graphite/+question/233976
Status: Open => Answered
Brian Hatfield proposed the following answer:
Piping to NC is probably the wrong way to do this - I would instead write a
small script that reads your metrics line by line and reuses an existing
socket.
On Tue, Aug 13, 2013 at 4:11 PM, Shai Duvdevani <
question233976@xxxxxxxxxxxxxxxxxxxxx> wrote:
> New question #233976 on Graphite:
> https://answers.launchpad.net/graphite/+question/233976
>
> I have a big file (1,500,000 lines of different metrics).
>
> If I do "cat myFile | nc localhost 2013", after roughly 1 minute the
> command returns.
> * Graphite agent "Metrics Received" shows the correct number
> * But - Storage directory contains only 74 whisper files
> * Accordingly, UI has only 74 metrics available
>
> If I do "head -300 myFile | nc localhost 2013", after roughly 1 second the
> command returns.
> * Graphite agent "Metrics Received" shows the correct number
> * But - Storage directory contains only 124 whisper files
> * Again, UI conforms to storage dir
>
> What am I doing wrong when trying to feed Carbon with new metrics?
>
> --
> You received this question notification because you are a member of
> graphite-dev, which is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to : graphite-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help : https://help.launchpad.net/ListHelp
>
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.