Skip to content
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

请教一下这个异步下单,真的算异步吗? #33

Open
KyrieXu11 opened this issue Aug 15, 2020 · 1 comment
Open

请教一下这个异步下单,真的算异步吗? #33

KyrieXu11 opened this issue Aug 15, 2020 · 1 comment

Comments

@KyrieXu11
Copy link

我看代码里面的controller层的SeckillController#list()方法,即执行秒杀的方法,redis的操作完成之后,只是把消息发送到rabbitmq中,然后rabbitmq监听取出消息,就直接和数据库交互了,所以我想问一下这个异步是体现在哪个地方呀?

@Fake-Niddle
Copy link

Fake-Niddle commented Aug 17, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants