-
作者你好,我前段时间也处于相同的初衷的编写了一个 lru 库。
1. 实现尽量简单 2. 内存和GC负担尽量小 3. 使用分片而不是 RCU 加速(因为会有 GC 负担)
https://github.com/phuslu/lru
随机的混合写的速度是明显快于其他库的,不过 zipf 分布应该不如 RCU 的实现 (otter 等)
-
I am building a proxy server with fasthttp. I want the server to fetch images from multiple sources and only return the fastest one to the client. It works perfectly on my MacBook. However, when I mov…
-
Hello!
Today I encountered interesting problem. I've got `=` sign in query string value. I know I could trim the character from some base64 strings, but remote proxy (not managed by me) requires them…
-
# Replace PHP with Golang
## Something is happening: ownCloud replaces PHP with Golang
In this [interview](https://www.cloudcomputing-insider.de/warum-owncloud-seine-architektur-ersetzt-a-826148/) i…
-
when I downloaded a file of about 9G, i got this
2022/11/04 18:02:45 http: panic serving [::1]:52274: runtime error: slice bounds out of range [:10200547328] with capacity 2147483647
goroutine 6 [ru…
-
Vulnerable Library - github.com/goFiber/fiber/v2-v2.1.4
Found in HEAD commit: 29d8b651f4cf8d4395286c0ea48f5fcfb0d8ed33
## Vulnerabilities
| CVE | Severity | CVSS | Dependency | Type | Fixed i…
-
Hello!
Thank you for your codes
I used it to make a worker on the Cloudflare and it was successful.
But when I used it in a Project, there was two problem:
First: I'm getting this error message:
…
-
### Go version
go version devel go1.23-b8ac61e6e6 Fri Feb 2 23:14:07 2024 +0000 linux/amd64
### Output of `go env` in your module/workspace:
```shell
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCAC…
-
### Bug Description
You need to keep requesting back-end interfaces, and problems will occur after a period of time.
This is the full log:
```txt
2023/08/28 16:46:06.223624 bootstrap.go:124…
-
## Feature Request
### Use Case
When protecting API-driven services such as a Docker registry, a user may not want to supply their password via a command line application, a third-party UI or …