seckill
Here are 39 public repositories matching this topic...
-
Updated
Jul 1, 2018 - Java
-
Updated
Sep 26, 2019 - Java
-
Updated
May 16, 2017 - Java
-
Updated
Jul 27, 2018 - JavaScript
-
Updated
Apr 24, 2018 - Java
-
Updated
Jun 5, 2020 - Python
-
Updated
May 21, 2020 - Java
Improve this page
Add a description, image, and links to the seckill topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the seckill topic, visit your repo's landing page and select "manage topics."


一些 web 应用不采用 webocket有一个原因是多页面重开。你想想,同时打开几个秒杀页面就是几个 websocket 连接,这个比较难处理。不像客户端,登录一个可以踢掉另一个,在 web 上这种情况很普遍,轮询处理简单很多。
而且一旦查询到秒杀成功或者失败,就马上停止轮询,不会太消耗服务器的带宽.