miaosha
miaosha copied to clipboard
⭐⭐⭐⭐秒杀系统设计与实现.互联网工程师进阶与分析🙋🐓
代码不完整,到处都是错误,纯粹浪费时间
这个项目好夸张,现在往简历上写秒杀项目会不会被刷的几率大一点呀....
long stock = redisService.decr(GoodsKey.getMiaoshaGoodsStock,""+goodsId) ; if(stock
Bumps [mysql-connector-java](https://github.com/mysql/mysql-connector-j) from 8.0.27 to 8.0.28. Changelog Sourced from mysql-connector-java's changelog. Changelog https://dev.mysql.com/doc/relnotes/connector-j/8.0/en/ Version 8.0.29 Fix for Bug#21978230, COMMENT PARSING NOT PROPER IN PREPSTMT.EXECUTEBATCH(). Fix for Bug#81468 (23312764), MySQL server...
下面代码是有问题的,rpc扣减库存如果事务回滚,商品服务的库存数据是要被加回来的,本地事务满足不了要用分布式事务。 @Transactional public OrderInfo miaosha(MiaoshaUser user, GoodsVoOrder goods) { //减库存 下订单 写入秒杀订单 // update miaosha_goods set stock_count = stock_count - 1 where goods_id = #{goodsId} and stock_count > 0 boolean...
Bumps [fastjson](https://github.com/alibaba/fastjson) from 1.2.78 to 1.2.83. Release notes Sourced from fastjson's releases. FASTJSON 1.2.83版本发布(安全修复) 这是一个安全修复版本,修复最近收到在特定场景下可以绕过autoType关闭限制的漏洞,建议fastjson用户尽快采取安全措施保障系统安全。 安全修复方案 :https://github.com/alibaba/fastjson/wiki/security_update_20220523 Issues 安全加固 修复JDK17下setAccessible报错的问题 #4077 下载 https://repo1.maven.org/maven2/com/alibaba/fastjson/1.2.83/ 文档 https://github.com/alibaba/fastjson/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98 源码 https://github.com/alibaba/fastjson/tree/1.2.83 fastjson 1.2.79版本发布,BUG修复 这又是一个bug...
Bumps [dubbo](https://github.com/apache/incubator-dubbo) from 2.6.9 to 2.6.12. Release notes Sourced from dubbo's releases. dubbo-2.6.12 What's Changed [2.6] update hessian lite version: 3.2.11 -> 3.2.12 (#9455) dubbo-2.6.11 Change Lists Add serialize id...
Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.13.0 to 2.13.2.1. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...