EC-CUBE / EC-CUBE/doc4.ec-cube.net

スロットリングの運用方法について追記する

Open Beginner friendly
#364 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
16
Forks
63
PR merge metrics
No merged PRs in 30d

Description

@nanasess
dtb_rate_limiter の期限切れ行の掃除について1点確認です。

DoctrineDbalAdapter は再アクセスされた鍵は期限切れ時に削除しますが、二度と来ない鍵(IP 単位スロットルの一過性 IP 等)は残り続ける認識です。
その場合cache:pool:prune を回さない限り滞留してテーブルが増え続けるため、運用上の懸念があります。

重要度は低ですが、定期実行の導線かドキュメント追記を検討いただけますでしょうか?

_Originally posted by @dotani1111 in https://github.com/EC-CUBE/ec-cube/issues/6880#issuecomment-5140449737_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the documentation section covering cache operation and the `cache:pool:prune` command; review how `DoctrineDbalAdapter` handles expired keys. Document the recommended periodic execution or operational procedure for pruning abandoned throttling entries, and consider the guidance complete when operators can follow it without further clarification.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.