I’m really enjoying lemmy. I think we’ve got some growing pains in UI/UX and we’re missing some key features (like community migration and actual redundancy). But how are we going to collectively pay for this? I saw an (unverified) post that Reddit received 400M dollars from ads last year. Lemmy isn’t going to be free. Can someone with actual server experience chime in with some back of the napkin math on how expensive it would be if everyone migrated from Reddit?

  • pistachio@lemmy.ml
    link
    fedilink
    English
    arrow-up
    43
    ·
    1 year ago

    As paradoxical as it is, I think that these open source non-profit projects are a lot more efficient than profit-driven, debt-fueled corporations.

    First of all, the main contributors to a FOSS project do it for passion and do not take a salary.

    Secondly, they don’t have the infinite growth mindset that pushes enterpreneurs to to spend as much as possible for maximum growth, all financed by a growing amount of investors (and debt, which costs interest fees).

    If a FOSS project reaches maximum capacity, they will close subscriptions, they will throttle traffic, i.e. they will slow down growth, but they will not go into debt. Slowing down growth is something that a for-profit company would never do (at least until the interest rates were low and the investors were plenty, today idk). Eventually someone else in the community will decide to do a generous donation or open their own instance.

    • elonspez@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I don’t get it. Why would you call that more efficient? In your example a profit driven company will grow at a higher rate than a FOSS project right ? So in what way is it more efficient?

      • Levii@lemmy.ml
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        Yeah your issue is youre looking it from the perspective of a cancer cell. Growth isnt always good. Too much growth and you run out of resources. Keeping things sustainable and self sufficient and not reliant on loans and “infinite growth” ponzi economics tends to work better in the long run. (Example: libraries)

  • SalamanderA
    link
    fedilink
    English
    arrow-up
    40
    ·
    1 year ago

    A small cloud server + a domain name costs less than a Netflix subscription. The developers have taken care to package lemmy in ways that are relatively straight forward to deploy, so a dedicated person with a small amount of experience can have an instance up and running in an evening. As long as a few percentage of users are willing to pay a netflix subscription to keep a server running, the financial burden would be spread.

    • Stumblinbear@pawb.social
      link
      fedilink
      English
      arrow-up
      20
      arrow-down
      2
      ·
      1 year ago

      I think this underestimates how users will naturally gravitate towards more centralized instances, or they’ll give up because the bigger instances are closed. Someone’s gotta pay for it, and it’s going to cost more than a Netflix subscription. Servers aren’t cheap.

      This also ignores that the system isn’t horizontally scalable at all, so scaling up gets even more expensive

      • SalamanderA
        link
        fedilink
        English
        arrow-up
        11
        arrow-down
        1
        ·
        1 year ago

        I think this underestimates how users will naturally gravitate towards more centralized instances, or they’ll give up because the bigger instances are closed.

        (This is purely my personal opinion, of course!) In the scenario in which a few large instances dominate, the idea of the fediverse failed. One may estimate the likelyhood of success or failure given how they expect humans to behave, but in the end experiment beats theory. I think that for the fediverse to work a significant cultural shift has to occur, but I don’t think that it is an impossible shift. I would like the fediverse to succeed, and so I choose to take part in the experiment.

        This also ignores that the system isn’t horizontally scalable at all, so scaling up gets even more expensive

        Yes, that might cause some serious issues. The project is still in an early-development phase, and I don’t understand the technical aspects well enough yet to be able to identify whether there is obviously a fundamentally invincible barrier when it comes to scalability. My optimistic hope is that the developers are able to optimize horizontal scalability fast enough to meet the demand for scale. If it turns out to be impossible to scale, then only rich enough parties would be able to have viable instances, and that could be a reason for failure.

          • SalamanderA
            link
            fedilink
            English
            arrow-up
            11
            ·
            1 year ago

            This is what I think, but if anyone understands it differently please correct me.

            Vertical scalability refers to scaling within a single instance. More users join and they post more content, increasing the amount of disk space needed to hold that memory, network bandwidth to handle many users downloading comments and images at once, and processing power.

            Horizontal scaling refers to the lemmyverse growing because of the addition of new instances. The problem in this form of scaling is due to the resources that an instance has to use due to its interactions with other instances. So, you may create a small instance without a lot of users, but the instance might still need a lot of resources if it attempts to retrieve a lot of information (posts, comments, user information, etc) from the other larger instances. For example, at some point a community in lemmy.ml might be so popular that subscribing to that community from a small instance would be too much of a burden on the smaller instance because of the amount of memory required to save the constant stream of new posts. The horizontal scaling is a problem when the lemmyverse becomes so large that a machine with only a small amount of resources is no longer able to be part of the lemmyverse because its memory gets filled up in a few hours or days.

            • Jeremy [Iowa]@midwest.social
              link
              fedilink
              English
              arrow-up
              10
              ·
              1 year ago

              You can summarize by thinking of vertical scaling as “make machine bigger / more powerful” with horizontal scaling as “make more machines”.

            • honk@feddit.de
              link
              fedilink
              English
              arrow-up
              4
              ·
              1 year ago

              I don’t believe this is how it works though.

              Let’s say your tiny 3 person instance is connected to a big one. I believe it only pulls in content from the communities somebody from the small instance is subscribed too. Correct me if I’m wrong.

              • panoptic@fedia.io
                link
                fedilink
                arrow-up
                4
                ·
                1 year ago

                That’s what they’re saying.

                Essentially - if someone from the small instance subscribes to a community that has a ton of data (huge post volume, images, whatever), the small instance needs to pull data over from the larger instance. At some point there may be communities that are so large small instances can’t pull them in without tanking.

                • Silviecat44@vlemmy.net
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  edit-2
                  1 year ago

                  I wonder if there is a way to get around this? maybe smaller instances will have to be text-only?

                • honk@feddit.de
                  link
                  fedilink
                  arrow-up
                  0
                  ·
                  1 year ago

                  maybe I phrased that poorly and you didn’t understand what I was trying to say. The size of the bigger instance shouldn’t matter at all because only data from communities is pulled, that a member of the smaller instance is subscribed to. So if the bigger instance has 1000 members or 2 million members wouldn’t make a difference. The only thing relevant should be how active the communities are that members are subscribed to.

              • flambonkscious@sh.itjust.works
                link
                fedilink
                English
                arrow-up
                1
                ·
                1 year ago

                That’s what I’ve gathered, but I don’t believe there’s a way for instance owners to limit what’s fetched - a user crafts the query and the server does the needful.

                I imagine this could amount to a denial of service attack of sorts, if some high-churn communities are imported into tiny instances. How bad that could be, I have no idea - I’m speaking pretty theoretically, here. Text is tiny, after all, so it’s probably not much of a concern, since most of the media is actually handled elsewhere…

                • honk@feddit.de
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  ·
                  1 year ago

                  I’m not a web developer. I’m sort of a sysadmin so i have some experiences maintaining machines for web apps for other people. And you are right…text will not create massive amounts of data. But a lot of tiny transactions can bring down machines surprisingly fast even if the total amount of data is relatively small.

                  I guess we are here to experience it first hand. I don’t think anybody…not even the developers have a clear idea of how well this will scale. There is only one way to find out lol

            • suspicious_dog@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 year ago

              Interesting, so would the smaller instance in this case have to perpetually store all content from the remote community, or does it just store the most recent X posts with the rest archived on the instance hosting the community? Or is it more an issue of the resources required to handle the transactions rather than the amount of data per se?

          • bobaduk@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 year ago

            Some things can go faster if you add more workers, some things can only go faster if you make the workers bigger or faster .

            If you’re tidying a garden you can get it all done more quickly, and tackle bigger gardens, by getting your friends to help. That’s horizontal scaling.

            If you need to get a parcel from your house to Burkina Faso the only way to do that more quickly is to use a bigger, faster machine. That’s vertical scaling.

            The way Lemmy is designed right now (says the op, I don’t know the detail) you can only support more users by making the server bigger and more expensive, not by using lots of smaller servers.

        • soulnull@burggit.moe
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          1 year ago

          Sadly I have to agree with the original point of people just wanting to click something and see kitties. The vast majority of people will just go to one of the bigger ones. “Bigger is better, they must be doing something right I guess”.

          I don’t normally want to be wrong, but I do want to be very wrong here… I admit I’m cynical and just think most people are going to glaze over when someone tells them something other than a simple link to type into their browser to click and see kitties with, or just install this app and click the dancing kitty. Once they have to look at stuff to make a decision, even if it’s not life or death or of actual importance to the experience, they’ll just go back to what they’re comfortable with. We’re creatures of habit, and most people don’t like learning new routines.

          My mother still pays DirecTV $150 a month to watch the same programs I’ve already set up on her Android box for less than that a year, because, survey says, “I don’t understand it”. No desire to learn it. I literally mapped all the channels to the DirecTV numbers. All you do is click the icon and scroll through the guide the exact same way you do with DirecTV, except there’s categories that’ll let you narrow down which channels you want to show up in the guide… Which is apparently the part she nopes out at, because decisions are scary. she’s also a Reddit user, and I don’t anticipate she’ll be joining us on the fedi…

          But again, I hope I’m wrong. I truly do.

        • monobot@lemmy.ml
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          I think that having few big instances is not failing, it is natural for social network (where lemmy is some representation of one) to be scale-free network, which has big hubs and buch of smaller nodes connected.

          Most people would go to general instances, but artists will probably go to some art focused instabce, developer to proggraming.dev… But we will have bih hubs, there is no way around it.

          • SalamanderA
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 year ago

            Yes, you are right, I should have formulated that better.

            I would expect that there would be a few big instances. What I should have said is having only a few big instances and no small instances would be a failure. It would be totally acceptable to have a few big instances and lots of smaller instances that can still interact with the fediverse. The failure would be if you have something like 20 very big instances that only interact with each other and that are inaccessible to the small instances - either because they close their federation, or because it is too resource-intensive for small instances to interact with them. In this case you end up with a centralized system again, not better and potentially worse than something like Reddit. As long as someone can spin-up their own instance if they want to and be part of the larger ecosystem, it would be a success.

    • meli nasa@feddit.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I’m really worried about the technical scalability of all of this, though. As far as I understand it, as soon as someone from an instance joins a community somewhere else, the instance the user is on will have to mirror all posts from the source instance, so running your own instance could become prohibitively expensive if Lemmy became more popular. I feel like this is not as much of a problem with Mastodon, where you only follow individual users, so there’s less to copy over with each.

    • waspentalive@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Could we create an onboarding system that randomly picks an instance for each new user? It is not too important which instance a user joins due to federation, right?

      • Pisck@lemmy.ml
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        The instance a user joins is quite important. An instance that doesn’t want to store images and video will not want users who subscribe to all the image/video communities (that will federate their content over). A user whose interests are overwhelmingly technical won’t be interested in local communities on an artist server, where a non-technical user might feel at home. Many instance moderation policies are friendly to right-wing and will be defederated by mainstream instances. And then there are loli/shota/koda instances…

        • waspentalive@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          I see. Of course. That would mean the onboarding effort would have to ask a bunch of questions and each of the target instances would have to be able to describe their wants and don’t wants. This could get much too complicated I guess.

        • waspentalive@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          I see. Of course. That would mean the onboarding effort would have to ask a bunch of questions and each of the target instances would have to be able to describe their wants and don’t wants. This could get much too complicated I guess.

  • tezoatlipoca@lemmy.ca
    link
    fedilink
    English
    arrow-up
    33
    ·
    1 year ago

    As everyone else has already said that’s a very good question, one that doesn’t necessarily have an answer, but Im not too concerned.

    I’d point out (rather excitedly) that this really isn’t unlike how the Internet used to be up until the late 00s or very early 2010s and the rise of insta, FB, birdsite, digg and reddit. EVERYone had to shoulder hosting costs (unless you were on Geocities,Myspace then it was ads)

    Yes, we’ve had bulletin boards and discussion forums since perl and CGI were a thing; each was self hosted at the hoster’s expense. Newsgroup and IRC servers too - THOSE all acted like “federated” instances - common newsgroups and chat channels would be synchronized and replicated from server to server EXACTLY how federated Lemmy/Kbin/etc. instances do it now.

    And the infrastructure costs were a struggle then and they will be now. Back then to have a capable CGI forum host, or to colocate your server in someone’s data center it cost a lot - like decent hosting/co-loc plans started at $50/month and went up from there. Most hosting plans had steep bandwidth caps, think like 5GB included and +$5 per GB - if you hosted a popular site 40-50GB of traffic wasn’t abnormal. If you ran a newsgroup server you frequently had to futz with how long newsgroup msgs were retained to save disk space; like 48 hrs or less (then the data would be purged).

    What you can get for $50/month THESE days is quite a lot more capable, and you can run a low retention instance for a lot less. Bandwidth and disk space are ludicrously cheap (at least compared to 10-15+ yrs ago). If your instance is low user, low community, and reasonable data retention/cloning, you could run Lemmy or a Mastodon or Calkey server on an old computer you have kicking around and host it from your home internet connection with a dynamic DNS mapping.

    Obviously the big instances with gobs of users will struggle with how they pay for the server infrastructure - some will use crowdfunding, patrons, donations etc. Others will run ads, or subscriptions.

    My home instance lemmy.ca is at 1400 users (as of right now) and is on a $25-30/month hosting plan and so far the site is doing just fine (or seems to be). I’d guess that a massive instance like lemmy.ml might be north of $1-200. But, if you think about it, all you need are 20 ppl to donate $10/month. I donate yearly to Wikipedia. As they discuss in this thread here https://lemmy.ca/post/599590 Mastodon gets $28k Euros a month in donations and pays for two? full time developers, so its not like there aren’t people donating to open source projects… and so far Fediverse servers are doing fine.

    • eekrano@lemmy.ml
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      Do you happen to know what service that’s with? Trying to see what resources that takes. ($25-$30 can mean very different specs depending on where it is hosted). Ty.

  • Bumble@fedia.io
    link
    fedilink
    arrow-up
    32
    ·
    1 year ago

    It’s certainly a challenge. I run three instances on the #fediverse. Two small ones and a larger one with 450 users. I have a donation page; initially people were enthusiastic and I covered costs. Now, I have regular monthly donators but not enough to cover costs so I am subsidising it. I took the decision when I launched that it could happen and it’s my problem.

    I think there will be many instances will fall away in the coming months due to costs. Especially if you are thousands of users and associated costs.

    We need to come up with a new funding model, where people appreciate you get nothing for nothing. All the large corporates sell your data as advertising for revenue. The greater public do not appreciate they are selling their soul.

    • eekrano@lemmy.ml
      link
      fedilink
      arrow-up
      10
      ·
      1 year ago

      Is there an approximate specs per number of users guide to size a lemmy instance?

      • mer@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        Yeah, I’d love to get an approximate sense of how much these instances cost

      • kinther@lemmy.world
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        1 year ago

        I haven’t seen one yet. Disk usage this morning on lemmy.world was reported at about 4GB over 11 days (probably low usage). The 100GB drive would probably fill up in 275 days or so if usage did not increment. If it’s not redundant and dies, all that content is lost.

        So storage will be a huge issue for lemmy unless I’m missing something.

        • nwithan8@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          100GB is practically nothing nowadays.

          There are people (myself included, not to brag) running home servers with literally hundreds of terabytes of data. At that ~0.3 GB/day number, I alone could host 3,500 years worth of data. Get some of those r/DataHoarders and r/HomeLab guys on here and Lemmy would never run out of space.

      • Pisck@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Unfortunately, you can’t equate resource usage to number of users.

        500 users will use more than 5 times the resources of 100 users, because activity feeds on activity. But it gets worse than being non-linear.

        If you judge you’re using as many resources as you comfortably can at 500 users and close registrations, you will soon exceed your resource capacity anyway. Why? Because users who register elsewhere will increase your federation activity and therefore resource requirements.

  • darkfoe@lemmy.serverfail.party
    link
    fedilink
    English
    arrow-up
    24
    ·
    1 year ago

    In all honesty, there are a ton of us tech enthusiasts who have no problem paying 10-20$ per month to run an instance out of our own pockets. We get the ability to subscribe to content we used to use Reddit for, and we can have a few folks hop on with us. Multiply that by a bunch, and add in community funded instances, and we’ll be fine.

    Gotta consider server costs were only a fraction of Reddit’s costs. Salaries are quite pricey, and we have lots of folks volunteering time which will make it all work.

  • Wander@yiffit.net
    link
    fedilink
    English
    arrow-up
    23
    ·
    1 year ago

    That’s why I’m running my own server. Mastodon is much bigger than Lemmy and it does fine with community run servers.

    • Justin@lemmy.jlh.name
      link
      fedilink
      English
      arrow-up
      11
      ·
      1 year ago

      Yeah technical users and people who are friends with technical users can just use a micro instance.

    • bitrate@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year ago

      Yep, I’m using lemmy.world mostly as a trial period, but I plan on getting on my own instance to help reduce the load on the community any way I can. Will probably get a few friends on it as well.

  • rektifier@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    22
    ·
    1 year ago

    I think the biggest cost will be image/video storage. The text takes very little space in today’s standards. The good thing is that symmetric fibre internet connections are becoming more common so it may be possible for members of the instance to contribute unused disk space to help with its image/video storage. This plus limiting the image/video sizes (and maybe forbidding video uploads altogether) will allow the instances to scale with user count.

    • Pisck@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Sure, image/video is vastly more resource-intense, but it’s not used for successful DDoS attacks and fiber connections don’t stop them either. We need a better answer for horizontal scaling as servers currently aren’t even closing registrations until they’re already noticing performance issues and are vulnerable to relatively small increases in federated activity.

    • PlasmaK@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Maybe coordinating with peertube or just using bittorrent to store video online would be good.

  • Ziggurat@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    22
    ·
    1 year ago

    Don’t forget to make a donation to your instance if you love it. For most of us it’s a bit early but I give my 10 EUR per year to my Mastodon admin. Also, if you can choose instance ran by a non profit rather than a person as it ease the whole donation mechanism and give you the right to check where your membership due go.

  • actually-a-cat@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    18
    ·
    1 year ago

    Reddit has over 2,000 employees most of whom are doing bullshit nobody using the site actually needs or wants, it’s possible to run a lot leaner than that. Like Reddit itself used to, before they started burning hundreds of millions trying to compete with every other social media site at once instead of being Reddit

  • dogmuffins@lemmy.perthchat.org
    link
    fedilink
    English
    arrow-up
    18
    ·
    1 year ago

    Basically, volunteer code commits, volunteer admins, and donations for hosting costs.

    Fosstodon is a pretty great example. It’s a fairly large mastodon instance which makes enough in donation revenue to pass some on to other open source projects. It’s not heaps ($600 in 2021), but I think it demonstrates that donations are a viable funding model. If things got tight I expect the community would meet the challenge.

    It’s not like you need to build a custom data centre - it’s just renting a server, maybe even a VPS.

    That said, of course the admins and mods are volunteers. I’d like to imagine that one day a few lemmy instances could charge a subscription fee for a premium, well managed experience.

    • arcrust@lemmy.fmhy.ml
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      Yeah exactly. If my instance stickies a post asking for donations, I’d throw them a couple bucks. No doubt

  • manitcor@lemmy.intai.tech
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    1
    ·
    1 year ago

    this works on the same principals as fidonet, UseNet, email, etc. These protocols are more like fundamental services. The idea behind these was that instead of running a bunch if proprietary garbage you would run things that support A LOT of standard protocols. Why? Because NO ONE should be allowed to own our communications but ourselves.

    The corps did not build these networks, we did. Software will improve over time, OSS shows the way.

  • CalcProgrammer1@lemmy.ml
    link
    fedilink
    English
    arrow-up
    15
    ·
    1 year ago

    I signed up for the lemmy.ml Patreon and am happy to support an open, federated site like this. I’d never pay for Reddit Gold, Twitter Blue, Discord Nitro, or any of those other nasty pay-to-win commericalized things but I’ll pay to keep an open platform from implementing stupid “premium” bullshit.

  • jon@lemmy.tf
    link
    fedilink
    English
    arrow-up
    14
    ·
    edit-2
    1 year ago

    The distributed nature of Lemmy should make things more manageable. Personally, I’m running an instance on a dedicated machine I already pay for, so it’s not costing me anything unless storage skyrockets. Many other instance hosts are also hobbyists that don’t mind covering the costs, and may take some form of donations locally on their sidebars.

    There probably should be a built-in feature for instance admins to enable a local donation button to contribute to their costs, though. While Lemmy is fairly resource-efficient, larger instances are eventually going to require pretty beefy VMs to keep up with the traffic, image uploads, etc. I could see some instances randomly vanishing when their owners can’t/don’t keep up with their bills (which would force users over to other instances), but ideally if any instance owners can’t afford to cover it, they hand control over to another community member to pick it up.

    • moreeni@lemm.ee
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      In general, Fedi admins simply close registrations when they can’t keep up with an influx of new users, and point people to other, smaller instances

      • Pisck@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Closing registrations is all well and good, but can’t activity / load still skyrocket as users from federated instances subscribe to, comment on, and post to their communities?

        • moreeni@lemm.ee
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          It will, but Lemmy is fairly light, so I doubt it will be critical. Fedi is about community, so in case of load problems people will crowd fund existing servers and host new ones

    • JasSmith@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Can I ask about the server load? I have a Plex server sitting around doing mostly nothing. I don’t want to compromise that experience, but I’ve been thinking about starting an instance.

    • russjr08@outpost.zeuslink.net
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      This is pretty much my exact same situation as well, plus I get so few opportunities to “pay it forward” so to speak, and now is finally my chance to do so.

    • Tekhne@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I was thinking about setting up a Pi to host a small/personal Lemmy instance, do you think that’s a reasonable plan? I have no clue how resource intensive Lemmy is. Was thinking it could be nice to store my and friends’ personal data on our own server instead of some random remote server (to some extent obvi).

      • jon@lemmy.tf
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 year ago

        Yes it should run perfectly fine on a Pi, at least for a small instance. You will need to get ports forwarded or setup a reverse proxy if hosting at home, since you’ll need to generate a valid SSL cert (i.e. Letsencrypt) to be able to connect to the federation

  • Slashzero@hakbox.social
    link
    fedilink
    English
    arrow-up
    13
    ·
    edit-2
    1 year ago

    You bring up a very good point. Currently lemmy.ml has thousands of users. Lemmy.world has thousands of users. The hardware they have selected to run their instances is adequate for now, but, what is the plan for scaling out if the user base grows? Is there one? They have a donation page on each lemmy instance (click or tap the heart icon,) but that can’t be enough to pay for the cost of running something used by millions of people, even if only 100s of thousands are ever only online at any given time.

    In terms of UI/UX, @dessalines@lemmy.ml has mentioned in a post they are currently working on major performance improvements and enhancements.

      • maporita@lemmy.ml
        link
        fedilink
        English
        arrow-up
        7
        ·
        1 year ago

        User caps might be a good way to decentralize and ensure that we don’t end up with just a few mega-instances. If there were a page showing available instances with percent of max users then people could use that when selecting.

      • Slashzero@hakbox.social
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        Ideally, yes. If that can be the reality, and I suppose that is how it should would with federation, then server costs should never get out of hand.

        • mjohanning@beehaw.org
          link
          fedilink
          English
          arrow-up
          12
          ·
          1 year ago

          For that to happen, I believe that interacting with people from other instances and moving your community and account from one instance to another have to become possible / easier.

          At present, people flock to the instances with most users as those often have more local content (local content is generally easier to find than federated content) and they often have a smaller risk of shutting down. If I create a community on a smaller instance, the chance of it being found and interacted with are also much smaller than if it had been created on a bigger instance (because of, as I said, local content being user to find).

          Sure, I can create an account on myfirstlemmyinstance.com (example URL, not an actual instance) with 10 users, but if my instance decides to shut down, my community of, say, 500 users will now have to move somewhere else and all old content will be deleted.

          • Slashzero@hakbox.social
            link
            fedilink
            English
            arrow-up
            12
            ·
            1 year ago

            A “transfer my community” feature that allowed an entire community to be moved between instances would certainly help. That’s a great idea.

            From what I’ve seen so far looking through the Postgres db, every instance has data from most other instances. I see users in my local Postgres db from other instances. So, theoretically moving a community from one instance to another could be as simple as changing a few values in the database. Of course in practice it’s never that simple. 😀

            • taladar@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              0
              ·
              1 year ago

              Wouldn’t it require changing all those values in the database of all instances with subscribers to that community?

              • Slashzero@hakbox.social
                link
                fedilink
                English
                arrow-up
                1
                ·
                edit-2
                1 year ago

                Good question. I don’t know. Hypothetically speaking, if the parent instance of the community changes the relevant data in the database to another instance, would federation take over and automatically propagate the change? 🤷🏻‍♂️

                Sounds like an interesting experiment at least, or a possible major bug waiting to happen.

          • ShadowAether@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 year ago

            Idk for everyone else, but when I was on reddit once I had set up the subreddits I wanted to see, I really spent 99% on my time on just those. Every so often I would leave or join subreddits but it was rare. Like if people are not doing searches as often then the lag is more tolerable. Plus, won’t content from larger and older instances be indexed by search engines eventually? Right now because so many communities are being created on so many different instances, it’s more obvious that the searching is laggy but things will surely settle down as time passes.

    • @lemmy.ml
      link
      fedilink
      English
      arrow-up
      18
      ·
      1 year ago

      It is an old programming trope that premature optimization is a waste of time. As Lemmy scales, several bottlenecks will be hit. Some might be predictable, but many will only become evident after crossing a specific threshold. There are a lot of guides for scaling Mastodon servers after hitting certain bottlenecks, but this is all uncharted territory for Lemmy and we’re going to find out the fun way.

      • Slashzero@hakbox.social
        link
        fedilink
        English
        arrow-up
        14
        ·
        edit-2
        1 year ago

        Real devs do it in prod!

        I’m seriously tempted to write some performance tests in jmeter, locust, or k6, and fire up some live traffic simulations / simulated load against my lemmy instance to see what happens. But at the same time that would feel too much like work and I don’t want to work over the weekend.

        • NebLem@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Sounds like a great github issue though that we can fund via bountysource or someone with more free time can take a look. Mind creating it?

      • ImOnADiet@lemmygrad.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        For an example of a problem that will only come up once it’s popular enough, I think hexbear has found that when comment threads get too long (like 800+ nested comments), lemmy starts to break