Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
HDT3213 committed Aug 14, 2023
1 parent 9ed9506 commit 760501c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ DelayQueue is a message queue supporting delayed/scheduled delivery based on red

Core Advantages:

- Support ACK/Retry mechanism, it will re-deliver message after a while as long as no confirmation is received. As long as Redis doesn't crash, consumer crashes won't cause message loss.
- Works safely in a distributed environment, you could deliver message to same queue or consume message from same queue at multiple machines.
- A message will be consumed by one and only one consumer.
- Consumers control the flow of messages, NO NEED FOR ANY OTHER MIDDLEWARES except redis.
- Guaranteed at least once consumption
- Auto retry failed messages
- Works out of the box, Config Nothing and Deploy Nothing, A Redis is all you need.
- Natively adapted to the distributed environment, workers can be added, removed or migrated at any time

## Install

Expand Down
8 changes: 4 additions & 4 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
DelayQueue 是使用 Go 语言基于 Redis 实现的支持延时/定时投递的消息队列。

DelayQueue 的主要优势:
- 支持 Ack/重试机制,只要消费者没有确认成功消费 (Ack) DelayQueue 就会尝试重新投递消息,直到达到最大重试次数为止。只要 Redis 不崩溃就不会丢失消息。
- 可在分布式环境中安全运行,用户可以在多台机器上同时向 DelayQueue 发送或拉取消息。
- DelayQueue 保证一条消息有且只有一个消费者进行消费。
- 消费者负责控制消息流转,无需部署额外服务。
- 保证至少消费一次(At-Least-Once)
- 自动重试处理失败的消息
- 开箱即用, 无需部署或安装中间件, 只需要一个 Redis 即可工作
- 原生适配分布式环境, 可以随时增加、减少或迁移 Worker

# 安装

Expand Down

0 comments on commit 760501c

Please sign in to comment.