Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PDS連合ことはじめ
Search
yamarten
February 21, 2024
Technology
0
800
PDS連合ことはじめ
Bluesky/ATProtocol 勉強会 #3
https://428lab.connpass.com/event/310260/
yamarten
February 21, 2024
Tweet
Share
More Decks by yamarten
See All by yamarten
Bluesky 2019〜2022
yamarten
1
220
ATPの「A」
yamarten
0
270
ADXが見た夢(ATPのUCANの話)
yamarten
0
340
Other Decks in Technology
See All in Technology
QA業務を変える(!?)AIを併用した不具合分析の実践
ma2ri
0
160
serverless team topology
_kensh
3
240
ざっくり学ぶ 『エンジニアリングリーダー 技術組織を育てるリーダーシップと セルフマネジメント』 / 50 minute Engineering Leader
iwashi86
6
3.4k
GraphRAG グラフDBを使ったLLM生成(自作漫画DBを用いた具体例を用いて)
seaturt1e
1
160
OpenCensusと歩んだ7年間
bgpat
0
230
RemoteFunctionを使ったコロケーション
mkazutaka
1
150
頭部ふわふわ浄酔器
uyupun
0
240
Okta Identity Governanceで実現する最小権限の原則
demaecan
0
200
Amazon Athena で JSON・Parquet・Iceberg のデータを検索し、性能を比較してみた
shigeruoda
1
230
AIでデータ活用を加速させる取り組み / Leveraging AI to accelerate data utilization
okiyuki99
6
1.4k
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
14
82k
Azure Well-Architected Framework入門
tomokusaba
1
140
Featured
See All Featured
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
620
How GitHub (no longer) Works
holman
315
140k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
The Invisible Side of Design
smashingmag
302
51k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
Keith and Marios Guide to Fast Websites
keithpitt
411
23k
Balancing Empowerment & Direction
lara
5
700
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
A Modern Web Designer's Workflow
chriscoyier
697
190k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.1k
Transcript
PDS連合ことはじめ atprotoの連合の話 2024.2.21 Bluesky/ATProtocol 勉強会#3
今回話すこと プロトコルレベルの連合の仕組み Bluesky Socialの連合状況と展望 ある程度技術的な話が分かる人向け ActivityPubの連合概要についてイメージがつく程度を想定 今回の話がさっぱりの場合、連合機能が安定するまでしばら く様子を見た方がいいかも
今回話さないこと atproto上のサービス設計や運用について Bluesky特有の話とかモデレーションとかマネタイズとか PDS連合以外の分散の仕組み appviewやrelayの話は多少するが、ID関連は割愛
Bluesky Social連合前夜 2月6日Bluesky公式ブログにて、月内にBluesky Socialを連合対応 する旨が発表された (段階的に対応していく第一歩な模様) ※連合の仕組みは2023/05に実装されて以来ほぼ変わっておらず、 引越し実装&公式サーバへの接続開放がおそらく今回の目玉 This month,
we’ll be rolling out an experimental early version of “federation,” or the feature that makes the network so open and customizable.
連合(federation)とは 複数のシステム・サービスが協調連携する仕組み SNS方面で用語の定着契機は不明だが、OStatus登場(2010)あた りから使われている模様 →atprotoにおける「サービス」はどんな造りで、どう繋がる?
プロトコル毎の「サービス」観 ActivityPub X atproto Nostr
atproto方式の利点 検索等の大域的なサービスをサードパーティで作りやすい feed generatorもこれ 一つのアカウントで複数サービスが使える 具体的な仕様は未策定 急にサーバーが失踪しても他所でバックアップ復元できる 現在もアカウントだけは持ち出せる データのバックアップ復元は現在実装中(#2179)
atprotoの連合アーキテクチャ
今回行われる変更(予想)
余談:現在の公式サービス詳細 appview→クライアントは 間でPDSがプロキシする (先の図では省略していた) 内部的には既に連合してる entrywayというサーバーが 複数PDSをまとめている appviewは内部的には2つあ るらしい?
PDS連合によって何が起きるか 野良PDSをBluesky Socialに繋げるようになる データ(投稿など)のマスターを自分のサーバーで管理できる PDS間で引越しできるようになる(はず) 公式PDS(キノコ)間での引越しが許されるかは不明
PDS変更で変わるもの 処理速度 認証方法 ハンドルのドメイン 将来relayやappviewが増えたとき、接続先が変えられる(かも) モデレーション(のPDS担当部分) サービス機能はappviewで処理されるため、PDSの影響はほぼ無し
PDS管理者特権への対策 基本は引越し、いつでもできるように定期バックアップが肝要 アカウント削除/凍結(takedown) 特定コンテンツのシャドウバン(takedown)→気付けるかが問題 勝手な操作(投稿・フォロー解除等)→同上 ハンドル乗っ取り→カスタムハンドル、DID活用 DID乗っ取り→rotation key登録やdid:web(上級者向け)