Code Monkey home page Code Monkey logo

Comments (1)

ilgolf avatar ilgolf commented on August 14, 2024

외부 장애 = 내가 만든 서비스 장애 가 발생하면 안된다.

  1. gateway에서 처리해보자

intercepter를 이용한 방식 하지만 그럴려면 결국 finAccount를 받아와야하는 api와 필요없는 api를 구분하여야 하고 이를 구현하기위해 리소스가 너무 많이 필요함 또한 스펙이 변경될 수 있기 때문에 변경 포인트도 추가 발생할 가능성 있음.

  1. batch를 이용

batch를 돌리는건 규모가 커질수록 부담이 많이가고 날짜기준도 정하기 쉽지 않음.

  1. AOP를 이용 (채택)

개인적으로 가장 적합한 방식, 필요한 컨트롤러에다가 적용하여 필요시에만 동작시킬 수 있고 관심사 분리를 통해 공통 처리가 가능하여 로직 오염을 줄일 수 있음.

from kotlinbank.

Related Issues (20)

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.