Skip to content

andy2046/gopie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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