Skip to content
View yudeguang's full-sized avatar

Block or report yudeguang

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. ratelimit ratelimit Public

    用户访问频率控制ratelimit,不同于网关级限流(包括go.uber.org/ratelimit漏桶限流以及github.com/juju/ratelimit令牌桶限流),本限流方案为业务级限流,适用于平台运营中,精细化的按单个用户,按IP等限流,为业内rdeis滑动窗口限流方案的纯GO替代方案,并且支持持久化(可选),可定期把历史数据备份到本地磁盘,程序重启也可保留之前的访问记录

    Go 97 22

  2. slice slice Public

    对切片的各类操作,如去重Distinct,求交集InnerJoin,合集FullJoin等

    Go 12 3

  3. iox iox Public

    helps you read and seek data from io.ReadSeeker and write data to bytes.Buffer

    Go 2 2

  4. noGCMap noGCMap Public

    针对原生map的GC问题,做特殊优化,参考fastcache,bigcache等,并大幅精减,无HASH碰撞问题,支持增删改

    Go 8

  5. noGcStaticMap noGcStaticMap Public

    针对原生map的GC问题,做特殊优化,参考fastcache,bigcache等,并大幅精减,无HASH碰撞问题,本质为一个静态map,加载后不允许再修改

    Go 7