Skip to content

Remplacement de ActionThrottling par symfony/rate-limiter#2299

Draft
vgreb wants to merge 1 commit into
afup:masterfrom
vgreb:refacto/symfony-rate-limiter
Draft

Remplacement de ActionThrottling par symfony/rate-limiter#2299
vgreb wants to merge 1 commit into
afup:masterfrom
vgreb:refacto/symfony-rate-limiter

Conversation

@vgreb

@vgreb vgreb commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Il reste à déterminer où on stocke l'état des limites. Redis ? ACPu ? autre ?

@Mopolo

Mopolo commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Il reste à déterminer où on stocke l'état des limites. Redis ? ACPu ? autre ?

Un simple cache basique ça suffit non ? Y'a pas un volume de dingue non plus je pense.

@vgreb

vgreb commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator Author

On peut rester sur le cache sur fichier dans var/cache, il faut juste savoir que c'est reset à chaque déploiement.

@Mopolo

Mopolo commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

On peut rester sur le cache sur fichier dans var/cache, il faut juste savoir que c'est reset à chaque déploiement.

Ça me parait ok pour le moment, je me dis que tout un redis pour ça c'est un peu overkill.

Au pire on peut avoir du cache dans la bdd si vraiment on ressent le besoin.

@vgreb vgreb force-pushed the refacto/symfony-rate-limiter branch from c4abf69 to 47a984a Compare June 10, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants