[go-nuts] [ANN] Easy-to-use Histogram has been added to github.com/VictoriaMetrics/metrics package

2019-11-26 Thread Aliaksandr Valialkin
If you don't instrument your Go apps with custom metrics exported via Prometheus format, then stop reading. Prometheus histograms have multiple long-standing issues, which limit histograms usability: - How to choose the ultimate set of histogram buckets that cover all the value ranges with

Re: [go-nuts] Re: [ANN] VictoriaMetrics - fast open source time series database written in Go

2019-07-24 Thread Aliaksandr Valialkin
lower for small blocks due to the allocation inside DecodeAll <https://github.com/klauspost/compress/blob/415e5345507ece8609410be3d156d0e37e70b3b6/zstd/decoder.go#L292> . On Thursday, July 11, 2019 at 7:10:34 PM UTC+3, Klaus Post wrote: > > On Thursday, 11 July 2019 17:37:09 UTC+2, Aliaksan

Re: [go-nuts] Re: [ANN] VictoriaMetrics - fast open source time series database written in Go

2019-07-11 Thread Aliaksandr Valialkin
Post wrote: > >> On Thursday, 11 July 2019 17:37:09 UTC+2, Aliaksandr Valialkin wrote: >>> >>> >>> >>> This is really great idea! Will try implementing it. >>> >>> Does github.com/klauspost/compress support all the levels for data >>> de

Re: [go-nuts] Re: [ANN] VictoriaMetrics - fast open source time series database written in Go

2019-07-11 Thread Aliaksandr Valialkin
On Thu, Jul 11, 2019 at 1:39 PM Klaus Post wrote: > On Sunday, 23 June 2019 20:09:48 UTC+2, Aliaksandr Valialkin wrote: >> >> >> >> On Sun, Jun 23, 2019 at 8:34 PM Jason E. Aten wrote: >> >>> very nice. >>> >>> https://git

Re: [go-nuts] [ANN] VictoriaMetrics - fast open source time series database written in Go

2019-06-24 Thread Aliaksandr Valialkin
On Sun, Jun 23, 2019 at 9:17 PM David Anderson wrote: > Looks very nice, I look forward to checking it out. > > I'm curious: why do you maintain separate trees for the single node vs. > cluster version? Naively I would have assumed that single node == cluster > codebase with a few features

Re: [go-nuts] Re: [ANN] VictoriaMetrics - fast open source time series database written in Go

2019-06-23 Thread Aliaksandr Valialkin
On Sun, Jun 23, 2019 at 8:34 PM Jason E. Aten wrote: > very nice. > > https://github.com/klauspost/compress just added zstd all in Go, might > be a lovely way to remove the CGO dependency. > I'm keeping eye on it! Currently cgo version of zstd has slightly better performance comparing to pure

[go-nuts] [ANN] VictoriaMetrics - fast open source time series database written in Go

2019-06-18 Thread Aliaksandr Valialkin
Hello all, I'm happy to announce VictoriaMetrics - fast open source time series database written in Go - https://github.com/VictoriaMetrics/VictoriaMetrics . It is written entirely in Go except of gozstd part, which is a cgo wrapper for zstd

[go-nuts] [ANN] Lightweight package for exposing application metrics in Prometheus format

2019-04-16 Thread Aliaksandr Valialkin
Hi all, I'm glad to announce a lightweight package for exposing application metrics in Prometheus format - https://github.com/VictoriaMetrics/metrics . The package provides the following most frequently used metric types: - Counter - Gauge - Summary The metrics package has the following

[go-nuts] Re: Tweaking sync.Pool for mostly-empty pools

2018-02-20 Thread Aliaksandr Valialkin
Just FYI, there is currently the following activity regarding sync.Pool optimizations that may land to go1.11: - Increasing per-P pool capacity, which should reduce lock contention on shared items. https://go-review.googlesource.com/c/go/+/49110 . - Avoiding pool resets during GC -

Re: [go-nuts] [ANN] A gradient boosting regressor package

2018-02-05 Thread Aliaksandr Valialkin
On Tuesday, January 30, 2018 at 12:43:38 AM UTC+2, Sina Siadat wrote: > > Hi Sebastien, > > ​Thanks for your comment and question :) > > > I have one "drive-by-comment" and a question: > > you could have perhaps used gonum for the stats stuff :) > > ​Actually, I did start with gonum :)) but I

[go-nuts] Re: Assign a new value to an already initiated variable in template

2016-12-18 Thread Aliaksandr Valialkin
FYI, complex logic may be easily implemented with alternative template engines like https://github.com/valyala/quicktemplate . -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it,

[go-nuts] Re: howto: compile template against well-known structure ?

2016-12-18 Thread Aliaksandr Valialkin
Take a look at https://github.com/valyala/quicktemplate . Though it is incompatible with template/html sytax, it provides static template compilation, high performance and go-like syntax. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To

[go-nuts] fasthttp redirect control

2016-11-03 Thread Aliaksandr Valialkin
Just use Client.Do - https://godoc.org/github.com/valyala/fasthttp#Client.Do . It doesn't follow redirects, so you can inspect each response and decide whether to follow each redirect. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To

[go-nuts] [ANN]: httptp - http(s) proxy and load balancer that saves network bandwidth

2016-10-29 Thread Aliaksandr Valialkin
Hi all, I'd like to announce httptp - http(s) proxy and load balancer that saves network bandwidth. It is built on top of httpteleport package . Any highly loaded http-based API service

[go-nuts] Any plan on improving Go's escape analysis?

2016-10-02 Thread Aliaksandr Valialkin
fmt.* functions may call Stringer and Formatter interface methods for the passed arguments, so the arguments may escape when calling these methods. Probably, conditional escaping may be implemented for function argument. For example of fmt.*, escape only arguments implementing Stringer or

[go-nuts] Re: net.Conn.Write is failing in golang

2016-08-26 Thread Aliaksandr Valialkin
It looks like there is a timeout (aka deadline) set on the connection, so small responses are sent without problems, while large responses are interrupted by the timeout. See https://blog.cloudflare.com/the-curious-case-of-slow-downloads/ for details. On Thursday, January 28, 2016 at 7:06:38

[go-nuts] Re: totalling a column in a html template.

2016-08-26 Thread Aliaksandr Valialkin
Hi Carl, try quicktemplate instead of html/template. It supports arbitrary data transformations inside the template code, so the 'totals' row may be easily implemented without external code: Suppose you have the following row struct: type Row struct