GithubHelp home page GithubHelp logo

blackhorsereview's Introduction

黑马点评

项目介绍

一个类似于美团优选的软件,可以推送笔记,实现好友的关注,核心在于对redis的使用

项目架构

前端资源采用nginx的反向代理,后端使用Springboot以及RestFUL的架构实现解耦

项目启动

  1. 在resource目录下有sql文件,导入sql
  2. 在resource中有nginx的文件,进入该文件输入start nginx.exe启动
  3. 配置文件中的数据库密码和redis地址改成自己的地址
  4. 启动redis服务器
  5. 启动springboot

项目特色

  1. 整个项目使用redis来进行数据的优化,提高了项目的访问速度
  2. 在存储redis时使用了一个RedisConstants来保存RedisKey的常量,提高了复用率
  3. 采用逻辑过期和互斥锁两种方式解决了缓存击穿的问题
  4. 采用分布式锁解决多个JVM使用不同锁监视器而导致多卖的问题
  5. 采用feed流实现了好友共同关注的功能
  6. 采用redis的GEO实现搜索附近的商铺

blackhorsereview's People

Contributors

rainmannnnn avatar

Stargazers

 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.