Post AR6uv2d6fUtk42jDlo by bmann@social.coop
(DIR) More posts by bmann@social.coop
(DIR) Post #AR6uv0jlhl2SC7pVsO by bmann@social.coop
2022-12-29T19:42:40Z
0 likes, 0 repeats
I just realized that for #Mastodon and #ActivityPub broadly, we’re at a similar point as when I started working on #Drupal.One of our early contributions was improving virtual hosting, so one codebase could support multiple domains and sites. If lots more organizations are going to run their own Mastodon instances, similar architectural changes will help.
(DIR) Post #AR6uv1wvCL9bxCzX16 by bmann@social.coop
2022-12-29T20:08:26Z
0 likes, 0 repeats
As @fm2279 points out, don’t containers solve this???No! In fact, that’s #opensource projects architecting for last gen approaches. Design for cloud scaling is different than manage this one Linux box, which effectively what containers give youhttps://social.coop/@bmann/109598725765137959
(DIR) Post #AR6uv2d6fUtk42jDlo by bmann@social.coop
2022-12-29T20:08:26Z
0 likes, 0 repeats
The #DigitalOcean setup, with options for S3 compatible storage and managed Postgres, makes the best of the #Mastodon codebase architecture as it is today https://www.digitalocean.com/blog/digitalocean-spaces-mastodon-hachyderm/But one can architect #ActivityPub servers differently.
(DIR) Post #AR6uv32z7Hb9MIpt6e by berkes@bitcoinhackers.org
2022-12-29T20:20:49Z
1 likes, 0 repeats
@bmannMastodon, using Rails, is designed for muli-tier, complex hosting: your typical "saas startup". But hardly designed to be ran by individuals on small VPNs or even their homeserver. Adding virtual-host/multisite will only make this worse: *far* worse even in case of Rails.We need software that is designed for tiny and simple hosting, next to mastodon. Tiny, selfcontained. sqlite, built-in workers etc. Like Gotosocial.
(DIR) Post #AR6uv4ex7bYyMLbivQ by berkes@bitcoinhackers.org
2022-12-29T20:24:11Z
0 likes, 0 repeats
@bmann GotoSocial (and a few even less-finished Rust projects) do exactly that:A tiny binary. You can run one on the smallest VPS without hassle. Or run hundreds, serving hundreds of domains on a beefy server. It's really just a binary, copied to a server and ran with "./gotosocial --port 8085", and boom!, there's a mastodon-compatible server running on port 8085 (it even handles ssl-certs for you, if you need)