issues Search Results · repo:ouqiang/delay-queue language:Go
Filter by
21 results
(60 ms)21 results
inouqiang/delay-queue (press backspace or delete to remove)1.
采用定时器的方式,通过计时器的值与需要多久过期的差值进行比较来判断,但考虑到如果是一台主机或云服务器,若突然发生宕机或项目发布新版本等某些意外操作,觉得会造成时间上的偏差。希望大佬在README里面提下当前设计的不足和未来架构的方向。不胜感激
2.
msgpack用起来挺香,但和go-codec比起来怎么样呢?
savico-swee
- 2
- Opened on Dec 11, 2020
- #22
laowangplus
- 1
- Opened on Oct 22, 2020
- #21
XxYyKk
- Opened on Oct 27, 2019
- #20
在Push、Pop和tickHandler会使用 -bucketNameChan分配bucket
而在tickHandler中需要先pushToReadyQueue(),再removeFromBucket(),这个过程中如果Job被Pop(),并且pop后pushToBucket()取到的bucketName与原来相同,这时候时序会出问题,pop向bucket中写入新的timestamp,但随后被remove,导致bucket中的Job丢失 ...
hb-chen
- Opened on Aug 27, 2019
- #19
woann
- Opened on Jan 11, 2019
- #14
您好: 以下有几点疑问:
1. 同一topic下,若多个job delay相同,loop时是否有冲突
2. 业务方jobid必须要保证唯一,若有多个业务方,服务端是否要保证全局jobid的唯一性?(结合redis)
3. 依靠客户端不断轮训获取延迟job,是否采用pub/sub方式更好? 期待您的回复!
lvyishan
- 4
- Opened on Dec 17, 2018
- #13

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.