Untitled attachment
https://oransns.com/system/media_attachments/files/001/824/990/original/ae325bb87bab88dd.png
インスタンス検索を改良。
1, /instances/peersで超高速で全インスタンス取得
2, 画面の検索キーワードを元にふるいにかける
3, iinstances.social APIのinstances/showで情報取得。upやusers・statusesをチェックして稼働してないインスタンスを弾く。
これで無駄な検索結果を排除できるようにした。
多くのインスタンス、実質死んでるのにdeadがfalseとかずるいだろ・・・
注意として、instances.social APIに大量に読みにいくのもまずいので、検索結果を制限。
これでインスタンス検索の速度と精度を検索ポータル並に近づけたかな?
senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.
All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.