Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于服务器的两个建议 #19

Open
QWERTY770 opened this issue Dec 11, 2021 · 1 comment
Open

关于服务器的两个建议 #19

QWERTY770 opened this issue Dec 11, 2021 · 1 comment
Labels

Comments

@QWERTY770
Copy link

QWERTY770 commented Dec 11, 2021

刚才用脚本测试了一下,不断发送get请求到https://wantwords.thunlp.org/EnglishRD/?description=test&mode=EE
持续一千次,两次之间没有停顿(收到上一个请求的回应就立刻发送下一个请求)
本以为几次之后就会因为请求太频繁而被拒绝掉,但是一千次全部结束了也没有。
因此,建议在服务器上增加对请求频率的限制,防止恶意攻击。

第二,在上述过程中我发现虽然显示词语只有100个,但是get请求却返回了377个词语(有的词甚至更多,如“啊”返回了441个结果),而多余的277个并不能显示出来。
建议增加一个翻页的选项(或者像很多网站一样,用倒三角按钮显示 /隐藏内容)。虽然后面的词语已经几乎不相关了,但有几个还是有价值的,有时也能起到增加词汇量的作用。

@Fanchao-Qi
Copy link
Contributor

感谢建议!这两个问题都已经在我们的todo list中啦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants