Skip to content

Commit

Permalink
feat: add RabbitMQ column
Browse files Browse the repository at this point in the history
  • Loading branch information
WL2O2O committed Jan 7, 2024
1 parent 5cad758 commit d317421
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

| ID | TITLE | UPDATE_TIME | AUTHOR |
| ---- | --------------------------------------------- | ------------ | ----------------------------------- |
| 4 | [介绍一下RabbitMQ](./bagu/RabbitMQ/介绍一下RabbitMQ.md) | 01-07 09:02 |
| 3 | [介绍一下ThreadLocal](./bagu/JUC/介绍一下ThreadLocal.md) | 01-07 08:49 | [WL2O2O](https://github.com/WL2O2O) |
| 2 | [`BIO``NIO``AIO`](./bagu/JavaSE/BIO、NIO、AIO?.md) | 01-03 09:42 | [WL2O2O](https://github.com/WL2O2O) |
| 1 | [什么是微服务](./bagu/微服务/什么是微服务.md) | 01-01 17:42 | [WL2O2O](https://github.com/WL2O2O) |
Expand Down
2 changes: 2 additions & 0 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@
- [Java中有哪些设计模式](./bagu/设计模式/Java中有哪些设计模式.md)
- [设计模式有哪些原则](./bagu/设计模式/设计模式有哪些原则.md)

- [RabbitMQ](./bagu/RabbitMQ/README.md)
- [介绍一下RabbitMQ](./bagu/RabbitMQ/介绍一下RabbitMQ.md)

# 面经篇

Expand Down
Empty file added src/bagu/RabbitMQ/README.md
Empty file.
28 changes: 28 additions & 0 deletions src/bagu/RabbitMQ/介绍一下RabbitMQ.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# 介绍一下`RabbitMQ`

`RabbitMQ`就是一个实现了一个AMQP协议的开源消息代理软件,即高级消息队列协议(Advance Message Queen Protocol),`RabbitMQ`的服务器是由`ErLang`语言编写的,故拥有高性能、健壮、可伸缩性的优点。

# 了解`RabbitMQ`的架构吗?

![RabbitMQ架构图](https://cs-wlei224.obs.cn-south-1.myhuaweicloud.com/blog-imgs/202401071311045.png)

- Producer:生产者
- Consumer:消费者
- V-host:虚拟主机
- Exchange:交换机
- Queen:消息队列

# 在你的项目中为什么不用RocketMQ?

首先,`RabbitMQ`是支持多种语言的,并且可以设置任意时长的TTL存活时间,另外还有一个可视化管理页面,可以更加清晰的检查消息的生产与消费,其次,我更加熟悉`RabbitMQ`的使用,比如怎么做消息分发、如何实现延迟消息队列、配置死信队列等等(抛出话题,指引方向)

# 消息分发

消息分发方式?

# 怎么配置死信队列

架构图?



0 comments on commit d317421

Please sign in to comment.