Code Monkey home page Code Monkey logo

second-kill-springboot's Introduction

Springboot+redis等实现java秒杀项目

介绍

springboot+redis实现java秒杀 参照B站教程

视频内容

  1. 项目框架搭建
    1. SpringBoot环境搭建
    2. 集成Thymeleaf,RespBean
    3. MyBatis
  2. 分布式会话
    1. 用户登录
      1. 设计数据库
      2. 明文密码二次MD5加密
      3. 参数校验+全局异常处理
    2. 共享Session
      1. SpringSession
      2. Redis
  3. 功能开发
    1. 商品列表
    2. 商品详情
    3. 秒杀
    4. 订单详情
  4. 系统压测
    1. JMeter
    2. 自定义变量模拟多用户
    3. JMeter命令行的使用
    4. 正式压测
      1. 商品列表
      2. 秒杀
  5. 页面优化
    1. 页面缓存+URL缓存+对象缓存
    2. 页面静态化,前后端分离
    3. 静态资源优化
    4. CDN优化
  6. 接口优化
    1. Redis预减库存减少数据库的访问
    2. 内存标记减少Redis的访问
    3. RabbitMQ异步下单
      1. SpringBoot整合RabbitMQ
      2. 交换机
  7. 安全优化
    1. 秒杀接口地址隐藏
    2. 算术验证码
    3. 接口防刷
  8. 主流的秒杀方案

second-kill-springboot's People

Contributors

fujiangwei avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.