Minneapolis folks, I am planning on hosting a free workshop on how to to make a website from scratch. (HTML and CSS)
The workshop is meant to be for folks who have never done it before, but experts are welcome too!
Check out more details and mark times you would be available @ https://framadate.org/ABPiTpWWEzqNWmo6
Also, plz boost if you are in the area. Thanks 🧡
Today, the Bonfire team is excited to announce our beta release 🔥🎉
We’re aware that Bonfire still needs a lot of work - like ensuring it federates as expected and improving configurability, accessibility and user experience - but that’s the point: we decided to launch at this stage with the intention of building the 1.0 release as a community.
🗞️ Blog post: https://bonfirenetworks.org/posts/meet_us_at_the_playground/
🌈 Signup on the playground instance:
https://playground.bonfire.cafe
2nd batch of energy drinks came out way better :)
ln's postgres optimization tip
put "EXPLAIN ANALYZE" in front of your query, paste output to https://explain.depesz.com/ and look for values in the exclusive column which look way too high. then check in the node column what it is doing and maybe add an appropriate index.
*poof* yer a postgres witch now :3
@starless i like the color on this one🌿
The bloat is just legacy.. Its alll legacy. its just like email. Well. err. Thank god its not as bad as email 😅
I feel like way too often ppl conflate
"the big heavy bloat of the web / can't make a new web browser"
with
"the corporate takeover of the web / panopticon platform centralization"
They are totally not the same thing!
In my opinion the last ghost of a chance of a decentralized internet depends heavily on some of the "worst offender" bloat features in web browsers, like ServiceWorker, the local caches and databases, and connectivity enablers like WebSocket / WebRTC
Reason being that if the majority of browsers support these, it could make self-hosting and community hosting web platforms and content way easier
I still think what I wrote there, my thesis, still holds up 10 yrs later:
> If your app doesn't have a URL, who's going to use it?
I just realized that I wrote this
TEN YEARS AGO
https://sequentialread.com/pragmatic-path-towards-non-technical-users-owning-their-own-data/
jeeezus im getting old
@f0x @seedlingattempt@kolektiva.social @benx@kolektiva.social
My memory must be messed up -- I obviously don't remember what it was, I just remember that it was an impressive amount from my PoV. My server was serving up less than 100GB/mo. But i dont serve any social media stuff.
I was planning on charging $0.01 per GB for greenhouse (DigitalOcean prices) but it would have made your situation cost-prohibitive. I also didn't know about the cheap bandwidth on hetzner.
I would love to be able to make greenhouse into a bargain basement "efficient market" for bandwidth if possible, still working on figuring out what that would look like. But I can definitely do better than $0.01/GB. With hetzner prices its about $0.50/TB, 20x cheaper.
@seedlingattempt@kolektiva.social @benx@kolektiva.social
Yeah I don't actually know that much about the market for bandwidth at the commercial scale, I just know that its the most common thing that you get nickle-and-dimed for on the public cloud. It could be a little bit of a "gentlemans agreement" among the public clouds that they all get to overcharge for it.
But I think some of them don't, like hetzner for example offers 20x cheaper bandwidth compared to DigitalOcean.
In terms of real numbers, @f0x the owner of the mastodon server I use plus an active matrix server and some other stuff, saw something like 80TB of bandwidth in a month if I remember correctly. That's 4x the amount you get included with hetzner's $5/mo VPS
@seedlingattempt@kolektiva.social @benx@kolektiva.social
Honestly I would worry more about legal issues and regulations making it harder for the little guy to get access to public clouds. That's the only thing I can think of that would force people into livingroom servers.
But IMO it makes no sense for the government to do something like that, if they already have their 3rd party doctrine and everyone and their brother is happily occupying the public cloud panopticons, why upset the apple cart? Gov't would lose an incredibly powerful surveillance weapon by kicking the grassroots out of the public cloud.
@seedlingattempt@kolektiva.social @benx@kolektiva.social
@seedlingattempt@kolektiva.social I don't know... I don't think that a lot of the stuff you are talking about can come to pass.
Yes these hosting providers are driven by greed... But as far as we know, there's no monopoly, there's no syndicate. They **compete** with each-other.
Also, keep in mind that in many ways public clouds are sort of like a utility. Like water or electricity. The stuff they sell is fungible & you can purchase different amounts of it, generally the price per unit stays the same-ish for a given provider. In fact I would say it gets CHEAPER per unit as you buy in bulk, not more expensive.
IMO, this competition in a market for a water-like commodity means that we'll always be able to buy some if we want. The price isn't going to skyrocket. I don't see either supply drying up or demand exploding any time soon.
---
I worked in the enterprise software world for 5 years, for the last 1.5 years of that I worked as a DevOps specialist / SRE for a company that spent almost a million dollars a year on AWS EC2 instances and similar...
I'm extremely familiar with scaling software, the type of problems that come up at scale, and how that translates to the economics of the situation. In my opinion you are missing the most important aspect of the scale question:
**COMPUTERS ARE LIKE, EXTREMELY EXTREMELY FAST**
A computer can easily do a million things per second without breaking a sweat. Yes, even over a network, yes, even with on-disk persistence and each event being validated.
Computer science teaches us to ignore the "constant factors" (each event taking 5 microseconds to process versus each event taking 500 microseconds to process) and instead place a laser-like focus on the __Growth Rates__ of the CPU time and memory requirements as the scale of the problem grows.
In my experience at work, both things end up mattering, but if you don't get the growth rate stuff under control first, any optimizations that can be made won't change the overall picture much.
The problem here is that all too often, the "growth rate" of the CPU time, etc, the "Big O Notation" of your program or network, doesn't depend on what language its written in, it doesn't depend on what hardware it runs on or how fancy the network is. It purely depends on the DESIGN. The interface design. API design. How the parts fit together and move together.
All too often, software is designed quite well for one thing but ends up being used completely differently -- or it's just designed poorly. There is not always an upgrade path from poor design, especially with a networked community of servers like mastodon / ActivityPub. I don't know enough about ActivityPub myself to comment on how its design affects its ability to scale, but I do feel confident to say:
The API design of ANY software will affect its ability to scale 100x more than any economic issues like datacenter costs.
Those Enterprise cloud customers that pay $1M/year to AWS aren't paying that much "just because"... they are paying that much because its cheaper than trying to re-architect their system with a better design. They probably pay over $10M/year in salaries and benefits... It's simply a lot cheaper to hire a few hundred virtual machines to run inefficient code than it is to hire a team of professionals to figure out an upgrade path away from said inefficient code.
New ActivityPub servers like GotoSocial promise to explore the limits of ActivityPub optimization -- if ActivityPub's design allows for it, I predict that once properly optimized, a GotoSocial instance will be able to handle hundreds of users and thousands of federated connections WITHOUT needing a hardware upgrade. I predict Bandwidth will actually be more expensive than the computation side of things!!
That's just my 2c.
streaming work on a web application to provide students with an instant development and deployment environment (vscode in the web browser).
@f0x I did enjoy it
I am a web technologist who is interested in supporting and building enjoyable ways for individuals, organizations, and communities to set up and maintain their own server infrastructure, including the hardware part.
I am currently working full time as an SRE 😫, but I am also heavily involved with Cyberia Computer Club and Layer Zero