摘要: 认证规则图: django不分离 drf分类 认证规则演变图 数据库session认证:低效 缓存认证:高效 jwt认证:高效 缓存认证:不易并发 jwt认证:易并发 阅读全文
posted @ 2019-10-22 19:33 云上3000 阅读(128) 评论(0) 推荐(0)
摘要: 频率认证 源码分析部分 def check_throttles(self, request): for throttle in self.get_throttles(): if not throttle.allow_request(request, self): self.throttled(req 阅读全文
posted @ 2019-10-22 18:52 云上3000 阅读(212) 评论(0) 推荐(0)