snowflake
an implement of snowflake by go, use atomic instead of mutex
雪花算法的一种go实现,使用原子锁(atomic),取代互斥锁(mutex)
usage
workerId := uint16(123)
snowFlake := NewSnowFlake(workerId)
theUniqueId := snowFlake.NextId()
an implement of snowflake by go, use atomic instead of mutex
雪花算法的一种go实现,使用原子锁(atomic),取代互斥锁(mutex)
workerId := uint16(123)
snowFlake := NewSnowFlake(workerId)
theUniqueId := snowFlake.NextId()
Snowflake Dead simple and fast Twitter's snowflake id generator in Go. Installation go get github.com/HotPotatoC/snowflake Usage Generating a snowflak
Sharded Mutex in Go This package contains a sharded mutex which should do better than a traditional sync.RWMutex in certain cases where you want to pr
Distributed Mutex on Azure Lease Blobs This package implements distributed lock available for multiple processes. Possible use-cases include exclusive
Use godep. Goven is deprecated. Please use godep instead. Godep is better in almost every way. It is better maintained, more popular, less error-prone
utp Package utp implements uTP, the micro transport protocol as used with Bittorrent. It opts for simplicity and reliability over strict adherence to
Native Go Zookeeper Client Library License 3-clause BSD. See LICENSE file. This Repository is No Longer Maintained Please use https://github.com/go-zo
JNDILOG use JNDILOG instead of DNSLOG 1.start JNDILOG server 2.send JNDI POC (eg
Eventstore eventstore is a library where I try out new stuff related to an eventstore as a single point of truth. At the moment I'm writing this it's
ozzo-validation Description ozzo-validation is a Go package that provides configurable and extensible data validation capabilities. It has the followi
Fin, the Fyne Login Manager A minimal but good-looking login manager for Linux/Unix. The current boot scripts support only systemd. If you'd like to t
tao-gin _______ _____ _ |__ __| / ____(_) | | __ _ ___ | | __ _ _ __ | |/ _` |/ _ \ | | |_ | |
BGPiano MIDI tunneling through BGP, for times when you want to broadcast your music instead of your IP packets. Usage bgpiano-send and bgpiano-recv Po
snowflake snowflake is a Go package that provides A very simple Twitter snowflake generator. Methods to parse existing snowflake IDs. Methods to conve
Dynatomic Dynatomic is a library for using dynamodb as an atomic counter Dynatomic Motivation Usage Development Contributing Motivation The dynatomic
About Atomic measures with Prometheus exposition for the Go programming language. This is free and unencumbered software released into the public doma
atomics All the AMD64 atomic instructions, exposed as Go functions: ⚠️ PRE-ALPHA ⚠️ Features LOCK {ADD,ADC,AND,BTC,BTR,BTS,CMPXCHG,CMPXCH8B,CMPXCHG16B
ETH-XMR Atomic Swaps This is a prototype of ETH-XMR atomic swaps, which was worked on during ETHLisbon. Instructions Start ganache-cli with determin
An atomic counter that also tracks and calculates a rate written in Go.
Local atomic cache manager I repeatedly find myself writing partitioned keyed caching systems, akin to Go's module cache. To DRY myself I created this
Snowflake Dead simple and fast Twitter's snowflake id generator in Go. Installation go get github.com/HotPotatoC/snowflake Usage Generating a snowflak
snowflake snowflake is a Go package that provides A very simple Twitter snowflake generator. Methods to parse existing snowflake IDs. Methods to conve
❄ An Lock Free ID Generator for Golang based on Snowflake Algorithm (Twitter announced).
✨ Generate Snowflake Generate unique IDs. Inspired by Twitter's Snowflake system. ?? Installation Initialize your project (go mod init example.com/exa
GoSnowflakeApi GoSnowflakeApi is an api wrapper for the snowflake api written in golang for golang developers. Example package main import ( "fmt
snowflake Snowflake is a fast, goroutine-safe unique ID generator built for distributed systems Key concepts Snowflake Snowflakes are int64s. uint64 i
Hanabira Hanabira is a network service for generating unique ID numbers inspired by Twitter's Snowflake. How to run hanabira-cluster and etcd-cluster
atomic import "github.com/natefinch/atomic" atomic is a go package for atomic file writing By default, writing to a file in go (and generally any lan
❄️ Go-Snowflake A Snowflake Generator for Go A simple to use Go (golang) package
Snowflake Grafana Data Source With the Snowflake plugin, you can visualize your Snowflake data in Grafana and build awesome chart. Get started with th