299
submitted 6 days ago by nutomic@lemmy.ml to c/announcements@lemmy.ml

In the last weeks Lemmy has seen a lot of growth, with thousands of new users. To welcome them we are holding this AMA to answer questions from the community. You can ask about the beginnings of Lemmy, how we see the future of Lemmy, our long-term goals, what makes Lemmy different from Reddit, about internet and social media in general, as well as personal questions.

We'd also like to hear your overall feedback on Lemmy: What are its greatest strengths and weaknesses? How would you improve it? What's something you wish it had? What can our community do to ensure that we keep pulling users away from US tech companies, and into the fediverse?

Lemmy and Reddit may look similar at first glance, but there is a major difference. While Reddit is a corporation with thousands of employees and billionaire investors, Lemmy is nothing but an open source project run by volunteers. It was started in 2019 by @dessalines and @nutomic, turning into a fulltime job since 2020. For our income we are dependent on your donations, so please contribute if you can. We'd like to be able to add more full-time contributors to our co-op.

We will start answering questions from tomorrow (Wednesday). Besides @dessalines and @nutomic, other Lemmy contributors may also chime in to answer questions:

Here are our previous AMAs for those interested.

(page 2) 50 comments
sorted by: hot top controversial new old
[-] Blaze@lemmy.dbzer0.com 57 points 6 days ago

What’s something you wish it had? What can our community do to ensure that we keep pulling users away from US tech companies, and into the fediverse?

One of the biggest issue at this point is probably the registration experience. There are quite a few occurrences on !fedibridge@lemmy.dbzer0.com of users not sure whether their email has been validated or not, and at the moment they really need to look out for the toastify notification on their first try, later attempts won't show it.

Most recent example: https://lemmy.ml/post/27607055?scrollToComments=true

If there could be a way to inform a user saying "your email address has been validated, please wait for an administrator to activate your account, you can reach out to them at xxx", that would be great.

load more comments (10 replies)
[-] daytonah@lemmy.ml 1 points 3 days ago
  1. I have no idea how and which server I joined, is there any manial I can read better yet visually see how servers are connected that are federated? Thx. And when we search something does it search across all servers? Thanks.
load more comments (1 replies)
[-] usernameusername@lemm.ee 42 points 6 days ago
[-] sleeplessone@lemmy.ml 11 points 5 days ago

Chilling in the morning before I start my day job.

load more comments (3 replies)
[-] eldavi@lemmy.ml 3 points 3 days ago

How would you improve it?

a way to filter out posts that have no engagement or comments from others would be helpful since the larger instances flood my feed w hundreds/thousands of news links that flood out the discourse on lemmy.

load more comments (4 replies)
[-] interdimensionalmeme@lemmy.ml 1 points 3 days ago

When will anyone be able to click the following /c/books And see an agglomeration of all "books" communities on all federated server? I don't mean multireddits Thanks!!

[-] Microw@lemm.ee 1 points 3 days ago

You mean like a list of all communities named "books" or "books.."? And then you could choose to visit individual communities by clicking on them?

load more comments (1 replies)
load more comments (2 replies)
[-] interdimensionalmeme@lemmy.ml 1 points 3 days ago

When will users be able to frictionlessly migrate between instances without losing their posts, their comments, their history, their relationships, their reputation etc? (Without requiring the consent of the exiting instance owner, or that this server still even exists, as they sometimes don't)

[-] Draconic_NEO@lemmy.dbzer0.com 3 points 4 days ago

Do you plan to introduce some kind of post tags into Lemmy, preferably something that will behave like Hashtags on Mastodon and other activitypub platforms? I know that Lemmy has been embedding community name as a hashtag for a while now, though having tags that can be populated by users would help discovery greatly.

load more comments (3 replies)
[-] yogthos@lemmy.ml 30 points 6 days ago

What have been the biggest challenges with the project over the years, both in terms of technical and non technical aspects. I'd be interesting to hear a bit of retrospective on how has the stack's been working out, and what surprises you might've run into in terms of scaling and federation. What recommendations you'd make based on that and what you would've done differently knowing what you know now.

[-] nutomic@lemmy.ml 16 points 5 days ago

The stack is great, I wouldnt want to change anything. Postgres is very mature and performant, with a high focus on correctness. It can sometimes be difficult to optimize queries, but there are wizards like @dullbananas@lemmy.ca who know how to do that. Anyway there is no better alternative that I know of. Rust is also great, just like Postgres it is very performant and has a focus on correctness. Unlike most programming languages it is almost impossible to get any runtime crashes, which is very valuable for a webservice.

The high performance means that less hardware is required to host a given number of users, compared to something like NodeJS or PHP. For example when kbin.social was popular, I remember it had to run on multiple beefy servers. Meanwhile lemmy.ml is still running on a single dedicated server, with much more active users. Or Mastodon having to handle incoming federation activities in background tasks which makes the code more complicated, while Lemmy can process them directly in the HTTP handler.

Nevertheless, scaling for more users always has its surprises. I remember very early in development, Lemmy wasnt able to handle more than a dozen requests per second. Turns out we only used a single database connection instead of a connection pool, so each db query was running after that last one was finished, which of course is very slow. It seems obvious in retrospect, but you never notice this problem until there are a dozen or so users active at the same time.

With the Reddit migration two years ago a lot of performance problems came up, as active users on Lemmy suddenly grew around 70 times. You can see some of that in the 0.18.x release announcements. One part of the solution was to add missing database indexes. Another was to remove websocket support, which was keeping a connection open for each user. That works fine with 100 users, but completely breaks down with 1000 or more.

After all there is nothing I would do different really. It would have been good to know about these scaling problems earlier, but thats impossible. In fact for my project Ibis (federated wiki) Im using the exact same architecture as Lemmy.

load more comments (1 replies)
[-] dessalines@lemmy.ml 11 points 5 days ago

2nding @nutomic, that I'm really happy with the stack.

The one that seems really magical to me, is diesel. With it we get a compile-time-checked database, that's tightly integrated to the rust objects / code.

Every single join, select, insert, etc is checked before lemmy is even run, and it eliminates a whole category of errors resulting from mismaps.

Its made adding columns, and changing our data structures so much less error-prone than when I lived in the java-world.

Whenever we find that we'd want to do things differently, we usually do a refactor ASAP so as not to keep rolling spaghetti code. We've had to do this many times for the federation and DB code, and even have 2 major refactors that also add features ongoing. But luckily we've been able to stay in the rust eco-system for that.

As for UI, leptos didn't exist when I built lemmy-ui, so I went with a fast react-like alternative, inferno. Its showing its age now, so @sleepless1917 is working on lemmy-ui-leptos, which hopefully will supercede lemmy-ui.

load more comments (1 replies)
load more comments (9 replies)
[-] SnokenKeekaGuard@lemmy.dbzer0.com 34 points 6 days ago

Old user, haven't been active recently. Where'd all this growth come from?? Another reddit refugee situation?

[-] Blaze@lemmy.dbzer0.com 47 points 6 days ago* (last edited 6 days ago)

!reddit@lemmy.world started to ban people based on upvotes

!buyeuropean@feddit.uk movement has motivated people to look around for European alternatives to Reddit

[-] inlandempire@jlai.lu 48 points 6 days ago

Blaze means the website Reddit, not the community they linked

load more comments (1 replies)
load more comments (1 replies)
[-] testman@lemmy.ml 9 points 5 days ago

What Is the airspeed velocity of an unladen swallow?

load more comments (6 replies)
load more comments
view more: ‹ prev next ›
this post was submitted on 25 Mar 2025
299 points (98.4% liked)

Announcements

2 readers
5 users here now

Official announcements from the Lemmy project. Subscribe to this community or add it to your RSS reader in order to be notified about new releases and important updates.

You can also find major news on join-lemmy.org

founded 5 years ago
MODERATORS