/kbin server update - or how the server didn't blow up

Currently, on the main instance, people have created 40191 accounts (+214 marked as deleted). I don't know how many are active because I don't monitor it, but once again, I greet all of you here :) In recent days, the traffic on the website has been overwhelming. It's definitely too much for the basic docker-compose setup, primarily designed for development use. I was aware of the possible consequences of the situation happening on Reddit, but I assumed that most people would migrate to one of the Lemmy instances, which already has an established position. I hoped that a few stray enthusiasts would find their way to kbin ;)

The first step was to upscale the VPS to a higher version (66.91EUR). It quickly turned out that it wasn't enough. I had to enable CF protection just to keep the website responsive, but the response times were still very slow. At this stage, the instance was practically unusable. The next step was a full migration to a dedicated server (100EUR, the current hardware). It can be done relatively quickly, so it resulted in a 5-minute technical break. Despite the much higher parameters, it didn't get any better. It became clear that the problem didn't lie there. I'm really frustrated when it comes to server administration. That was the moment when I started looking for help. Or rather, it found me.

A couple days ago I wrote about how kbin qualified for the Fast Forward program. To be honest, I did it out of pure curiosity and completely forgot because a lot was happening during that time. During the biggest fire incident, Hannah ( @haubles ) reached out with a proposal to help. I outlined the situation (in short: the server is dying, I don't even know what I need, help! ;). She quickly connected us with Vlad ( @vvuksan ) and Renaud ( @renchap ). I was probably too tired because I don't know if the whole operation lasted 60 minutes or 6 hours, but after a series of precise questions and getting an understanding of the situation, the guys themselves adjusted the entire job. I love working with experts, and it's not often that you come across individuals so well-versed in the fediverse. Thanks to Hannah's kindness, we will be staying there a bit longer. Currently, fastly.com handles the caching layer and processes images. Hence those cool moving thumbnails ;)

Things were going well at that point. I could disable Cloudflare protection. Probably thanks to that, many of you are here today, and we got to know each other a bit better :) However, even then, when I tried to enable federation, the server would stop working.

Around the same time, Piotr ( @piotrsikora ), whom I already knew from the Polish fediverse, contacted me. He is the administrator of the Polish Mastodon instance pol.social, operates within the ftdl.pl foundation, and specializes in administering applications with a very similar tech stack. I made the decision to grant him server access. It only took him a few moments, and he came back to me with a few tips that allowed us to enable federation. In the following days, there was more of it, and we managed to reach the current level. I think it's not too bad.

Nevertheless, managing the instance has taken up about 60% or more of my time so far, which prevents me from fully focusing on current tasks. That's why I would like to collaborate with Piotr and hand over full care of the server to him. Piotr will also take care of the security side. Now I have to take this much more seriously. We still need to work out the terms of cooperation, but I want you to know the direction I intend to pursue.

We also need to migrate to a new environment because one server will sooner or later become insufficient. This time, I want to be prepared for it. This may be associated with transient issues with the website in the coming days.

The next two updates will still be about project funding (I still can't believe what happened) and moderation. The following ones will be more technical, with descriptions of changes and what contributors are doing on Codeberg. I would like to be here more often, but not as an admin, just as myself.

Thank you all for this.

P.S. In private messages, I also received numerous offers of help that I didn't even have a chance to read and respond to. You are the best!

WhatThaFudge,

'honest whole-hearted cathartic mood setting comment' jokes aside u are doing the needed work! we all appreciate it! I am too lazy to read all the comments.. is there a way to contribute more than donating (btw i didnt find a donate link.. maybe someone else did if so sticky is a needed function here xD)?

Nepenthe,
Nepenthe avatar

Went and grabbed it for you. Unfortunately, it's just this right now.

https://www.buymeacoffee.com/kbin

Really waiting on a way to donate monthly, because I would absolutely do that for this place. There wouldn't even have to be any of the typical Patreon perks for me, I just really like it here :)

Ulu-Mulu-no-die,
Ulu-Mulu-no-die avatar

That’s amazing! Thank you for what you’re doing <3

LollerCorleone,
LollerCorleone avatar

Welcome aboard, Piotr!

gsa, (edited )
gsa avatar

Thanks for the update!

My only caveat is that I wish I could see posts and comments from lemmy instances users when they post/comment on a kbin magazine.

can,

Can't you?

gsa32,

Thanks for the update!

steebo_jack,

This is some dedicated effort here to keep this going, but is anyone not worried that there is basically one guy with all the keys to this thing? Dont want to sound too doomerish but if Ernest disappears tomorrow, wouldn't that be the end of kbin?

ernest,
ernest avatar

This is just one instance. The code is open and can be forked. That's why if I happen to get hit by a bus tomorrow, Piotr will have the keys to the server room ;)

steebo_jack,

Thanks for the reply and thats good to know!

talizorah,
talizorah avatar

Huge shoutout to you and all of those who have gotten kbin to this point. Super crazy to have seen it go from struggling to a place I can happily and easily browse

McBinary,
McBinary avatar

Thanks for the update, Ernest. Maybe a tracker can be posted on the sidebar to make sure we're supplying you with enough 'coffee' to keep the lights on? A lot of us are loving this platform enough to want to invest in your work and I hope everyone will crowdsource funds to keep you afloat.

RoboRay,
RoboRay avatar

@ernest

Thanks for building this and thanks for keeping us informed about where it's going.

And thanks to everyone else that's contributing their time, skills or money to helping the project move forward and expand.

This is exactly the direction that I think social media should be headed.

naunan,

You handled this situation beautifully. Very often people don't know when to share responsibility and ask for help and their project dies in critical situations like that.
Well done, have fun with your now very alive and thriving project!

minorsecond,
minorsecond avatar

Thank you @ernest! Please consider setting up a Patreon, or similar, account so I can donate monthly. I've bought you a few coffees but I'd like it to be automatic.

hocus,
hocus avatar

Thanks for your transparency and hard work! Loving the site and looking forward to it getting even better!

h0usewaifu,
h0usewaifu avatar

Thank you for the update, @ernest!

normarcl,

Thank you for everything you and the contributors are doing!

FrostBolt,
FrostBolt avatar

Thank you for the update

It would be nice when you get a chance to see some sort of meter graph to show whether the buymeacoffee donations are not meeting, meeting, or exceeding costs of running the server and your time/effort spent (which should count too)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • kbinMeta
  • tacticalgear
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • osvaldo12
  • Youngstown
  • ngwrru68w68
  • slotface
  • everett
  • rosin
  • thenastyranch
  • kavyap
  • GTA5RPClips
  • modclub
  • megavids
  • normalnudes
  • cubers
  • ethstaker
  • mdbf
  • Durango
  • khanakhh
  • tester
  • provamag3
  • cisconetworking
  • Leos
  • anitta
  • JUstTest
  • lostlight
  • All magazines