snowflake
go-snowflake
snowflake | go-snowflake | |
---|---|---|
1 | 1 | |
2,863 | 251 | |
- | - | |
0.0 | 0.0 | |
8 months ago | over 1 year ago | |
Go | Go | |
BSD 2-clause "Simplified" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
snowflake
-
Bit shifting blew my mind
It doesn't come up very often. There is an id generation library I use github.com/bwmarrin/snowflake that makes pretty good use of bit shifting. Each id is split into 3 parts, a timestamp, a node id, and a sequence number. The idea is that each server has a node id. Each node can make 4096 ids every millisecond for about 70 years. It works by doing the following
go-snowflake
What are some alternatives?
squashfs - A library to interact with Squashfs archives. Currently only has support for reading, but writing archives will probably come eventually.
gosnowflake - Go Snowflake Driver
roaring - Roaring bitmaps in Go (golang), used by InfluxDB, Bleve, DataDog
indigo - A distributed unique ID generator of using Sonyflake and encoded by Base58
traefik - The Cloud Native Application Proxy
wuid - An extremely fast globally unique number generator.
terraform-provider-snowflake - Terraform provider for managing Snowflake accounts
tbls - tbls is a CI-Friendly tool for document a database, written in Go.
bytebase - The GitHub/GitLab for database DevOps. World's most advanced database DevOps and CI/CD for Developer, DBA and Platform Engineering teams.