34

[登录那些事] 邮件发送,限流,漏桶与令牌桶

 5 years ago
source link: https://juejin.im/post/5cceafe5f265da039d32966d
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
前段时间,我使用了 jwt 来实现邮箱验证码的校验与用户认证与登录,还特别写了一篇文章作为总结。 在那篇文章中,提到了一个点,如何限速。 在短信验证码和邮箱验证码,如果不限速,被恶意攻击造成大量的 QPS,不仅拖垮了服务,也会心疼如水的资费。鉴于君子固穷的原则

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK