andy2046 / gopie

go patterns

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A collection of idiomatic patterns for Go language.

gopie

Patterns

Pattern Description Status
Barrier Prevents a process from proceeding until all N processes reach to the barrier
Deadline Implements Deadline pattern
DRF Implements Dominant Resource Fairness
JumpHash Provides a jump consistent hash implementation
LRU Implements a LRU cache
Publish/Subscribe Passes information to a collection of recipients who subscribed to a topic
RingHash Provides a ring hash implementation
Semaphore Allows controlling access to a common resource
Singleton Restricts instantiation of a type to one object
Subsetting Implements client deterministic subsetting
SkipList Implements Skip List data structure
BloomFilter Implements Bloom filter
Count-Min Sketch Implements Count-Min Sketch
HyperLogLog Implements HyperLogLog cardinality estimation
Circuit Breaker Implements Circuit Breaker
Rate Limiter Implements Rate Limiter
Bit Flag Implements Bit Flag
Base58 Implements Base58 Encoder
Sequence Implements snowflake similar sequence generator

About

go patterns

License:Apache License 2.0


Languages

Language:Go 99.6%Language:Shell 0.4%Language:Makefile 0.1%