- 授权协议: MIT
- 开发语言: ErLang
- 操作系统: Linux
- 软件首页: https://github.com/GameAnalytics/gascheduler
- 软件文档: https://github.com/GameAnalytics/gascheduler
软件介绍
这个库是Game Analytics贡献的。该库实现了一个通用的用于处理集群中任务的调度器。任务的生成和处理是专为特定的应用。客户端传递一个需要被执行的回调函数作为入参,调度器会通过消息返回任务的状态。
execute(SchedulerName, MFA = {Mod, Fun, Args})
|
|
v
.--->[ Pending ]---.
| |
node down spawn worker
| |
`---[ Running ]<---'-----------.
| | |
| exception retry
| | |
| `--->[ Failed ]---'
success | |
| max retries MFA called
| exceeded throw(gascheduler_permanent_failure)
| | |
| v |
| {error, max_retries} |
| v
| {error, permanent_failure}
v
{ok, Result = apply(Mod, Fun, Args)}
高效能程序员的修炼
[美]Jeff Atwood / 陆其明、张健 / 人民邮电出版社 / 2013-7 / 49
jeff atwood于2004年创办coding horror博客(http://www.codinghorror.com),记录其在软件开发经历中的所思所想、点点滴滴。时至今日,该博客每天都有近10万人次的访问量,读者纷纷参与评论,各种观点与智慧在那里不断激情碰撞。 《高效能程序员的修炼》是coding horror博客中精华文章的集合。全书分为12章,涉及迈入职业门槛、高效能编程、应聘......一起来看看 《高效能程序员的修炼》 这本书的介绍吧!
