-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rabbitmq的生产和消费是只用了一个队列吗? #18
Comments
秒杀使用一个队列。 支付过程如果并发量大,可以写入另外一个队列,或者不经过队列 |
总共2个阶段。 |
嗯嗯,流程很清楚,但是我就是在想,在秒杀过程中仅仅只使用一个队列会不会导致吞吐量不高的情况。 |
一般的,秒杀过程用一个队列即可。 |
好的,谢谢大佬的耐心解释,我没有什么高并发的经验,就以为一个队列太少了。 |
rabbitmq的性能非常高。 比如说一秒钟写入成千上万,甚至几万条消息,都是没问题的。 |
我对rocketmq比较熟悉一些,打算用rocketmq来替换一下你做的这个秒杀项目😂 |
rocket的时效没有rabbit好 |
额??
…------------------ 原始邮件 ------------------
发件人: "bootsrc/jseckill" <[email protected]>;
发送时间: 2020年11月10日(星期二) 中午1:57
收件人: "bootsrc/jseckill"<[email protected]>;
抄送: "Subscribed"<[email protected]>;
主题: Re: [bootsrc/jseckill] rabbitmq的生产和消费是只用了一个队列吗? (#18)
rabbitmq的性能非常高。 比如说一秒钟写入成千上万,甚至几万条消息,都是没问题的。
我对rocketmq比较熟悉一些,打算用rocketmq来替换一下你做的这个秒杀项目😂
rocket的时效没有rabbit好
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
不是很懂rabbitmq,所以希望有大佬能解释一下,因为看那个流程图上画的是,在redis进行秒杀的时候就是发送到名字为
seckill
的队列中,在支付的时候发送到另外一个队列中去。所以就有疑问,秒杀的时候是放到一个队列中去吗?The text was updated successfully, but these errors were encountered: