Skip to content

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

在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

如果开启连个客户端(php),我发现一次消息延迟执行,会被执行两次。两个客户端各自执行了一次。
  • huangxiaoye
  • Opened 
    on Aug 21, 2019
  • #18

比如putJob成功了,但是pushToBucket失败了,是需要client端手动去删除job吗
  • ifcute
  • Opened 
    on Aug 13, 2019
  • #17

hi.. 这里加个客户端是不是要一直轮询下去呢。。
  • tuyuwei
  • 4
  • Opened 
    on Jan 29, 2019
  • #15

您好: 以下有几点疑问: 1. 同一topic下,若多个job delay相同,loop时是否有冲突 2. 业务方jobid必须要保证唯一,若有多个业务方,服务端是否要保证全局jobid的唯一性?(结合redis) 3. 依靠客户端不断轮训获取延迟job,是否采用pub/sub方式更好? 期待您的回复!
  • lvyishan
  • 4
  • Opened 
    on Dec 17, 2018
  • #13
Issue origami icon

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 Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

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 Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub