We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#6 (既知のWorldにおいてaccount/verify_credentialsを2回以上呼び出さないようにした) の Delayer::Deferred を用いた実装において、 「deferredチェーンが全てメモリに残り続ける」という問題がある という shibafu528 氏本人からの指摘がある。
Delayer::Deferred
#6 においては対外 DoS のほうがローカル memory leak よりも重大という判断で先にマージしたが、 課題としては忘れないようにとりあえず issue でメモっておく。
The text was updated successfully, but these errors were encountered:
mikutter 本体の mastodon plugin の Plugin::Mastodon::API.call https://dev.mikutter.hachune.net/projects/mikutter/repository/main/revisions/4c4d581f5627a30665f83d02fa99e2fec985315f/entry/plugin/mastodon/api.rb#L110 あたりが参考になるだろうか、とちょっと見てみたが、前提知識がないと厳しい感じ。 他の用例もいろいろ見てみるか。
Plugin::Mastodon::API.call
Sorry, something went wrong.
No branches or pull requests
#6 (既知のWorldにおいてaccount/verify_credentialsを2回以上呼び出さないようにした)
の
Delayer::Deferred
を用いた実装において、「deferredチェーンが全てメモリに残り続ける」という問題がある
という shibafu528 氏本人からの指摘がある。
さて、Twitter DoS対策はあれだとメモリ効率が終わってることに気づいてしまったわけだが
挙動は問題ないです、ただdeferredチェーンが全てメモリに残り続けるっぽい
想定としてはチェーン全体ではなくhashに突っこんでる部分から先だけが到達可能objectのつもりだったんだけど、どうやら単方向リストではなく双方向リストだったらしいので
#6 においては対外 DoS のほうがローカル memory leak よりも重大という判断で先にマージしたが、
課題としては忘れないようにとりあえず issue でメモっておく。
The text was updated successfully, but these errors were encountered: