Giter Club home page Giter Club logo

money-remit-service's Introduction

뿌리기 기능

핵심문제해결 전략

  • 다수의 서버에 다수의 인스턴스로 동작
    • 받기 API 에서 받기 요청을 큐(Queue) 로 받아서 처리
  • 뿌릴 금액을 인원수에 맞게 분배하여 저장
    • 기본 : 금액을 인원수에 맞게 나눈 후 나머지 금액을 하나의 금액에 저장
    • 뿌릴 금액 정책 만들기
      • 인원수에 맞는 정책(비율)을 만들어 그에 맞게 나눠서 저장
  • 뿌리기가 호출된 대화방과 동일한 대화방에 속한 사용자만이 받을 수 있음
    • 현재 대화방에 속해져 있는지 다시 한번 확인

기능 목록

  • 뿌리기 API
    • token 발급
    • 돈 분배
  • 받기 API
    • 해당 방에 속해서 받을 수 있는 사람인지 확인
    • token 확인
    • 받기 요청를 큐에 저장하여 진행한다고 가정하여 처리
  • 조회 API
    • 뿌린 사람인지 확인
    • 뿌리기 요청이 생성된 시간이 7일이내인지 확인

money-remit-service's People

Contributors

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