-
What I think we need to add in order to feel that [concurrency](/codeship/go-best-practice/tree/master/concurrency) is complete for now.
- [x] supervising goroutines (e.g. tracking them with wait g…
-
## Expected Behavior
If i `get` a value of the same size (eg 100kb) from redis concurrently with eg 500 goroutines, I would expect each get to take relatively the same amount of time (eg 50ms).
##…
-
Right now only single goroutine kicks off per command, Implement a worker pool where workers will be assigned for routing msg between services.
-
### Proposal Details
Currently `sync.Pool.Get()` works in [the following way](https://cs.opensource.google/go/go/+/refs/tags/go1.21.6:src/sync/pool.go;l=127):
1. It returns P-local object if the…
-
## Bug Report
Please answer these questions before submitting your issue. Thanks!
### 1. Minimal reproduce step (Required)
1. deploy a tidb cluster with 3 tidb + 3 tikv
2. run the workload_a…
-
### Issue To Be Solved
Currently, `PersistentSlabStorage.FastCommit()` does create adhoc goroutines, which may add a substantial overhead on servers with a high number of cores.
### Suggested Solu…
-
Original PR: gorilla/websocket#761 by @FMLS
Add an example that uses the write buffer pool
The loop process of the websocket connection is inner the http handler at existing examples, This usage…
-
- factory mode
- sync function for test
- work stealing mode, keep one goroutine pool
- recycle goroutine with time or jobCount
-
##### Description
zstdMaxBufferedEncoders value is too low which caused many temporary zstd encoders objects being created, each encoder object is quite big (200KB) and this adds to woes of frequen…
-
### Describe the bug
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x118612e]
goroutine 15 [running]:
gith…