[go-nuts] Re: Completeness of Golang drivers for open-source and enterprise databases.

2017-06-11 Thread pierre . curto
Hello, The usql project (https://github.com/knq/usql) lists many SQL drivers, including some of the ones you are after. It seems that there is no DB2 driver and the current Sybase one is Windows only though. HTH Le jeudi 8 juin 2017 17:38:25 UTC+2, hari.e...@gmail.com a écrit : > > Hi All, > >

[go-nuts] https://talks.golang.org/ down...?

2017-06-11 Thread brylant
I'm guessing this is not desired response from talks.golang.org..: Error: Server ErrorThe service you requested is not available yet. Please try again in 30 seconds. It's been down for last few days... Anybody has any idea when the service is going to be back? -- You received this message be

[go-nuts] Re: dial io timeout and tcp short connection performance bottleneck

2017-06-11 Thread mjstevenson
Are you exhausting the local TCP sockets? Some (50k?) in a wait state? Try using a few IP addresses on the test box. Increase /proc/sys/net/core/somaxconn to a larger value, if you have a 20 millisecond pause at 28kreqs/sec then thats 500 ish connections so 1024 may not be enough. -- You rece

[go-nuts] Looking for a Go Mentor (paid)

2017-06-11 Thread simran
Hi All, I get time on and off to do a bit of Go… i could be classified as a tinkerer at a very junior level (although i have been programming for a long time; i just haven't had enough hands on experience with Go to really get the hang of libraries and what "good architecture" in Go would look like

Re: [go-nuts] golang thrift server 28k/s request client many dial tcp timeout ,why??

2017-06-11 Thread Jesper Louis Andersen
Hi! One thing you should check is the amount of TCP sessions you are starting from one host. Since a TCP session is identified by the IP/Port in both ends, and you communicate where some of those numbers stay the same, you are probably limited to no more than 64000 ports at most (or such). If you

[go-nuts] Re: dial io timeout and tcp short connection performance bottleneck

2017-06-11 Thread 刘桂祥
HI Matthew: Because I don't konw the performance bottleneck; do you mean the tcp syn queue (half open queue) is full ??but I don't see the syn flood warn message in /var/log/messages 在 2017年6月11日星期日 UTC+8下午7:03:58,Matthew Stevenson写道: > > Are you exhausting the local TCP sockets? Som

Re: [go-nuts] golang thrift server 28k/s request client many dial tcp timeout ,why??

2017-06-11 Thread 刘桂祥
I truely try with two client server to bench it; and the result is the same, so I doubt the performance bottleneck is in the server side but I don't konw the concrete

[go-nuts] Re: Completeness of Golang drivers for open-source and enterprise databases.

2017-06-11 Thread Asif Jalil
For DB2 driver, please see the following: https://github.com/asifjalil/cli Thanks. Asif On Saturday, June 10, 2017 at 6:13:27 AM UTC-4, hari.e...@gmail.com wrote: > > > Thanks a lot for responding *Tamás Gulácsi*. > > One more question. The link2 stated does not have the status of SAP Hana, >

[go-nuts] Go install speedup within docker

2017-06-11 Thread Vladimir Varankin
Hey James, Could you show the docker run command, which you invoke to enter a container? I use docker to build my application as well, so I just do `docker container run --rm -ti --volume $PWD:/gocode/src/app --workdir /gocode/src/app go build`. Doing so with container reusage or not, I haven

[go-nuts] Re: [ANN] Gomail v2: sending emails faster

2017-06-11 Thread antoniosun001
Hey Alex, Can gomail supports embedding *a lot* of images? From https://godoc.org/gopkg.in/gomail.v2#Message.Embed it seems that gomail only support embedding one image, if we embed a lot of them, there are still lots of tedious manual works to make it works. Right? On Monday, May 30, 2016 a

[go-nuts] Re: Where can I find golang library for google cloud client library for using service account

2017-06-11 Thread Dragos Harabor
If you start chasing the code from a NewClient method, something like https://godoc.org/cloud.google.com/go/bigquery#NewClient, you will end up eventually at golang.org/x/oauth2/google. Reading the doc and code for DefaultCredentials and FindDefaultCredentials may answer all your questions: http

[go-nuts] Re: Where can I find golang library for google cloud client library for using service account

2017-06-11 Thread prajakta . dandawate
Thank you. I will look into this. On Sunday, June 11, 2017 at 7:50:08 AM UTC-7, Dragos Harabor wrote: > > If you start chasing the code from a NewClient method, something like > https://godoc.org/cloud.google.com/go/bigquery#NewClient, you will end up > eventually at golang.org/x/oauth2/google.

[go-nuts] interesting potential go event talk

2017-06-11 Thread Michael Jones
Atom: Horizontally Scaling Strong Anonymity "To evaluate Atom, *we implemented an Atom prototype* *in Go*, and tested it on a network of 1,024 Amazon EC2 machines. Our result shows that Atom can support more than one million users sending microblogging messages with 28 minutes of latency. using 1,

[go-nuts] Re: dial io timeout and tcp short connection performance bottleneck

2017-06-11 Thread mjstevenson
I meant the fully open connections waiting for application handling so the listen queue (somaxconn). On the client and server I'd check you aren't exhausting any of the more obvious limits, so ports/listen queues. Adding more virtual IPs is easy way to test the ports. Listen queues should show

[go-nuts] Re: [ANN] Gomail v2: sending emails faster

2017-06-11 Thread Tamás Gulácsi
What do you mean by "lots of tedious manual works"? You have to specify where shall those emails appear, (embed `` into the body), or you can just Attach those files to the email. 2017. június 11., vasárnap 16:47:54 UTC+2 időpontban Antonio Sun a következőt írta: > > Hey Alex, > > Can gomail su

[go-nuts] glog with logrotate

2017-06-11 Thread Kumkum
Hi, Is there an easy way to use logrotate with golang/glog (https://github.com/golang/glog) ? That is, how do I prevent glog from creating separate log files each time it starts (i.e., with timestamp in the file name)? Thanks! -- You received this message because you are subscribed to the G

[go-nuts] Re: dial io timeout and tcp short connection performance bottleneck

2017-06-11 Thread hongf . yue
Maybe your client's local ports is used out. threre are only about 65000 ports you can use to make a connection from a client to server per IP. You can check output of netstat to confirm that. On Sunday, June 11, 2017 at 9:48:30 AM UTC+8, 刘桂祥 wrote: > > //question > > I write a simple g

Re: [go-nuts] glog with logrotate

2017-06-11 Thread Shawn Milochik
If it logs to stdout, you could try lc (log catcher). https://github.com/shawnmilo/lc About as simple as possible. I hope you find it useful. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving ema

[go-nuts] Re: dial io timeout and tcp short connection performance bottleneck

2017-06-11 Thread 刘桂祥
Hi Darkofday: I doubt that if the client's local port is used out, it should't return dail io timeout I use one client with less worker it don't have dial timeout and when another client with the same worker count to bench the server, now two clients have dial io timeout

[go-nuts] CGO: __DARWIN_NULL weirdness

2017-06-11 Thread andrey mirtchovski
I have a piece of cgo code which doesn't do much, but links a lot of libraries in. As far as I can tell all my includes are there and they shouldn't stomp on each other (they don't when compiled in C), however with cgo I get the following weirdness: $ go build # mypkg Undefined symbols for archite

[go-nuts] Re: mixed C / Go debugging

2017-06-11 Thread brainman
Thank you very much for instructions. I could reproduce what you see. Unfortunately I do not have much to suggest. dlv expects executable to be written in Go. dlv searches executable for particular symbols (among many other things). That is why you see "could not get Go symbols no runtime.pclnt

Re: [go-nuts] CGO: __DARWIN_NULL weirdness

2017-06-11 Thread Ian Lance Taylor
On Sun, Jun 11, 2017 at 7:56 PM, andrey mirtchovski wrote: > > I have a piece of cgo code which doesn't do much, but links a lot of > libraries in. As far as I can tell all my includes are there and they > shouldn't stomp on each other (they don't when compiled in C), however > with cgo I get the

[go-nuts] Re: Go install speedup within docker

2017-06-11 Thread James Pettyjohn
Hey Vlad, Here's the docker command: docker run -ti --rm \ -v "$PWD":/usr/src/pjt \ -w /usr/src/pjt \ -e "GOPATH=/usr/src/pjt" -e "STATICBUILD=1" \ -e "PREBUILD_DEPS=$PREBUILD_DEPS" \ gobuilder:1.8-alpine \ ./build.sh Regarding my docker: docker-machine version 0.10.0, build 76ed2a6 Client:

Re: [go-nuts] CGO: __DARWIN_NULL weirdness

2017-06-11 Thread andrey mirtchovski
I found it: I had a typo writing "C.nil" instead of "nil". thanks for your help! On Sun, Jun 11, 2017 at 9:31 PM, Ian Lance Taylor wrote: > On Sun, Jun 11, 2017 at 7:56 PM, andrey mirtchovski > wrote: >> >> I have a piece of cgo code which doesn't do much, but links a lot of >> libraries in. As