Code Monkey home page Code Monkey logo

seckill_java's Introduction

seckill_java

JAVA高并发秒杀项目DEMO,具有很强的学习价值,基于SSM框架,利用redis缓存。注释完全。项目可运行。

关于releases

你可以看到4个tag,分别对应了开发的四个部分,分别是:

  • v1.0 dao层的实现
  • v2.0 service层的实现
  • v3.0 web层的实现
  • v4.0 高并发优化

一些配置的官方地址

logback配置 spring配置 mybatis配置

maven命令创建web骨架项目

mvn archetype:create -DgroupId=org.seckill -DartifactId=seckill -DarchetypeArtifactId=maven-archetype-webapp

Spring整合Mybatis

整合目标

  • 更少的编码:只写接口,不写实现。
  • 更少的配置
  • 足够的灵活性

高并发优化方案

  • 前端控制:暴露接口,按钮防重复
  • 动静态数据分离:CDN缓存,后端缓存
  • 事务竞争优化:减少事务锁时间

seckill_java's People

Contributors

liweimin0512 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

seckill_java's Issues

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.