[Code 개선] #18. [Async] 세션 의존성 제거를 위한 JobService 비즈니스 로직 구현 #28
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
1. 목표
라우트 핸들러와 DB 모델 사이의 가교 역할을 하는
JobService를 구현하여, 세션 기반의 데이터 관리를 DB 기반으로 완전히 대체합니다.2. 상세 원인 및 배경
flask.session에 담겨 있어 서버 간 공유가 불가능하고 메모리 낭비가 심합니다.app.py를 가볍게 유지해야 합니다.Original: Kyeongmin/test#48