GithubHelp home page GithubHelp logo

binend's Introduction

此项目只是技术架构,无任何业务。学习研究。和积累沉淀所写

项目模块说明:

image

使用技术:spring mvc,spring,JdbcTemplate,maven

使用数据库:mysql,mongo.

使用缓存:redis

缓存redis说明:

情况一:第一次查询是查询redis中是否有需要数据(dao层查询参数作为redis的key)如果redis存在这个key,直接返回。

情况二:如果redis没有查询参数组成的key,查询数据库。并把查询的结果放入redis。查询参数作为redis的key,然后返回数据给dao层

缓存的使用是系统性能优化的方式之一,并不适合所有全部场景。合适大量查询,不平凡更新的数据。对数据的精准性要求不是很高。有性能提升。减轻数据库压力

定时任务,每天晚上12点定时删除redis缓存中的所有数据

缓存逻辑图:

image

联系方式:

binend's People

Contributors

titainic 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.