Giter Club home page Giter Club logo

wheel-timer-queue's Introduction

延时任务队列

高性能延时处理的任务队列。单机支持每秒10万延时消息高效触发(可部署多台提供更高并发)如:下单之后如果三十分钟之内没有付款就自动取消订单, 大量未付款数据如何高效的取消订单。 详细介绍请看wiki: https://gitee.com/itman666/wheel-timer-queue/wikis/Home 输入图片说明

使用:

//启动队列 QueueBootstrap queueBootstrap = new QueueBootstrap(); WheelQueue wheelQueue = queueBootstrap.start();

//把任务加入队列 wheelQueue.add(new AbstractTask("9527") {

		@Override
		public void run() {
			LOG.info("add task. id=" + this.getId());
		}

	}, 5);

wheel-timer-queue's People

Watchers

 avatar  avatar

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.