Hagiwara Takayuki · @takayuki_h
31 followers · 498 posts · Server mstdn.jp

タイムライン処理を軽量化できるアルゴリズム思いついたので置いておきます。

ユーザーごとに購読先の情報をcounting bloom filterのハッシュとして保存しておいて、投稿側のハッシュとマッチさせるのが基本。これでフォロワー全員分を保存する必要がなくなる。

bloom filterのハッシュはidとあわせても非常に軽い(20バイト程度)ので、最新の投稿や接続中のユーザーの投稿をメモリ上で持っておいてここでマッチさせることで少ないメモリ消費で高速化が可能

固定式のskipgraphとしてメンバーのハッシュ和を検索対象として持つノードを保存しておけば過去投稿についてもやはり高速に取得できる

jetbead.hatenablog.com/entry/2

#fediversedev #fediverse #mastodondev

Last updated 2 years ago

abekonge · @abekonge
69 followers · 197 posts · Server sunbeam.city

Hey fediverse-devs. Is it possible to authenticate an activitypub-profile from another location than home-server? Like using e.g. an mastodon profile as identity on other activitypub-apps? Can I make an app where people can authenticate with already existing activitypub identities? (plz boost, if someone in your network might know)

#activitypub #activitypubdev #fediverse #fediversedev

Last updated 2 years ago

@peertube
Thanks to all the people who have worked to make Peertube and Fediverse better.

Shorter URLs will help Peertube and thus Fediverse.

To help those people who do and , why not start your own ?

See our pinned toot, or use the hashtag #)FediFlyer to learn more. Our flyers are CC-BY-SA, all we ask is if you change text (and if so, images too) that you don't attribute us.

Thanks again all involved in improving the Fediverse!

#fediversedev #peertubeDev #local #BountyProgram

Last updated 3 years ago

친구 · @d599f84e
120 followers · 1941 posts · Server mastodon.xyz