You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support or move to in-memory requests throttling control for email IDP endpoints #4069
While working on the PR #4058, we realized that controlling request throttling on the database can lead to a lot of dangling entries - failed email login attempts, failed password reset complete attempts, etc. - and can lead to a high volume of database requests when under attack. The entries can be cleaned up using the admin, but it might be more performatic - and safe - to favor an in-memory approach, such as using Redis.
There is room for discussion if we should abstract this feature to have support using either the database or Redis, since not all Serverpod deploys will have the global cache. Another approach would be to move completely away from the database and use the existing available cache - be it global or local, even though local would result in higher attack tolerance.
Activity