There are a handful of fediverse projects in Elixir out there already, like Pleroma. There is also a WIP ActivityPub library out there that might appreciate some PRs.
Elixir
Not knowing, but guessing that ActivityPub is using some common of pub sub pattern, i agree it’d probably be a good application for OTP.
Do you know more about the underlying mechanics?
I'm reading through the spec now, here: https://www.w3.org/TR/activitypub/. Basically every user has an Inbox and an Outbox, and updates from a user's Outbox are added to relevant users' Inboxes. I also found an Elixir ActivityPub library here: https://github.com/bonfire-networks/activity_pub
Check out bonfire
Yes, I think so. There is a couple Mastodon things written in Elixir (Pleroma being the main one), so i think there's an activitypub implementation already. Would be nice to have a lemmy frontend that was fast.
Maybe more an alternative FrontEnd. Or maybe more bots.
Pleroma in based on Elixir, and honestly it feels to me like a much better fit than Rails and Mastodon.