pupuk / blog

My New Blog. Record & Share. Focus on PHP, MySQL, Javascript and Golang.
MIT License
9 stars 2 forks source link

架构基础等其它文章(温故而知新)链接 #29

Open pupuk opened 4 years ago

pupuk commented 4 years ago

高并发自增ID算法 滴滴的TinyId参照了美团Leaf的实现方式,并对其做了扩展,增加了多db支持和tinyid-client。github链接: https://github.com/didi/tinyid 滴滴的实现是基于java的,有人基于goalng做了类似的: https://gocn.vip/topics/10528 https://github.com/hwholiday/gid