Giter VIP home page Giter VIP logo

delay-queue's People

Contributors

yangwenjie88 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

delay-queue's Issues

主从节点redis,启动报错,应该怎么配置配置文件?

org.redisson.client.RedisConnectionException: Can't connect to servers!
at org.redisson.cluster.ClusterConnectionManager.(ClusterConnectionManager.java:135)
at org.redisson.config.ConfigSupport.createConnectionManager(ConfigSupport.java:237)
at org.redisson.Redisson.(Redisson.java:117)
at org.redisson.Redisson.create(Redisson.java:156)
at com.yangwenjie.delayqueue.utils.RedissonUtils.(RedissonUtils.java:29)
at com.yangwenjie.delayqueue.core.DelayBucket.getFromBucket(DelayBucket.java:33)
at com.yangwenjie.delayqueue.core.DelayBucketHandler.run(DelayBucketHandler.java:35)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

是可以可考虑元信息不放在Redis里面?

DelayQueueJobPool.addDelayQueueJod(delayQueueJob);
这一步存储了 job 的元信息,是否可以考虑将这一步存放在DB里面:
1.Redis的容量这么宝贵,还易失?
2.如果一天添加到延迟的任务的量非常大怎么办?

取出来的时候转换失败了

ScoredSortedItem{delayTime=15, delayQueueJodId=11223344} 在redis里的数据是这样的

取出来就报string 不能转ScoredSortedItem类

直接下载你的项目运行的,是redis版本的问题吗?我的是3.0的

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.