Alex on Nostr: Btw when you run a PDS, it just just proxies all requests to api.bsky.app. The PDS ...
Btw when you run a PDS, it just just proxies all requests to api.bsky.app. The PDS exposes HTTP endpoints on its own domain, and when you use apps they do hit your domain, but the PDS itself just proxies the requests to the Bluesky centralized server at api.bsky.app.
Your own posts do get saved into a local SQLite database, and there's an endpoint where other servers (like Bluesky's giga relay) can index your posts. It gets away with SQLite because it literally only stores your own posts. Feeds, other people's profiles, etc all get fetched from the upstream in realtime.
Published at
2024-11-14 18:18:34Event JSON
{
"id": "514a7f23b2b6751205ea4a26b4c764d4b41e5980c40a47f98a667d265578289a",
"pubkey": "0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd",
"created_at": 1731608314,
"kind": 1,
"tags": [
[
"e",
"97f105a773040bb3f6c2e978576e583d1bcbf6076f0a11ba5494244795b1f541",
"wss://gleasonator.dev/relay",
"root",
"0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd"
],
[
"e",
"97f105a773040bb3f6c2e978576e583d1bcbf6076f0a11ba5494244795b1f541",
"wss://gleasonator.dev/relay",
"reply",
"0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd"
]
],
"content": "Btw when you run a PDS, it just just proxies all requests to api.bsky.app. The PDS exposes HTTP endpoints on its own domain, and when you use apps they do hit your domain, but the PDS itself just proxies the requests to the Bluesky centralized server at api.bsky.app.\n\nYour own posts do get saved into a local SQLite database, and there's an endpoint where other servers (like Bluesky's giga relay) can index your posts. It gets away with SQLite because it literally only stores your own posts. Feeds, other people's profiles, etc all get fetched from the upstream in realtime.",
"sig": "9fdd87a892315d16bb54c2cf286efd728b3794e4b2af048f24a567167fa9ec11666a0603c4d0b239bd427e2a800f4d5200749da79526312f4d09c0233c658858"
}