Comments (18)
Hi! This is due to the deprecation of Google code. I'll get a fix in place shortly. Thanks for noticing!
from sangrenel.
Thanks a lot Jamie.
from sangrenel.
Haven't tested yet, but this builds - currently pulled in latest packages that are locally managed. I'll have to do some cleanup and testing: https://github.com/jamiealquiza/sangrenel/tree/updates
from sangrenel.
I updated more questions regarding the new update to your email [email protected] Would you like to check it? Thanks.
from sangrenel.
With more investigation, I think the snappy might be moved to
https://github.com/golang/snappy
I modified sangrenel/vendor/github.com/Shopify/sarama/snappy.go as below.
import (
"bytes"
"github.com/golang/snappy"
"encoding/binary"
)
when I go install the project, error was shown as below...
$ go install github.com/jamiealquiza/sangrenel
# github.com/jamiealquiza/sangrenel/vendor/github.com/Shopify/sarama
github.com/jamiealquiza/sangrenel/vendor/github.com/Shopify/sarama/snappy.go:13:
not enough arguments to return
from sangrenel.
Hello,
Sorry for the trouble, due to some limitations on the way the 'go' command works and me vendoring packages, the following should work:
- mkdir -p $GOPATH/src/github.com/jamiealquiza
- cd $GOPATH/src/github.com/jamiealquiza
- git clone https://github.com/jamiealquiza/sangrenel.git
- cd sangrenel
- git checkout updates
- go get
- go build /github.com/jamiealquiza/sangrenel
This should result in a binary located at $GOPATH/bin/sangrenel. Let me know if you have any trouble!
from sangrenel.
With your instruction. I generated the sangrenel binary file. Thanks a lot. The tool is so wonderful!
I still have some questions on your tool.
- -graphite-ip="": Destination Graphite IP address
Is this IP is private ip or public ip address? Is the ip could be any ip or any machine?
When I run the sangrenel on AWS with AWS instance private IP for Graphite IP Address. It shows "Graphite unreachable: dial tcp .._._:2013: connection refused" no matter I use Kafka broker private IP or client private IP. Should I use any IP address other than broker and client?
- Might I have more instructions on how to open those graphs?
- I run command below and get result below. The result is so beautiful!
$ ./sangrenel -brokers=$myBrokerPrivateIp -size=10000 -rate=40000 -topic=load -clients=2 -graphite-ip=$myBrokerPrivateIp -graphite-port="2013" -producers=1
::: Sangrenel :::
Starting 2 client workers, 1 producers per worker
Message size 10000 bytes, 0 message limit per batch
Compression: none
2015/08/19 21:48:07 Graphite unreachable: dial tcp **.**.*.***:2013: connection refused
2015/08/19 21:48:07 client_2 connected
2015/08/19 21:48:07 client_1 connected
2015/08/19 21:48:12 Generating 159Mb/sec @ 2085 messages/sec | topic: load | 0.91ms 90%ile latency
2015/08/19 21:48:17 Generating 162Mb/sec @ 2117 messages/sec | topic: load | 0.87ms 90%ile latency
2015/08/19 21:48:22 Generating 162Mb/sec @ 2125 messages/sec | topic: load | 0.88ms 90%ile latency
2015/08/19 21:48:27 Generating 162Mb/sec @ 2127 messages/sec | topic: load | 0.84ms 90%ile latency
2015/08/19 21:48:32 Generating 160Mb/sec @ 2101 messages/sec | topic: load | 0.97ms 90%ile latency
I have some questions about those numbers.
Generating 1) 159Mb/sec @ 2) 2085 messages/sec | topic: load | 3) 0.91ms 4) 90%ile latency
- the value (DATA_SIZE_PER_SEC) is global data size per second, right?
- the value (MESSAGE_NUM_PER_SEC) is number message per second global or per client or per producer?
- the value is the latency for average for each message, right?
- 90%lie what is the value meaning?
How is the MESSAGE_NUM_PER_SEC related to rate from command line?
How is DATA_SIZE_PER_SEC related to MESSAGE_NUM_PER_SEC and size from command line?
from sangrenel.
I cannot seem to build your tool. I tried following the instructions above and continue to get this message:
package code.google.com/p/snappy-go/snappy: unable to detect version control system for code.google.com/ path
I have tried running the go get
command with version 1.4-1.6 in go. Any help would be greatly appreciated.
from sangrenel.
Yeah, this is that issue I need to resolve with the code.google repo disappearing. I'll review and get this fixed as soon as I can.
--ja
On Feb 19, 2016, at 4:11 PM, Philip Alexander Etling [email protected] wrote:
I cannot seem to build your tool. I tried following the instructions above and continue to get this message:
package code.google.com/p/snappy-go/snappy: unable to detect version control system for code.google.com/ path
I have tried running the go get command with version 1.4-1.6 in go. Any help would be greatly appreciated.—
Reply to this email directly or view it on GitHub.
from sangrenel.
I appreciate it :). This tools looks awesome!
from sangrenel.
So I just pulled in the latest vendored packages and updated the import schema to the Go 1.6 standards in the updates branch. I can do a clean build using Go 1.6 with the following:
- go get github.com/jamiealquiza/sangrenel
- cd $GOPATH/src/github.com/jamiealquiza/sangrenel
- git checkout updates
- go install github.com/jamiealquiza/sangrenel
Take note that I also just updated to the latest Sarama (the Kafka go client) release and can't ensure that the API hasn't changed, breaking Sangrenel. I'll be thoroughly testing this at some point soon.
from sangrenel.
I will give this a try monday!
from sangrenel.
It worked like a charm. Thank you so much @jamiealquiza !
from sangrenel.
awesome!
from sangrenel.
I followed this:
mkdir -p $GOPATH/src/github.com/jamiealquiza
cd $GOPATH/src/github.com/jamiealquiza
git clone https://github.com/jamiealquiza/sangrenel.git
cd sangrenel
git checkout updates
go get
go build /github.com/jamiealquiza/sangrenel)
from sangrenel.
Hi,
I've just reran your commands using Go 1.6 on OSX 10.11 in a clean GOPATH and was not able to repeat it. What version of Go / operating system are you using? I'll see if I can repeat this.
from sangrenel.
go version is returning "go version xgcc (Ubuntu 4.9.3-0ubuntu4) 4.9.3
linux/amd64"
on Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-44-generic x86_64)
On Wed, Feb 24, 2016 at 7:57 PM, Jamie Alquiza [email protected]
wrote:
Hi,
I've just reran your commands using Go 1.6 on OSX 10.11 in a clean GOPATH
and was not able to repeat it. What version of Go / operating system are
you using? I'll see if I can repeat this.—
Reply to this email directly or view it on GitHub
#14 (comment)
.
Saurabh Gupta
+918377943044
from sangrenel.
Ok, if I recall, that package has version 1.2 of the Go command. Also, you'll want to use the gc compiler. I'd suggest uninstalling the Ubuntu package and installing the latest Go 1.6 using the instructions here: https://golang.org/doc/install - this is what Sangrenel is current built/tested against.
from sangrenel.
Related Issues (20)
- make the tachymeter resize safe
- add tachymeter html graph writing options
- arf
- add required acks config HOT 1
- add error rate
- add message/batch encoding timer
- Better metrics output
- Add notice if sampling occurred
- protocol version control HOT 1
- up default batch size
- rate slowly creeps up with rate-limiter applied
- add overhead % in output
- allow a fixed range for the histogram
- new release version HOT 3
- configurable Sarama API version HOT 1
- breakage HOT 2
- kafka: client has run out of available brokers to talk to (Is your cluster reachable?) HOT 1
- Provide options for authentication
- Invalid API version options
- Invalid API versions after #59 merged
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sangrenel.