this post was submitted on 19 Oct 2024
36 points (82.1% liked)

Selfhosted

40394 readers
328 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

cross-posted from: https://lemmy.world/post/21023181

Sharing some lessons I learned from 10 years/millions of users in production. I’ll be in the comments if anyone has any questions!

I hope this series will be useful to the self-hosted and small web crowds—tips for tools to pick and the basics of server management.

top 16 comments
sorted by: hot top controversial new old
[–] just_another_person@lemmy.world 20 points 1 month ago* (last edited 1 month ago) (1 children)

Anytime you see anyone post something like "THIS Is How You Do The Thing", it should automatically be ignored. This article is no exception.

The author is making a big deal about a team of 40 people and "millions of customers"...k.

Not sure if anyone is supposed to be impressed by that, but the titular argument here isn't a position for a small team and product, it's making the case that "ALL THINGS EVERYWHERE ARE TOO COMPLICATED IN PRODUCTION ENVIRONMENTS", which is just an ignorant position to take.

If this had come with some sort of metrics, tools, or workflow to back up the claim, then it would be worth reading. Nothing like that here. This is just an inexperienced person's boasting rant with zero elaboration about what actually works for them, why, or suggestions for others facing some sort of similar situation.

There is no content here, just time wasted.

[–] something_random_tho@lemmy.world 18 points 1 month ago* (last edited 1 month ago) (1 children)

Hi friend, this was just meant to be an introduction, as I get started blogging and sharing back some knowledge and lessons I learned along the way. I've never written a blog before (or much of anything!), and I'm sorry you didn't find value in this.

I wasn't intending to boast, but I can see how it came across. I just meant to say, "companies are trying to tell you that you need 'XYZ' to scale," and at least at the size of business I ran, you didn't need any fancy tech at all -- we could have made do with a dead-simple setup: a single server running Go and SQLite. It's something I wish I had known when I started.

I'll take your feedback to heart and try to produce larger, more substantial posts to follow. Thanks for commenting.

[–] just_another_person@lemmy.world 15 points 1 month ago (1 children)

Well, apologies for being bluntly critical. I can offer a few constructive tips to help with writing about technical topics:

  • Try starting with a simple topic flow: topic -> synopsis/purpose of why you're writing -> background -> observations -> point<>counterpoint loop to elaborate on purpose -> closing
  • Stay away from asserting your point in the title unless you're showing definitive proof of something
  • Find ways to speak to who may find your writing useful towards the beginning. "If you have a similar problem like X...", "People who use X may find...", or "Anyone having similar X experience may find...". Something like that.
[–] 1984@lemmy.today 15 points 1 month ago (1 children)

I can offer some constructive tips to you as well: dont speak for all of us.

I liked the article. I didn't interpret it as "everyone must do what I say". It was simply a viewpoint from a person on the internet. That is what a blog is.

The complexity of tech stacks have increased enormously in the last 10 years, and it's only sane to see what tradeoffs we are making to be able to scale easily. Perhaps it's not worth the trouble for 90% of us. If we follow best practice from cloud providers without thinking for ourselves, we will not learn to think for ourselves either.

So let's do that. Let's think, wrote blogs, discuss, and allow for discussions. Don't shut people down.

[–] HybridSarcasm@lemmy.world 7 points 1 month ago (4 children)

I think fans of Nix and NixOS would agree.

[–] something_random_tho@lemmy.world 8 points 1 month ago* (last edited 1 month ago)

Is it too late for, “I use nix btw”? I use it at home and for development.

I planned to focus this blog series on ol’ faithful (Debian), but I could definitely see writing articles on how to use Nix and OpenBSD if people find it helpful.

[–] fl42v@lemmy.ml 2 points 1 month ago

Well, I guess nixos itself isn't too overcomplicated, but fun begins when you start layering abstractions over abstractions 😁

[–] just_another_person@lemmy.world 1 points 1 month ago

Why would you think Nix has any bearing on a production environment?

[–] dashcubeit@lemmy.world 1 points 1 month ago

That’s interesting. I never got started with nix because I thought it’d be too complicated. So looking it up again…

[–] rookbrood@lemmy.world 4 points 1 month ago

I agree with the sentiment of your article and I'm looking forward to seeing your follow ups. I'm always trying to keep things as simple as the problem I solve allows for.

[–] Shimitar@feddit.it 2 points 1 month ago

Not a bad take per-se, but a bit condescending. While I agree and like the KISS paradigm, remember that no solution works at a lower complexity level of the problem itself.

So, define your problem clearly, find the simplest possible solution. Don't overcomplicate, I agree, but don't be fooled by false hopes.

Is it really simpler? Yes. Will it scale if I need it to? Maybe not, but will I really need for it to scale?

And so on.

[–] betweenthesixes@lemm.ee 1 points 4 weeks ago

I understand this take and the frustration it is born out of, however, extremes are rarely the right answer. If this were a series of posts, I would gladly read along and expect that the author would learn some valuable lessons from this approach.

Are certain things often needlessly complex? Sure. Does that come at a cost? Sure.

However as a business (or deployment) grows, it becomes subject to more requirements, regulations, risks, etc. that often demand the complexities that the industry and author have witnessed.

All business decisions are made through a lens. What is important today? Based on what I know today, what does the future hold? What constraints do I have? The key is a logical, but balanced decision.