Skip to content

erlang style timer wheel ,for massive scalable timer use

Notifications You must be signed in to change notification settings

zhaohansprt/erltimer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-erltimer

The adorable timer library for Golang

GoDoc Build Status Build Status Go Report Card MIT License

erltimer

注意 warning:

实验阶段项目尚存bug只阐述思想并非实际可用的代码,如感兴趣可与作者联系获取可生产级别代码 (the code is experimental not usable)

特性 features:

1.并发安全 concurrent safe

2.大规模可伸缩 massive scalable

3.linux 下 高精度 high precision for linux but do not use this in windows for milli precision (windows下受原生api的系统限制无法提供高精度只能精确到毫秒)

4.小根堆保证高并发下的定时队列读写效率

5. 底层基于erlang gen_server 式的actor设计实现

用例 examples:

请看 please see the ./timer/timer_test.go

📃 LICENSE

MIT ©botanyzh

About

erlang style timer wheel ,for massive scalable timer use

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages