画面に表示されると同時に translated なものと、translate ボタンを押さないと翻訳されないものとあるんだな。これってつまり、translated なデータが保存されてたなら再利用してるってことなんだろう。
言い換えると、翻訳済みのものが流れてきたってことは、同じ母国語の誰かが興味を持って translate させたってこと。Star ほどじゃないけど、何かの指針になるかもね。
Commit
27bb649
now that you mentioned it, that's actually clever on the part of /dev/null team. show original for fewer translation request, if somebody translated it then store, then serve the translation moving forward
翻訳コストは抑えられるよね。ストレージコストは増えるし、言語差チェックや、追加のローディングクエリなんかも増えるけど、、AI model を利用する翻訳が一番コスト高いし、妥当な落とし所って気がする。よいバランス感覚。
Out of curiosity, how does doing it like that affect storage costs? If anything, it keeps it down by not storing transalations when not needed, no?
なにと比較するかが曖昧でしたね。
原文のみを保存しておき、ユーザーが translate ボタンを押すたびに翻訳して表示するようなアーキテクチャと比較してた。翻訳処理をブラウザやクライアント側に寄せるとそういうアーキテクチャになると思う。
「すべてをあらかじめ翻訳して保存しておく」というアーキテクチャが最も翻訳コスト&ストレージコストがかかると思っている。Xが採用している仕組みはこれじゃないかな。それと比べると今の戦略はストレージコストを抑えていると思うよ。
commit 27bb649
Oh, yes it was indeed confusing, but now that I understand, I completely agree!
Personally I think the current strategy makes the most sense. Inherently translation is something that should be stored since it’s likely to always be the same + many users are likely to need it…