Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/djccnt15/funnel_service
funner service with Redis, Spring Webflux
https://github.com/djccnt15/funnel_service
Last synced: about 1 month ago
JSON representation
funner service with Redis, Spring Webflux
- Host: GitHub
- URL: https://github.com/djccnt15/funnel_service
- Owner: djccnt15
- License: mit
- Created: 2024-04-12T15:22:25.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-06-07T12:16:12.000Z (8 months ago)
- Last Synced: 2024-06-07T17:16:57.134Z (8 months ago)
- Language: Java
- Size: 43.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# funnel_service
funner service with Redis, Spring Webflux
## OpenAPI swagger-ui
- [funner server](http://127.0.0.1:8080/webjars/swagger-ui/index.html)
- [main server](http://127.0.0.1:8000/swagger-ui/index.html)## Architecture
- Redis: 접속 대기열 관리
- Embedded Redis: 테스트 전용 내장 레디스```mermaid
sequenceDiagram
User ->> Spring MVC: request login
activate Spring MVC
critical 웹페이지 진입 가능 여부 확인
Spring MVC ->> Spring Webflux: check available
activate Spring Webflux
Spring Webflux -) Redis: check sequence
activate Redis
Redis --) Spring Webflux: response sequence
deactivate Redis
Spring Webflux --) Spring MVC: response available
deactivate Spring Webflux
end
Spring MVC ->> Spring Webflux: check available
deactivate Spring MVC
activate Spring Webflux
Spring Webflux -) Redis: check sequence
activate Redis
Redis --) Spring Webflux: response sequence
deactivate Redis
Spring Webflux --) User: response
deactivate Spring Webflux
critical 웹페이지 진입 가능 여부 확인 및 Redirect
User ->> Spring Webflux: request
activate Spring Webflux
Spring Webflux -) Redis: request
activate Redis
Redis --) Spring Webflux: response
deactivate Redis
Spring Webflux --) User: response
deactivate Spring Webflux
end
```## Memo
- cookie는 포트까지는 확인하지 않고 도메인 기반으로 작동하기 때문에, 서로 다른 서버에서 생성된 cookie를 활용할 수 있음