Shelf · Rust + Python 혼합 서버

Shelf · Rust + Python 혼합 서버 An architecture diagram generated by Archify. 모바일 리더 · 탭 · 스크롤 · 읽기 위치 · Architecture component 모바일 리더 탭 · 스크롤 · 읽기 위치 Flask · Waitress · 인증 · ctypes C ABI · Architecture component Flask · Waitress 인증 · ctypes C ABI Rust ZIP 캐시 · 소유권 · 제한된 LRU · Architecture component Rust ZIP 캐시 소유권 · 제한된 LRU NAS 이미지 원본 · 폴더 · ZIP / CBZ · Architecture component NAS 이미지 원본 폴더 · ZIP / CBZ SQLite · 색인 · 즐겨찾기 · 책갈피 · Architecture component SQLite 색인 · 즐겨찾기 · 책갈피 Pillow · 썸네일 · 포맷 변환 · Architecture component Pillow 썸네일 · 포맷 변환 썸네일 캐시 · 디스크 256 MiB · Architecture component 썸네일 캐시 디스크 256 MiB HTTP C ABI 파일 I/O SQL 첫 이미지 WebP 저장 Legend Frontend Backend Database

Python에 남긴 기능

  • • Flask 인증 · SQLite 색인/책갈피
  • • Pillow 썸네일 · 포맷 변환

Rust가 맡는 경로

  • • ZIP 목차 보관 · 멤버 읽기
  • • 결과를 Python에 복사한 뒤 해제

Blue / Green

  • • Blue: 기존 Python 계속 서비스
  • • Green: 별도 포트 · 데이터 사본