Aliaksandr Valialkin
Aliaksandr Valialkin
I'll definitely add real-life benchmark results comparing gorpc to net/rpc (and, probably, other popular rpc implementations) into README.md. Currently bench_test.go contains benchmarks, which can be used for performance comparisons with...
This looks like a bug in Go runtime. Will try narrowing down it and posting to Go issue tracker.
As a temporary workaround you can use `GODEBUG="cgocheck=0"` environment variable for disabling cgo check. See `Environment Variables` chapter in [runtime](https://golang.org/pkg/runtime/) package for details.
Minimized it to: ``` go package main // static void foo(void *p) {} import "C" import ( "encoding/json" "unsafe" ) func main() { b, err := json.Marshal(123) if err !=...
There is another workaround mentioned in the linked Go issue: > What is messing up is that encoding/json uses a 64 byte buffer in a larger struct, and if the...
VictoriaMetrics provides the following functions via [MetricsQL](https://docs.victoriametrics.com/MetricsQL.html): * `tmax_over_time(m[d])` - returns the timestamp for the maximum value of `m` over the duration `d`. * `tmin_over_time(m[d])` - returns the timestamp for...
I'm not a fan of single-letter shortcuts in general case. But in this particular case the `tmax_over_time()` looks easier to write and read than `max_over_time_last_timestamp()`.
@lapo-luchini , thanks for thorough investigation of the issue! Let's do the following: - Add `sort_by_label_natural()` and `sort_by_label_natural_desc()` functions for [natural sorting](https://en.wikipedia.org/wiki/Natural_sort_order) of the given label values. - Update the...
Try removing `/write` suffix from the url: `http://ip:8480/insert/0/influx`. It looks the `/write` suffix is automatically added by the client before sending the metrics to the given url.
Closing the feature request as partially done. The remaining parts of the feature request won't be implemented because of reasons [outlined here](https://github.com/VictoriaMetrics/metrics/issues/35#issuecomment-1205443004).