blueskyArchitecture/BlueskyArchitecture.html

875 lines
32 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Bluesky Architecture compared to other social media services</title>
<meta name="author" content="Éibhear Ó hAnluain"/>
<meta name="description" content="A discussion of Bluesky's architecture as it relates to other social media services"/>
<meta name="keywords" content=""/>
<style type="text/css">
.underline { text-decoration: underline; }
</style>
<link rel="stylesheet" href="./reveal.js/dist/reveal.css"/>
<link rel="stylesheet" href="./reveal.js/dist/theme/white.css" id="theme"/>
<link rel="stylesheet" href="./e-reveal.css"/>
<link rel="stylesheet" href="./gridding.css"/>
</head>
<body>
<div class="reveal">
<div class="slides">
<section id="sec-title-slide" data-background="./bCardBackground.png"><h1 class="title">Bluesky Architecture compared to other social media services</h1><p class="subtitle"><a href="?print-pdf">Printable version</a></p>
<h2 class="author">Éibhear Ó hAnluain</h2><h2 class="email"><a href="mailto:eibhear.geo@gmail.com">eibhear.geo@gmail.com</a></h2><h2 class="date">2024-05-24 Fri 00:00</h2>
</section>
<section id="sec-table-of-contents" data-background="./bCardBackground.png"><div id="table-of-contents" role="doc-toc">
<h2>Table of Contents</h2>
<div id="text-table-of-contents" role="doc-toc">
<ul>
<li><a href="#/slide-orge7e476c">Introduction</a></li>
<li><a href="#/slide-org64099ae">General social media architectures</a></li>
<li><a href="#/slide-org890d10f">Federated social media services</a></li>
<li><a href="#/slide-org39218aa">Bluesky</a></li>
<li><a href="#/slide-org61fb0ad">Bluesky &#x2013; Identities</a></li>
<li><a href="#/slide-org202c2bc">Bluesky &#x2013; Composable Feeds</a></li>
<li><a href="#/slide-orge44470c">Bluesky &#x2013; The AppView</a></li>
<li><a href="#/slide-orgbbe2078">Bluesky &#x2013; The Relay and the PDS</a></li>
<li><a href="#/slide-orgdbbeb53">Bluesky &#x2013; Moderation</a></li>
<li><a href="#/slide-org077707d">Bluesky</a></li>
<li><a href="#/slide-orgace6b66">Resources and further reading</a></li>
</ul>
</div>
</div>
</section>
<section>
<section id="slide-orge7e476c" data-background="./bCardBackground.png">
<h2 id="orge7e476c">Introduction</h2>
<div class="outline-text-2" id="text-orge7e476c">
</div>
</section>
<section id="slide-orga9a294a" data-background="./bCardBackground.png">
<h3 id="orga9a294a">Éibhear Ó hAnluain</h3>
<div class="e-frame">
<ul>
<li class="fragment appear">IT professional since 1994</li>
<li class="fragment appear">IT Architect since 2009</li>
<li class="fragment appear">Interested in and promoting federated social services since 2013-ish
<ul>
<li><a href="https://www.gibiris.org/eo-blog/gibiris-services.html">Implementations</a></li>
<li><a href="https://www.gibiris.org/eo-blog/tags/selfhosting.html">Blog posts</a></li>
<li><a href="https://www.gibiris.org/eo-blog/posts/2019/04/15_harmful-content-consultation.html">Representations</a> to government organisations</li>
</ul></li>
<li class="fragment appear">This presentation uses diagrams created using <a href="https://structurizr.com/">Strucutizr</a>
<ul>
<li><code>autolayout</code> throughout</li>
</ul></li>
</ul>
</div>
</section>
<section id="slide-orgcd3ef43" data-background="./bCardBackground.png">
<h3 id="orgcd3ef43">What is Bluesky</h3>
<div class="e-frame">
<ul>
<li class="fragment appear">A new social media service</li>
<li class="fragment appear"><a href="https://twitter.com/jack/status/1204766078468911106">Initiated</a> by Jack Dorsey when he was CEO of Twitter
<ul>
<li>Vision of a decentralised service</li>
<li>Inspired by Mike Masnick's 2019 "<a href="https://knightcolumbia.org/content/protocols-not-platforms-a-technological-approach-to-free-speech">Protocols, Not Platforms: A
Technological Approach to Free Speech</a>" paper</li>
<li>Plan was for Twitter to move all its users to the new platform
when ready</li>
</ul></li>
<li class="fragment appear"><a href="https://en.wikipedia.org/wiki/Bluesky_(social_network)">Company formed in 2021</a>
<ul>
<li>Seed funding from Twitter</li>
<li>Dorsey on the board</li>
<li>Set up as a public benefit company</li>
</ul></li>
<li class="fragment appear">Privatisation of Twitter in October 2022; Bluesky defunded</li>
<li class="fragment appear">2023, Dorsey deleteds Bluesky account &#x2013; not meeting his vision</li>
<li class="fragment appear">April 2024, Dorsey resigns from Bluesky board.</li>
</ul>
</div>
</section>
</section>
<section>
<section id="slide-org64099ae" data-background="./bCardBackground.png">
<h2 id="org64099ae">General social media architectures</h2>
<div class="outline-text-2" id="text-org64099ae">
</div>
</section>
<section id="slide-orga51d901" data-background="./bCardBackground.png">
<h3 id="orga51d901">Simplistic view 1/2 &#x2013; overview</h3>
<div class="e-frame">
<div id="orgb64bdec" class="figure">
<p><img src="structurizr-1-001-GenericSocial-01.png" alt="structurizr-1-001-GenericSocial-01.png" width="90%" />
</p>
</div>
</div>
</section>
<section id="slide-orgb10542d" data-background="./bCardBackground.png">
<h3 id="orgb10542d">Simplistic view 2/2 &#x2013; services</h3>
<div class="gridded_frame_with_columns e-frame">
<div class="one_of_2_columns">
<div id="orgc1d349b" class="figure">
<p><img src="structurizr-1-002-GenericSocial-02.png" alt="structurizr-1-002-GenericSocial-02.png" width="40%" />
</p>
</div>
</div>
<div class="one_of_2_columns">
<ul>
<li class="fragment appear">Social media user access the app</li>
<li class="fragment appear">The app interacts with the API</li>
<li class="fragment appear">The API is the gateway for the database of posts, responses, likes, etc.</li>
</ul>
</div>
</div>
</section>
<section id="slide-org623f3d3" data-background="./bCardBackground.png">
<h3 id="org623f3d3">More realistic view 1/4 &#x2013; overview</h3>
<div class="e-frame">
<div id="org939ee27" class="figure">
<p><img src="structurizr-1-003-RealisticSocial-01.png" alt="structurizr-1-003-RealisticSocial-01.png" width="90%" />
</p>
</div>
</div>
</section>
<section id="slide-orgc1bfe3e" data-background="./bCardBackground.png">
<h3 id="orgc1bfe3e">More realistic view 2/4 &#x2013; basic services</h3>
<div class="gridded_frame_with_columns e-frame">
<div class="one_of_2_columns">
<div id="org4ce05da" class="figure">
<p><img src="structurizr-1-004-RealisticSocial-02.png" alt="structurizr-1-004-RealisticSocial-02.png" width="70%" />
</p>
</div>
</div>
<div class="one_of_2_columns">
<ul>
<li class="fragment appear">Social media user access the app</li>
<li class="fragment appear">The app interacts with the API</li>
<li class="fragment appear">The API is the gateway for the database of posts, responses, likes, etc.</li>
<li class="fragment appear">The API also captures data for building profiles of users for targeting purposes</li>
<li class="fragment appear">The algorithmic feed generator guides the API on what posts to place into the app's feed</li>
</ul>
</div>
</div>
</section>
<section id="slide-orgd47a558" data-background="./bCardBackground.png">
<h3 id="orgd47a558">More realistic view 3/4 &#x2013; the algorithm</h3>
<div class="gridded_frame_with_columns e-frame">
<div class="one_of_2_columns">
<div id="org4698712" class="figure">
<p><img src="structurizr-1-005-RealisticSocial-03.png" alt="structurizr-1-005-RealisticSocial-03.png" width="70%" />
</p>
</div>
</div>
<div class="one_of_2_columns">
<ul>
<li>Social media user access the app</li>
<li>The app interacts with the API</li>
<li>The API is the gateway for the database of posts, responses, likes, etc.</li>
<li>The API also captures data for building profiles of users for targeting purposes</li>
<li>The algorithmic feed generator guides the API on what posts to place into the app's feed</li>
<li>Algorithmic feeds are created by the service administrator, using an app only <i>they</i> have access to</li>
</ul>
</div>
</div>
</section>
<section id="slide-org6e15148" data-background="./bCardBackground.png">
<h3 id="org6e15148">More realistic view 4/4 &#x2013; content moderation</h3>
<div class="gridded_frame_with_columns e-frame">
<div class="one_of_2_columns">
<div id="org352eec0" class="figure">
<p><img src="structurizr-1-006-RealisticSocial-04.png" alt="structurizr-1-006-RealisticSocial-04.png" width="100%" />
</p>
</div>
</div>
<div class="one_of_2_columns">
<ul>
<li>Social media user access the app</li>
<li>The app interacts with the API</li>
<li>The API is the gateway for the database of posts, responses, likes, etc.</li>
<li>The API also captures data for building profiles of users for targeting purposes</li>
<li>The algorithmic feed generator guides the API on what posts to place into the app's feed</li>
<li>Algorithmic feeds are created by the service administrator, using an app only <i>they</i> have access to</li>
<li>Moderation is also performed by a member of the service's staff, using a dedicate app and services the the user doesn't have access to</li>
</ul>
</div>
</div>
</section>
</section>
<section>
<section id="slide-org890d10f" data-background="./bCardBackground.png">
<h2 id="org890d10f">Federated social media services</h2>
<div class="outline-text-2" id="text-org890d10f">
</div>
</section>
<section id="slide-orgb6a43e8" data-background="./bCardBackground.png">
<h3 id="orgb6a43e8">Federated services 1/8 &#x2013; overview</h3>
<div class="e-frame">
<div id="orgfe94043" class="figure">
<p><img src="structurizr-1-007-FederatedSocial-01.png" alt="structurizr-1-007-FederatedSocial-01.png" width="75%" />
</p>
</div>
</div>
</section>
<section id="slide-orgcafff73" data-background="./bCardBackground.png">
<h3 id="orgcafff73">Federated services 2/8 &#x2013; internal, administration and content moderation services</h3>
<div class="gridded_frame_with_columns e-frame">
<div class="one_of_2_columns">
<div id="orge0b86a5" class="figure">
<p><img src="structurizr-1-008-FederatedSocial-02.png" alt="structurizr-1-008-FederatedSocial-02.png" width="70%" />
</p>
</div>
</div>
<div class="one_of_2_columns">
<ul>
<li class="fragment appear">Same as before, the user access the service through an App that uses an API</li>
<li class="fragment appear">As federated services are small, the administrator and the moderator are the one person</li>
<li class="fragment appear">No algorithmic feeds, though
<ul>
<li>not popular in the fediverse community</li>
<li>difficult to implement in a federated environment.</li>
</ul></li>
</ul>
</div>
</div>
</section>
<section id="slide-org849d750" data-background="./bCardBackground.png">
<h3 id="org849d750">Federated services 3/8 &#x2013; federation 1</h3>
<div class="gridded_frame_with_columns e-frame">
<div class="one_of_2_columns" style="width: 60%">
<div id="org598f1fc" class="figure">
<p><img src="structurizr-1-009-FederatedSocial-03.png" alt="structurizr-1-009-FederatedSocial-03.png" width="100%" />
</p>
</div>
</div>
<div class="one_of_2_columns" style="width: 40%">
<ul>
<li>Same as before, the user access the service through an App that uses an API</li>
<li>As federated services are small, the administrator and the moderator are the one person</li>
<li>No algorithmic feeds, though
<ul>
<li>not popular in the fediverse community</li>
<li>difficult to implement in a federated environment.</li>
</ul></li>
<li class="fragment appear">Federation service to push activity out to the federated network</li>
<li class="fragment appear">Federation API to take in activity from other nodes</li>
<li class="fragment appear">A logical database of inbound federated posts</li>
<li class="fragment appear">Federation using ActivityPub standard</li>
</ul>
</div>
</div>
</section>
<section id="slide-org3de06f3" data-background="./bCardBackground.png">
<h3 id="org3de06f3">Federated services 4/8 &#x2013; federation 2</h3>
<div class="e-frame">
<div id="org699e2a2" class="figure">
<p><img src="structurizr-1-010-FederatedSocial-04.png" alt="structurizr-1-010-FederatedSocial-04.png" width="75%" />
</p>
</div>
</div>
</section>
<section id="slide-org5fa9d1f" data-background="./bCardBackground.png">
<h3 id="org5fa9d1f">Federated services 5/8 &#x2013; federation 3</h3>
<div class="e-frame">
<div id="orge6a4f9c" class="figure">
<p><img src="structurizr-1-011-FederatedSocial-05.png" alt="structurizr-1-011-FederatedSocial-05.png" width="75%" />
</p>
</div>
</div>
</section>
<section id="slide-org3e8a5ec" data-background="./bCardBackground.png">
<h3 id="org3e8a5ec">Federated services 6/8 &#x2013; federation 4</h3>
<div class="e-frame">
<div id="org6bdea5b" class="figure">
<p><img src="structurizr-1-012-FederatedSocial-06.png" alt="structurizr-1-012-FederatedSocial-06.png" width="75%" />
</p>
</div>
</div>
</section>
<section id="slide-org0a42309" data-background="./bCardBackground.png">
<h3 id="org0a42309">Federated services 7/8 &#x2013; federation 5</h3>
<div class="e-frame">
<div id="org4132423" class="figure">
<p><img src="structurizr-1-013-FederatedSocial-07.png" alt="structurizr-1-013-FederatedSocial-07.png" width="75%" />
</p>
</div>
</div>
</section>
<section id="slide-org1a2a5a9" data-background="./bCardBackground.png">
<h3 id="org1a2a5a9">Federated services 8/8 &#x2013; federation 6</h3>
<div class="e-frame">
<div id="orgc0f089d" class="figure">
<p><img src="structurizr-1-014-FederatedSocial-08.png" alt="structurizr-1-014-FederatedSocial-08.png" width="75%" />
</p>
</div>
</div>
</section>
</section>
<section>
<section id="slide-org39218aa" data-background="./bCardBackground.png">
<h2 id="org39218aa">Bluesky</h2>
<div class="outline-text-2" id="text-org39218aa">
</div>
</section>
<section id="slide-orgcb24f75" data-background="./bCardBackground.png">
<h3 id="orgcb24f75">Basic Bluesky 1/2</h3>
<div class="e-frame">
<div id="orgc43cf74" class="figure">
<p><img src="structurizr-1-015-BlueskyBasic-01.png" alt="structurizr-1-015-BlueskyBasic-01.png" width="100%" />
</p>
</div>
</div>
</section>
<section id="slide-org9a6b8e9" data-background="./bCardBackground.png">
<h3 id="org9a6b8e9">Basic Bluesky 2/2</h3>
<div class="gridded_frame_with_columns e-frame">
<div class="one_of_2_columns" style="width: 70%">
<div id="orgf51ab31" class="figure">
<p><img src="structurizr-1-016-BlueskyBasic-02.png" alt="structurizr-1-016-BlueskyBasic-02.png" width="100%" />
</p>
</div>
</div>
<div class="one_of_2_columns" style="width: 30%">
<ul>
<li class="fragment appear">User interfaces with a client hosted by the <i>AppView</i></li>
<li class="fragment appear">The <i>AppView</i> includes an API (allowing for 3rd-party and bot-like clients)</li>
<li class="fragment appear">The <i>AppView</i> stores and reads data from the <i>Personal Data Server</i> (PDS)</li>
<li class="fragment appear">Bluesky resolved user identities using "DIDs" (Distributed IDs)</li>
<li class="fragment appear">The Bluesky admin uses a separate service for preparing algorithmic feeds</li>
<li class="fragment appear">The Bluesky moderator applies labels and actions to posts for trust and safety through a dedicated service</li>
<li class="fragment appear">All implemented using a new social protocol call "The AT Protocol", or <i>@proto</i>.</li>
</ul>
</div>
</div>
</section>
</section>
<section>
<section id="slide-org61fb0ad" data-background="./bCardBackground.png">
<h2 id="org61fb0ad">Bluesky &#x2013; Identities</h2>
<div class="outline-text-2" id="text-org61fb0ad">
</div>
</section>
<section id="slide-org6323d46" data-background="./bCardBackground.png">
<h3 id="org6323d46">Bluesky Identities 1/4</h3>
<div class="gridded_frame_with_columns e-frame">
<div class="one_of_2_columns" style="width: 35%">
<div id="org2abe175" class="figure">
<p><img src="structurizr-1-017-BlueskyIdentity-01.png" alt="structurizr-1-017-BlueskyIdentity-01.png" width="100%" />
</p>
</div>
</div>
<div class="one_of_2_columns" style="width: 65%">
<ul>
<li class="fragment appear">User's typical Bluesky ID is <code>@&lt;user-handle&gt;.bsky.social</code>
<ul>
<li>e.g. <code>@theauldsthretch.bsky.social</code></li>
</ul></li>
<li class="fragment appear">Users can set up their own handle, <code>@&lt;user-handle&gt;.&lt;domain&gt;</code>. E.g. (and these are all real IDs) &#x2026;
<ul>
<li><code>@astrokatie.com</code> &#x2013; a cosmologist</li>
<li><code>@eibhear.gibiris.org</code> &#x2013; the author</li>
<li><code>@wyden.senate.gov</code> &#x2013; a U.S. Senator</li>
</ul></li>
<li class="fragment appear">User must control the domain or be a legitimate member of the domain's community</li>
<li class="fragment appear"><p>
Domain-based handle resolves to a DID, either by DNS or <code>.well-known</code>:
</p>
<div class="org-src-container">
<pre class="src src-shell" ><code trim>$ dig _atproto.eibhear.gibiris.org TXT
...
;; ANSWER SECTION:
_atproto.eibhear.gibiris.org. 3600 IN TXT <span style="color: #8b2252;">"did=did:plc:23mysztmt7dh3l5lzhinzafi"</span>
$ curl https://theauldsthretch.bsky.social/.well-known/atproto-did
did:plc:avzdf5esd7xpbgsgh7lx4kzq
</code></pre>
</div></li>
</ul>
</div>
</div>
</section>
<section id="slide-org9e16e1c" data-background="./bCardBackground.png">
<h3 id="org9e16e1c">Bluesky Identities 2/4</h3>
<div class="e-frame">
<div id="org9079127" class="figure">
<p><img src="structurizr-1-018-BlueskyIdentity-02.png" alt="structurizr-1-018-BlueskyIdentity-02.png" width="100%" />
</p>
</div>
</div>
</section>
<section id="slide-org46dba9e" data-background="./bCardBackground.png">
<h3 id="org46dba9e">Bluesky Identities 3/4</h3>
<div class="e-frame">
<div id="org8b3b272" class="figure">
<p><img src="structurizr-1-019-BlueskyIdentity-03.png" alt="structurizr-1-019-BlueskyIdentity-03.png" width="100%" />
</p>
</div>
</div>
</section>
<section id="slide-org41d0c5b" data-background="./bCardBackground.png">
<h3 id="org41d0c5b">Bluesky Identities 4/4</h3>
<div class="e-frame">
<div id="orgb415158" class="figure">
<p><img src="structurizr-1-020-BlueskyIdentity-04.png" alt="structurizr-1-020-BlueskyIdentity-04.png" width="100%" />
</p>
</div>
</div>
</section>
</section>
<section>
<section id="slide-org202c2bc" data-background="./bCardBackground.png">
<h2 id="org202c2bc">Bluesky &#x2013; Composable Feeds</h2>
<div class="outline-text-2" id="text-org202c2bc">
</div>
</section>
<section id="slide-org5ffc94e" data-background="./bCardBackground.png">
<h3 id="org5ffc94e">Bluesky Composable Feeds 1/3</h3>
<div class="gridded_frame_with_columns e-frame">
<div class="one_of_2_columns" style="width: 70%">
<div id="orgf85a188" class="figure">
<p><img src="structurizr-1-021-BlueskyFeeds-01.png" alt="structurizr-1-021-BlueskyFeeds-01.png" width="100%" />
</p>
</div>
</div>
<div class="one_of_2_columns" style="width: 30%">
<ul>
<li class="fragment appear">Algorithmic feeds use an API</li>
<li class="fragment appear">Allows for independent feeds to be created by 3rd parties</li>
<li class="fragment appear">Users' default feed is <i>Following</i>:
<ul>
<li>A chronological feed of posts from those you follow</li>
</ul></li>
<li class="fragment appear">Users subscribe to other feeds. Examples:
<ul>
<li><i>Discover</i> &#x2013; posts that you may be interested in</li>
<li><i>Astronomy</i> &#x2013; Posts relating to astronomy</li>
<li><i>Quiet Posters</i> &#x2013; those you follow but who don't post very often</li>
</ul></li>
<li class="fragment appear">The <i>AppView</i> will read data from the independent feeds</li>
<li class="fragment appear">The feeds get relevant posts from the PDS</li>
</ul>
</div>
</div>
</section>
<section id="slide-orge01370a" data-background="./bCardBackground.png">
<h3 id="orge01370a">Bluesky Composable Feeds 2/3 &#x2013; feeds as a separate application type</h3>
<div class="e-frame">
<div id="org1229de1" class="figure">
<p><img src="structurizr-1-023-BlueskyFeeds-03.png" alt="structurizr-1-023-BlueskyFeeds-03.png" width="100%" />
</p>
</div>
</div>
</section>
<section id="slide-org006cbeb" data-background="./bCardBackground.png">
<h3 id="org006cbeb">Bluesky Composable Feeds 3/3 &#x2013; Generic feeds</h3>
<div class="e-frame">
<div id="org8d8538b" class="figure">
<p><img src="structurizr-1-024-BlueskyFeeds-04.png" alt="structurizr-1-024-BlueskyFeeds-04.png" width="100%" />
</p>
</div>
</div>
</section>
</section>
<section>
<section id="slide-orge44470c" data-background="./bCardBackground.png">
<h2 id="orge44470c">Bluesky &#x2013; The AppView</h2>
<div class="outline-text-2" id="text-orge44470c">
</div>
</section>
<section id="slide-org05f764d" data-background="./bCardBackground.png">
<h3 id="org05f764d">Bluesky AppView 1/3</h3>
<div class="gridded_frame_with_columns e-frame">
<div class="one_of_2_columns" style="width: 60%">
<div id="orgc60665b" class="figure">
<p><img src="structurizr-1-025-BlueskyAppView-01.png" alt="structurizr-1-025-BlueskyAppView-01.png" width="100%" />
</p>
</div>
</div>
<div class="one_of_2_columns" style="width: 40%">
<ul>
<li class="fragment appear">The main application users interact with the <i>AppView</i>.</li>
<li class="fragment appear">The <i>AppView</i> consists of the application (web, mobile, etc.) and the API
<ul>
<li>3rd-party clients (web, mobile, bots) can be created</li>
</ul></li>
<li class="fragment appear">The client is only a part of the <i>AppView</i></li>
<li class="fragment appear">The <i>AppView</i> implements the <i>lexicon</i> of the service
<ul>
<li>Converts the <i>data</i> in the PDS into the social media <i>information</i></li>
</ul></li>
<li class="fragment appear">Now implemented by Bluesky as a separate service</li>
<li class="fragment appear"><i>AppView</i> reads from the feeds services, the moderation services and the PDS itelf</li>
<li class="fragment appear"><i>AppView</i> writes new posts, reposts, likes, replies, etc. to the PDS</li>
</ul>
</div>
</div>
</section>
<section id="slide-org1b4751a" data-background="./bCardBackground.png">
<h3 id="org1b4751a">Bluesky AppView 2/3 &#x2013; A 3rd-party independent AppView</h3>
<div class="gridded_frame_with_columns e-frame">
<div class="one_of_2_columns" style="width: 60%">
<div id="org3dc12fb" class="figure">
<p><img src="structurizr-1-027-BlueskyAppView-03.png" alt="structurizr-1-027-BlueskyAppView-03.png" width="100%" />
</p>
</div>
</div>
<div class="one_of_2_columns" style="width: 40%">
<ul>
<li>The main application users interact with the <i>AppView</i>.</li>
<li>The <i>AppView</i> consists of the application (web, mobile, etc.) and the API
<ul>
<li>3rd-party clients (web, mobile, bots) can be created</li>
</ul></li>
<li>The client is only a part of the <i>AppView</i></li>
<li>The <i>AppView</i> implements the <i>lexicon</i> of the service
<ul>
<li>Converts the <i>data</i> in the PDS into the social media <i>information</i></li>
</ul></li>
<li>Now implemented by Bluesky as a separate service</li>
<li><i>AppView</i> reads from the feeds services, the moderation services and the PDS itelf</li>
<li><i>AppView</i> writes new posts, reposts, likes, replies, etc. to the PDS</li>
<li class="fragment appear">Third parties can also develop separate <i>AppViews</i> (the client and APIs) &#x2026;
<ul>
<li>Alternatives to Bluesky's own <i>AppView</i></li>
<li>Implement a new <i>lexicon</i> for, say, video sharing, long-form posts, etc.</li>
</ul></li>
</ul>
</div>
</div>
</section>
<section id="slide-orgf5d9361" data-background="./bCardBackground.png">
<h3 id="orgf5d9361">Bluesky AppView 3/3 &#x2013; Generic AppView</h3>
<div class="e-frame">
<div id="orga6d993a" class="figure">
<p><img src="structurizr-1-028-BlueskyAppView-04.png" alt="structurizr-1-028-BlueskyAppView-04.png" width="70%" />
</p>
</div>
</div>
</section>
</section>
<section>
<section id="slide-orgbbe2078" data-background="./bCardBackground.png">
<h2 id="orgbbe2078">Bluesky &#x2013; The Relay and the PDS</h2>
<div class="outline-text-2" id="text-orgbbe2078">
</div>
</section>
<section id="slide-org7a475d3" data-background="./bCardBackground.png">
<h3 id="org7a475d3">Bluesky Relay 1/2 &#x2013; 1 PDS into many</h3>
<div class="gridded_frame_with_columns e-frame">
<div class="one_of_2_columns" style="width: 70%">
<div id="org8c9b5a0" class="figure">
<p><img src="structurizr-1-029-BlueskyRelay-01.png" alt="structurizr-1-029-BlueskyRelay-01.png" width="100%" />
</p>
</div>
</div>
<div class="one_of_2_columns" style="width: 30%">
<ul>
<li class="fragment appear">Initially, Bluesky had just 1 PDS</li>
<li class="fragment appear">Separated out into multiple PDSs for performance reasons</li>
</ul>
</div>
</div>
</section>
<section id="slide-org07eb435" data-background="./bCardBackground.png">
<h3 id="org07eb435">Bluesky Relay 2/2 &#x2013; Relay, as a proxy to the PDSes</h3>
<div class="gridded_frame_with_columns e-frame">
<div class="one_of_2_columns" style="width: 70%">
<div id="org02cc73b" class="figure">
<p><img src="structurizr-1-030-BlueskyRelay-02.png" alt="structurizr-1-030-BlueskyRelay-02.png" width="100%" />
</p>
</div>
</div>
<div class="one_of_2_columns" style="width: 30%">
<ul>
<li>Initially, Bluesky had just 1 PDS</li>
<li>Separated out into multiple PDSs for performance reasons</li>
<li class="fragment appear">Interfaces for reading PDSs now proxied through <i>the Relay</i></li>
<li class="fragment appear">The Relay stores metadata and indexes/indices of posts</li>
<li class="fragment appear">All information about posts are read from the Relay
<ul>
<li>the <i>AppView</i></li>
<li>algorithmic feeds services</li>
<li>moderation</li>
</ul></li>
<li class="fragment appear"><i>AppView</i> still writes to the PDS (new posts, etc.)</li>
<li class="fragment appear">With <i>the Relay</i>, we can now have <b>independent, self-hosted, PDSs</b>.</li>
</ul>
</div>
</div>
</section>
<section id="slide-org1a4fb5b" data-background="./bCardBackground.png">
<h3 id="org1a4fb5b">Bluesky PDS 1/3 &#x2013; An independent PDS: "federation" of a sort</h3>
<div class="e-frame">
<div id="org8ea43db" class="figure">
<p><img src="structurizr-1-032-BlueskyPDS-01.png" alt="structurizr-1-032-BlueskyPDS-01.png" width="90%" />
</p>
</div>
</div>
</section>
<section id="slide-orge7c1b17" data-background="./bCardBackground.png">
<h3 id="orge7c1b17">Bluesky PDS 2/3 &#x2013; An independent PDS: "federation" of a sort</h3>
<div class="e-frame">
<div id="org4748967" class="figure">
<p><img src="structurizr-1-034-BlueskyPDS-03.png" alt="structurizr-1-034-BlueskyPDS-03.png" width="90%" />
</p>
</div>
</div>
</section>
<section id="slide-org6a4f134" data-background="./bCardBackground.png">
<h3 id="org6a4f134">Bluesky PDS 3/3 &#x2013; PDS: "federation" of a sort</h3>
<div class="e-frame">
<div id="org1465166" class="figure">
<p><img src="structurizr-1-035-BlueskyPDS-04.png" alt="structurizr-1-035-BlueskyPDS-04.png" width="80%" />
</p>
</div>
</div>
</section>
</section>
<section>
<section id="slide-orgdbbeb53" data-background="./bCardBackground.png">
<h2 id="orgdbbeb53">Bluesky &#x2013; Moderation</h2>
<div class="outline-text-2" id="text-orgdbbeb53">
</div>
</section>
<section id="slide-org4d54bcb" data-background="./bCardBackground.png">
<h3 id="org4d54bcb">Bluesky Moderation 1/2</h3>
<div class="gridded_frame_with_columns e-frame">
<div class="one_of_2_columns" style="width: 70%">
<div id="org807252c" class="figure">
<p><img src="structurizr-1-036-BlueskyModeration-01.png" alt="structurizr-1-036-BlueskyModeration-01.png" width="100%" />
</p>
</div>
</div>
<div class="one_of_2_columns" style="width: 30%">
<ul>
<li class="fragment appear">Moderation separated out as a distinct service</li>
<li class="fragment appear">Moderation tooling reads from the Relay</li>
<li class="fragment appear">Bluesky maintains and operates the top-level moderation
<ul>
<li>Suppresses the really bad stuff, like illegal and abusive material</li>
<li>and really, really, <i>really</i> bad stuff like copyright infringement<sup><a id="fnr.1" class="footref" href="#fn.1" role="doc-backlink">1</a></sup></li>
</ul></li>
<li class="fragment appear">But separate moderation services can be implemented by 3rd parties</li>
</ul>
</div>
</div>
</section>
<section id="slide-orge712a09" data-background="./bCardBackground.png">
<h3 id="orge712a09">Bluesky Moderation 2/2 &#x2013; A 3rd-party independent Moderation service</h3>
<div class="gridded_frame_with_columns e-frame">
<div class="one_of_2_columns" style="width: 70%">
<div id="org159f38f" class="figure">
<p><img src="structurizr-1-038-BlueskyModeration-03.png" alt="structurizr-1-038-BlueskyModeration-03.png" width="100%" />
</p>
</div>
</div>
<div class="one_of_2_columns" style="width: 30%">
<ul>
<li>Moderation separated out as a distinct service</li>
<li>Moderation tooling reads from the Relay</li>
<li>Bluesky maintains and operates the top-level moderation
<ul>
<li>Suppresses the really bad stuff, like illegal and abusive material</li>
<li>and really, really, <i>really</i> bad stuff like copyright infringement</li>
</ul></li>
<li>But separate moderation services can be implemented by 3rd parties</li>
<li class="fragment appear">User subscribes to moderation service</li>
<li class="fragment appear">Users' feeds have material removed or elided by the moderation service</li>
<li class="fragment appear">User can't unsubscribe from Bluesky's moderation</li>
</ul>
</div>
</div>
</section>
</section>
<section>
<section id="slide-org077707d" data-background="./bCardBackground.png">
<h2 id="org077707d">Bluesky</h2>
<div class="outline-text-2" id="text-org077707d">
</div>
</section>
<section id="slide-org47c3376" data-background="./bCardBackground.png">
<h3 id="org47c3376">Bluesky &#x2013; Current architecture</h3>
<div class="gridded_frame_with_columns e-frame">
<div id="org2b8c214" class="figure">
<p><img src="structurizr-1-038-BlueskyModeration-03.png" alt="structurizr-1-038-BlueskyModeration-03.png" width="100%" />
</p>
</div>
</div>
</section>
<section id="slide-org724f5b5" data-background="./bCardBackground.png">
<h3 id="org724f5b5">Bluesky &#x2013; Roadmap</h3>
<div class="e-frame">
<p>
Planned for 2024
</p>
<ul>
<li class="fragment appear">Private/Direct messages (DMs)
<ul>
<li>E2E Encrypted</li>
<li>1:1 initially, but group DMs planned</li>
</ul></li>
<li class="fragment appear">Video sharing
<ul>
<li>short clips, 90s or so.</li>
</ul></li>
<li class="fragment appear">Improved custom feeds</li>
<li class="fragment appear">Improved anti-harassment</li>
<li class="fragment appear">OAuth &#x2013; for allowing 3rd-party clients to authenticate without
an application password</li>
</ul>
</div>
</section>
</section>
<section>
<section id="slide-orgace6b66" data-background="./bCardBackground.png">
<h2 id="orgace6b66">Resources and further reading</h2>
<div class="e-frame">
<ul>
<li>Original <a href="https://knightcolumbia.org/content/protocols-not-platforms-a-technological-approach-to-free-speech"><i>Protocols, Not Platforms: A Technological Approach to Free Speech</i></a> paper</li>
<li><a href="https://bsky.social/about">Bluesky main page</a></li>
<li>The <a href="https://atproto.com/">ATProtocol specification</a></li>
<li>Bluesky <a href="https://docs.bsky.app/">documentation and blogs</a></li>
<li>Bluesky's <a href="https://github.com/bluesky-social">github</a>:
<ul>
<li>The <a href="https://github.com/bluesky-social/atproto"><code>atproto</code></a></li>
<li><a href="https://github.com/bluesky-social/ozone">Ozone</a>, stackable content moderation tooling.</li>
<li>Self-hosting a <a href="https://github.com/bluesky-social/pds">PDS</a>.</li>
</ul></li>
<li><a href="https://docs.bsky.app/showcase">Community</a> (i.e. not governed by the Bluesky company) projects (tools, apps, bots, etc.)</li>
<li>Original <a href="https://git.gibiris.org/eibhearPublic/blueskyArchitecture">source for this presentation</a>
<ul>
<li>Structurizr <a href="https://git.gibiris.org/eibhearPublic/blueskyArchitecture/src/branch/main/Bluesky.dsl">DSL file</a></li>
</ul></li>
</ul>
</div>
</section>
</section>
</div>
</div>
<script src="./reveal.js/dist/reveal.js"></script>
<script src="./reveal.js/plugin/markdown/markdown.js"></script>
<script src="./reveal.js/plugin/zoom/zoom.js"></script>
<script src="./reveal.js/plugin/notes/notes.js"></script>
<script>
// Full list of configuration options available here:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
plugins: [RevealMarkdown, RevealZoom, RevealNotes],
transition:'none', margin: 0.1, slideNumber:true
});
</script>
</body>
</html>