Git Product home page Git Product logo

blog-searcher-java-springboot's Introduction

blog-searcher-java-springboot's People

Contributors

minsoozz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

minyul

blog-searcher-java-springboot's Issues

기존 아키텍처 개선

  • DIP를 적용하여 도메인 모듈이 인프라스트럭처 모듈에 직접 의존하지 않도록 개선

분산 락 개선

트랜잭션이 커밋되는 시점 전에 분산 락의 unlock 이 발생할 수 있음

  • 기존 코드에서는 saveAndFlush() 를 사용하여 해당 문제를 해결 할 수 있었지만 다른 방법으로 해결할 수 없을까?
  • @Transactional 을 사용하지 않고 직접 Transaction begin, commit 을 직접 호출하는 방법도 있을 것 같다
  • 비즈니스 로직 흐름 개선 최종 시나리오
Lock 획득 -> Transaction 시작 -> 동시성 문제가 발생할 수 있는 비즈니스 로직 수행 -> Transaction 종료 -> Lock 반납

HttpClient 변경

  • 기존 RestTemplate 에서 WebClient 로 개선
  • 동기, 비동기, 블로킹, 논블로킹에 대한 학습과 병행하며 실전 코드를 통해 개선 예정

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.