New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/cfanbo/delay-queue-redis

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/cfanbo/delay-queue-redis

v0.0.0-20200722074803-8ccbe29cfe6b
Source
Go
Version published
Created
Source

delay-queue-redis

基于redis实现的延时队列

主要用到redis中的 有序集合(sorted sets)和 散列(hashes)两种数据类型。 hashes里存储的是实际的数据信息,sets里存储的是权重,以秒为时间单位来进行数据的消费。相对于 https://github.com/cfanbo/delayqueue 纯内存的高性能队列而言,实现了数据的持久化功能。

FAQs

Package last updated on 22 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts