Post AV88kdAWV4H2YQN1cW by zhuowei@notnow.dev
(DIR) More posts by zhuowei@notnow.dev
(DIR) Post #AV87IqTVKodvlBR4oS by zhuowei@notnow.dev
2023-04-29T02:17:24.230016Z
0 likes, 0 repeats
According to https://github.com/bluesky-social/indigo/blob/main/cmd/fakermaker/docker-compose.yaml, a Bluesky / Atproto instance requires:a PDS. your home server.a PLC. sername registry: use global instance at https://plc.directorya BGS: Federation indexer? if I use https://bsky.social I get a flood of every single Bluesky db write
(DIR) Post #AV884AG9arIMjPkqLQ by zhuowei@notnow.dev
2023-04-29T02:25:56.651656Z
0 likes, 0 repeats
Posts from https://bsky.social shows up in my Postgres database now, but I can't see them from the Bluesky app?!I'm running a local PDS (home instance), but pointing its BGS (federation relay/event firehose) to https://bsky.social.
(DIR) Post #AV88hsD67TjCKtGAOO by daeken@haqueers.com
2023-04-29T02:29:11Z
0 likes, 0 repeats
@zhuowei Holy fuck WHAT
(DIR) Post #AV88hsmC0zni5jgC5w by zhuowei@notnow.dev
2023-04-29T02:33:05.980512Z
0 likes, 0 repeats
@daeken Atproto is just "Git but terrible". Bluesky/Atproto has a PDS (home instance) implementation at https://github.com/bluesky-social/atproto.Here's how I'm running it right now: I'll probably switch to their official Docker soon.https://gist.github.com/zhuowei/0efcfb5ab8c986edc812ea4b9598246f
(DIR) Post #AV88kdAWV4H2YQN1cW by zhuowei@notnow.dev
2023-04-29T02:33:39.356304Z
0 likes, 0 repeats
Here's how I'm running the Bluesky home instance right now: I'll probably try their official Docker container soon.https://gist.github.com/zhuowei/0efcfb5ab8c986edc812ea4b9598246f
(DIR) Post #AV89iSkENxexbEbPiS by zhuowei@notnow.dev
2023-04-29T02:44:27.483235Z
0 likes, 0 repeats
@daeken are... are you planning to run an Atproto / Bluesky server
(DIR) Post #AV8FeRJ8NzG5i2OQUq by zhuowei@notnow.dev
2023-04-29T03:50:57.854104Z
0 likes, 0 repeats
Still trying to understand Atproto/Bluesky.PDC -> Home instance server - if hosting an instance, need to run thisBsky -> Timeline / Profile server - if hosting an instance, need to run this; PDS talks to Bsky to render timeline/user profilesPLC -> username server; Bluesky hosts this; you don't run it (it's like DNS)BDS -> federation event relay; Bluesky hosts this, I think? You don't run it? I'm not sure.PDC:-> Connects to PLC to register/look up usernames-> Connects to BDS to subscribe to all events/posts from federated servers-> Connects to Bsky to render the timeline/user profile pages/posts
(DIR) Post #AV8FmE6lLTLv5XJrlo by zhuowei@notnow.dev
2023-04-29T03:52:22.502020Z
0 likes, 0 repeats
@Pokemod97 @retr0id Ha, didn't know that! Not my fault though; I don't host the apps
(DIR) Post #AV8GDstbnyqzPNM4rw by zhuowei@notnow.dev
2023-04-29T03:57:20.857659Z
0 likes, 0 repeats
Still trying to understand Atproto/Bluesky.PDS (Personal Data Server):Home instance server - if hosting an instance, need to run thisBsky:Timeline / Profile server - if hosting an instance, need to run this; PDS talks to Bsky to render timeline/user profilesPLC (PLaCeholder):username server; Bluesky hosts this; you don't run it (it's like DNS)BGS (repo provider/crawling indexer):federation event relay; Bluesky hosts this, I think? You don't run it? I'm not sure.https://atproto.com/specs/atphttps://atproto.com/specs/did-plcPDS:- Connects to PLC to register/look up usernames- Connects to BGS to subscribe to all events/posts from federated servers- Connects to Bsky to render the timeline/user profile pages/posts
(DIR) Post #AV8GLbATbKMik6vIWW by zhuowei@notnow.dev
2023-04-29T03:58:46.161425Z
0 likes, 0 repeats
(PDS and PLC were there the last time I looked at Atproto/Bluesky last October. Bsky and BGS are new)
(DIR) Post #AV8GRYINC6w3ZSSJYu by shadowfacts@social.shadowfacts.net
2023-04-29T03:56:52.916776Z
0 likes, 0 repeats
@zhuowei uhh, does that mean atproto federation works by flooding every event at every instance?
(DIR) Post #AV8GRZ4aIrV3yz0oi0 by zhuowei@notnow.dev
2023-04-29T03:59:49.640028Z
0 likes, 0 repeats
@shadowfacts I haven't checked: I think it's also subscription based .. although ActivityPub is also pretty loud.
(DIR) Post #AV8GTk1OZGACWBYfyq by zhuowei@notnow.dev
2023-04-29T04:00:13.524952Z
0 likes, 0 repeats
@retr0id It's just a ecdsa keypair, isn't it?
(DIR) Post #AV8Hv8E6mXIBMU85Dc by shadowfacts@social.shadowfacts.net
2023-04-29T04:03:56.297750Z
0 likes, 0 repeats
@zhuowei subscriptions at the instance level or something more granular? ap is pretty loud, but at least the subscription mechanism is user-level. i shudder to think how my poor vps would cope with the firehose of everything coming out of mastodon.social—just you replying to me made my instance unresponsive for about 30s while all your followers' instances fetched my post
(DIR) Post #AV8Hv8v0D3bTVWCL4q by zhuowei@notnow.dev
2023-04-29T04:16:21.793465Z
0 likes, 0 repeats
@shadowfacts user level, I think
(DIR) Post #AV8Ii7I13Pwye4JaS0 by zhuowei@notnow.dev
2023-04-29T04:25:12.587807Z
0 likes, 0 repeats
Now Bsky just hangs while trying to read the timeline as its memory usage balloons to 2GB. I guess I should give it a different BGS (which, by the way, stands for Big Graph Server - https://github.com/bluesky-social/indigo/tree/main/cmd/bigsky) and see if federation still works without it
(DIR) Post #AV8JVmIVNOpU1DDxBY by omni@elekk.xyz
2023-04-29T04:30:47Z
0 likes, 0 repeats
@zhuowei So rather than federation being essentially everyone-to-everyone, here it's... "everyone who wants to federate with each other has to agree on a shared relay to use / there is one centralized relay"?I assume this means there's going to be no ability to block other servers (beyond, maybe, "the relay operator can kick people out")? odd
(DIR) Post #AV8JVoHW03E4AimBv6 by zhuowei@notnow.dev
2023-04-29T04:34:11.434497Z
0 likes, 0 repeats
@omni I have no idea what the BGS is supposed to do right now. It's probably possible to block.
(DIR) Post #AV8JbSTfykuwHn9qT2 by zhuowei@notnow.dev
2023-04-29T04:35:15.315212Z
0 likes, 0 repeats
OK, I give up. I'm just going to use their prebuilt docker-compose (https://github.com/bluesky-social/indigo/blob/main/cmd/fakermaker/docker-compose.yaml) and see if the basic demo works