An open API service providing repository metadata for many open source software ecosystems.

Topic: "singleflight"

chenyahui/gin-cache

:rocket: A high performance gin middleware to cache http response. Compared to gin-contrib/cache, It has a huge performance improvement. 高性能gin缓存中间件,相比于官方版本,有巨大性能提升。

Language: Go - Size: 81.1 KB - Last synced at: 7 days ago - Pushed at: about 1 year ago - Stars: 268 - Forks: 50

samber/go-singleflightx

🧬 x/sync/singleflight but with generics, batching, sharding and nullable result

Language: Go - Size: 42 KB - Last synced at: 6 days ago - Pushed at: 26 days ago - Stars: 43 - Forks: 1

samber/go-batchify

🕹️ Group and deduplicate concurrent tasks

Language: Go - Size: 78.1 KB - Last synced at: 6 days ago - Pushed at: 19 days ago - Stars: 25 - Forks: 0

rodaine/executor 📦

Action/Executor (Command) Pattern Library for Concurrent Workloads

Language: Go - Size: 18.6 KB - Last synced at: about 1 month ago - Pushed at: over 2 years ago - Stars: 13 - Forks: 0

aarondwi/singleflight

Coalesce multiple identical calls into one, preventing thundering-herd/stampede to database/other backends

Language: Python - Size: 26.4 KB - Last synced at: 22 days ago - Pushed at: over 3 years ago - Stars: 13 - Forks: 4

brunomvsouza/singleflight

A type-safe wrapper around `golang.org/x/sync/singleflight` that adds generic type support. Provides the same duplicate function call suppression mechanism with compile-time type safety through `Group[K ~string, V any]` and `Result[V any]`.

Language: Go - Size: 21.5 KB - Last synced at: 1 day ago - Pushed at: 1 day ago - Stars: 7 - Forks: 0

serkodev/singleflight-any

Go singleflight with generics key & value

Language: Go - Size: 8.79 KB - Last synced at: 5 days ago - Pushed at: over 3 years ago - Stars: 5 - Forks: 0

sima-land/go-local-cache

Simple cache keeps data in memory and prevents dog pile effect

Language: Go - Size: 10.7 KB - Last synced at: about 1 month ago - Pushed at: almost 8 years ago - Stars: 5 - Forks: 0

jimmicro/singleflight

go-zero/core/syncx/singleflight.go but with Go 1.18 generics

Language: Go - Size: 4.88 KB - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 4 - Forks: 0

KScaesar/cache-proxy-demo

implement a simple cache proxy and analyze several ways of writing Golang programs using concurrency scenarios.

Language: Go - Size: 4.16 MB - Last synced at: 2 months ago - Pushed at: almost 2 years ago - Stars: 4 - Forks: 0

mccutchen/fillcache

A simple in-process cache with single-flight filling semantics

Language: Go - Size: 29.3 KB - Last synced at: 2 months ago - Pushed at: 8 months ago - Stars: 2 - Forks: 0

cwbriscoe/webcache

LRU Cache with Etag Support

Language: Go - Size: 46.9 KB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 2 - Forks: 0

chillsoul/piefs 📦

Piefs is a simple distributed small file system based on Facebook Haystack paper.

Language: Go - Size: 284 KB - Last synced at: about 1 year ago - Pushed at: about 3 years ago - Stars: 2 - Forks: 0

alex023/basekit

The commonly used go language development kit

Language: Go - Size: 46.9 KB - Last synced at: 11 months ago - Pushed at: almost 8 years ago - Stars: 2 - Forks: 3

Wenrh2004/singleflight

A Java utility class for suppressing duplicate requests, inspired by Go's singleflight package.

Language: Java - Size: 41 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 1 - Forks: 0

hlts2/singleflight

singleflight provides a duplicate function call a suppression mechanism.

Language: Go - Size: 10.7 KB - Last synced at: 3 months ago - Pushed at: over 4 years ago - Stars: 1 - Forks: 0

zerosnake0/zync

Some useful golang sync functions

Language: Go - Size: 1.95 KB - Last synced at: almost 2 years ago - Pushed at: over 5 years ago - Stars: 1 - Forks: 0

n-r-w/sfcache

Golang Singleflight group with internal LRU cache

Language: Go - Size: 31.3 KB - Last synced at: 3 months ago - Pushed at: 6 months ago - Stars: 0 - Forks: 0

yuchanns/rediflight

Singleflight across multiple processes with Redis.

Language: Go - Size: 13.7 KB - Last synced at: 2 days ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0

kkHAIKE/mergeflight

similar to singleflight, but it is used to merge different parameters into batch calls with a count window and time window

Language: Go - Size: 3.91 KB - Last synced at: 11 months ago - Pushed at: about 2 years ago - Stars: 0 - Forks: 0

hongshibao/cpp-singleflight

A header-only/compiled C++ singleflight library

Language: CMake - Size: 43.9 KB - Last synced at: about 2 years ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

golang-infrastructure/go-singleflight

generic version of singleflight

Language: Go - Size: 9.77 KB - Last synced at: 3 months ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

aarondwi/sfc 📦

Implementation of singleflight-cluster. With zk + consistenthash. Also has herd watch call prevention. Intended as an exercise, and example for future work

Language: Python - Size: 41 KB - Last synced at: about 2 years ago - Pushed at: over 4 years ago - Stars: 0 - Forks: 0

changsongl/timesf

Single flight with expire time. Extend version of golang singleflight package.

Language: Go - Size: 3.91 KB - Last synced at: 2 months ago - Pushed at: almost 5 years ago - Stars: 0 - Forks: 0