Giter Club home page Giter Club logo

secondkill's Introduction

秒杀系统实践

experimental

💻 架构


本项目基于imooc教程以及网上若干博客资源,实现了一个简单的秒杀系统。其中,使用到了如下关键技术:

  • SpringBoot
  • Redis
  • MySQL
  • RabbitMQ
  • Tomcat
  • Nginx
  • Linux

🔧 环境&安装&使用

本节对代码的开发环境、服务器环境、代码部署以及使用做简要说明

开发环境

本套代码使用Win10系统+IDEA开发,JDK版本为8.0,SpringBoot版本为1.5.10.RELEASE。其他各组件的版本信息请移步pom.xml。

服务器环境

本项目将MySQL、Redis、RabbitMQ安装在服务器环境下。服务器的操作系统为CentOS7。
具体操作步骤可参考:http://note.youdao.com/noteshare?id=6bd987c21be47ce4381a82a2a8b5d1b0&sub=B8463E9BB46A479B9AE3D09D925A612F

代码部署

下载本仓库内的文件,放入新建的IDEA项目中,做简要配置即可使用。如果部署jar包或war包,需额外在操作系统中安装Tomcat并启动。

使用
  1. 启动IDEA项目
  2. 打开浏览器,输入测试地址: http://服务器ip:8080/login/to_login
  3. 输入登陆信息(13000000000, 123456)

如果需要重置数据库,请访问http://服务器ip:8080/miaosha/reset

☕ 调用链分析

登录页

商品列表页

商品详情&秒杀页


🍉 致谢

建设中......

📝 声明

建设中......

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.