Giter VIP home page Giter VIP logo

spring-cache's Introduction

Spring Cache ?

자주 사용하는 데이터를 저장해서 사용하는 기술를 뜻합니다.

캐시는 동일한 요청에 유사한 내용의 데이터를 반복적으로 반환하는 경우에 지속적으로 DBMS, 서버에 요청하는 것이 아닌 고속 데이터 스토리지에 데이터를 저장합니다

따라서 이후에 해당 데이터에 대한 요청이 있을 경우, 데이터의 원본 스톨지 위치로 액세스할 때보다 더 빠르게 요청을 처리할 수 있습니다.

이렇게 캐싱을 사용하면 이전에 검색했거나 계산한 데이터를 효율적으로 재사용할 수 있어 서버나 DBMS에 대한 부담을 덜어주고, 매우 빠르기 때문에 많은 시스템에서 사용하고 있습니다.

예를 들어 반복적인 조회를 지속적으로 해야하는 커머스와 유사한 도메인에 적합하다고 볼 수 있습니다.

Spring boot 에서는 org.springframework.boot:spring-boot-starter-cache 를 통해 쉽게 cache를 구현할 수 있고 다른 서드파티 모듈(redis, encache)을 사용할 수 있도록 추상화를 지원하고 있습니다.

자세한 설명은 블로그를 참고해주세요!

spring-cache's People

Contributors

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