Commit Graph

50 Commits (9c20f107435e3b3f86f98a451ce90cdcb772b9b5)

Author SHA1 Message Date
Kevin Wan ede7e683fd
feat: auto stop profiling after one minute (#3742) 1 year ago
Kevin Wan eb14d1347e
chore: refactor ring (#3739) 1 year ago
POABOB c220b5d886
fix: prevent ring index overflow (#3738) 1 year ago
Kevin Wan 68df0c3620
chore: add more tests (#3575) 1 year ago
qiying.wang 148afcf1a7 chore: remove redundant prefix of "error: " in error creation 2 years ago
Kevin Wan ae87114282
chore: change interface{} to any (#2818)
* chore: change interface{} to any

* chore: update goctl version to 1.5.0

* chore: update goctl deps
2 years ago
Kevin Wan 6d129e0264
chore: add more tests (#2797)
* chore: add more tests

* chore: add more tests

* chore: add more tests
2 years ago
Ofey Chan 82c642d3f4
feat: expose NewTimingWheelWithClock (#2787) 2 years ago
Archer f4fd735aee
Use read-write lock instead of mutex (#2727) 2 years ago
王哈哈 dac3600b53
Modify comment syntax error (#2572) 2 years ago
Kevin Wan 813625d995
refactor: sequential range over safemap (#2316) 2 years ago
李平平 15a2802f12
safemap add Range method (#2314) 2 years ago
safeoy 3f3c811e08
fix: fix comment typo (#2220)
Use an instead of 'a' if the following word starts with a vowel sound, e.g. 'an in-memory cache'.
2 years ago
Kevin Wan 5d4e7c84ee
revert postgres package refactor (#1796)
* Revert "refactor: move postgres to pg package (#1781)"

This reverts commit ba8ac974aa.

* remove pg, use postgres
3 years ago
Kevin Wan ba8ac974aa
refactor: move postgres to pg package (#1781) 3 years ago
Kevin Wan 8bc34defc4
chore: avoid deadlock after stopping TimingWheel (#1768) 3 years ago
Kevin Wan 4e48286838
chore: add doc (#1764) 3 years ago
Kevin Wan 8472415472
fix #1754 (#1757) 3 years ago
ccx 86d01e2e99
test: add testcase for FIFO Queue in collection module (#1589)
cover the case of non-zero value for q.Header when q.Elements expands
3 years ago
Kevin Wan a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
Kevin Wan 5cc9eb0de4
rename sharedcalls to singleflight (#1017) 3 years ago
aaffo 598fda0c97
optimized (#819) 3 years ago
Bo-Yi Wu 73906f996d
chore(format): change by gofumpt tool (#697)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
4 years ago
Bo-Yi Wu afd9ff889e
chore: update code format. (#628) 4 years ago
Kevin Wan 457048bfac
fix golint issues in core/collection, refine cache interface (#475) 4 years ago
Kevin Wan 5e969cbef0
fix golint issues, else blocks (#457) 4 years ago
Kevin Wan b88ba14597
fixes issue #425 (#438) 4 years ago
理工男 7b3c3de35e
ring struct add lock (#434)
Co-authored-by: liuhuan210 <liuhuan210@jd.com>
4 years ago
Kevin Wan 57b73d8b49
make sure offset less than size even it's checked inside (#354) 4 years ago
Kevin Wan a79cee12ee
add godoc for RollingWindow (#351) 4 years ago
zjbztianya 7a921f66e6
simple rolling windows code (#346) 4 years ago
Kevin Wan 0786862a35
align bucket boundary to interval in rolling window (#345) 4 years ago
Kevin Wan 771371e051
simplify rolling window code, and make tests run faster (#343) 4 years ago
zjbztianya 2ee95f8981
fix rolling window bug (#340) 4 years ago
benying 7d1b43780a
some optimize by kevwan and benying (#240)
Co-authored-by: 杨志泉 <zhiquan.yang@yiducloud.cn>
4 years ago
Kevin Wan 4b5c2de376
simplify code (#234)
* simplify code, format makefile

* simplify code
4 years ago
Kevin Wan e5c560e8ba
simplify code, format makefile (#233) 4 years ago
xuezonggui bed494d904
optimization (#221) 4 years ago
kevin 295c8d2934 fix issue #205 4 years ago
kevin fe3739b7f3 fix golint issues 4 years ago
kevin 94645481b1 fix golint issues 4 years ago
kevin 8291eabc2c assert len > 0 4 years ago
kevin c824e9e118 fail fast when rolling window size is zero 4 years ago
kevin 6749c5b94a add more tests 4 years ago
kevin a958400595 rename prommetric to prometheous, add unit tests 4 years ago
kevin ff112fdaee query from cache first when do cache.Take 4 years ago
kevin 5e7b514ae2 make tests parallel 4 years ago
kevin 9e14820698 fix golint warnings 4 years ago
kevin 0a7e0cce77 update package reference 4 years ago
kevin 7e3a369a8f initial import 4 years ago