Fuchun Zhang
Fuchun Zhang
each bucket limit the memory as 1/512 of total. eg: I need 512MB cache, but each bucket only 1 MB. if many keys goes to one bucket, many data will...
in file fastcache.go, func (b *bucket) Set, line 359: `b.m[h] = idx | (b.gen
when I use: ``` golangci-lint.exe run d:\source\github.com\ahfuzhang\go_xxx_server\src\cgi ``` it's ok when I use: ``` golangci-lint.exe run D:\source\github.com\ahfuzhang\go_xxx_server\src\cgi ``` the error is: ``` level=error msg="[linters context] typechecking error: go: directory ....
see: https://github.com/VictoriaMetrics/metrics/blob/f05b7d77a28784f26481a868b72fcf7300cf2b33/metrics.go#L41 as prometheus do, there is need a way to do gzip compress. thanks.
I want to use metrics API to replace prometheus API. But when I read source code, I think add more features will be wonderful: 1. keep fast and low memory...
In my case, I need to output a html page, and the top half page is not change, so I gziped top half page and cached. Then I write gzip...
see: https://github.com/VictoriaMetrics/VictoriaMetrics/blob/99ee1c13c05479d974d496c8b44c5c6b84ed03b0/lib/mergeset/merge.go#L103 I think we can use for {} to instead of goto. valyala, you are my YYDS. Pls don't let beginner ruin your niubility talent. :-) thanks.
1.add `/metrics` for this app; 2.add `maxalertcount` to avoid too many alerts; If there are too many alerts, ding talk webhook api return like this: ```json {"caller":"dingtalk.go:103","component":"web","level":"error","msg":"Failed to send notification...
I made a grafana dashboard, which contains all the golang runtime metrics of this component. Could you put the json file of grafana dashboard into the code directory? In this...
At first, I write a golang wrap of this lib, because golang version of ecdsa is not fast enought. But I found this lib is slow 10 times of go...