I find it funny that backend devs will do all this infrastructure work to support billions of real time messages and then frontend devs stomp all over it by making the app take 500MB of RAM and hundreds of ms to take basic actions.
I agree with you that we should care more about resource usage, but it's a false comparison. Backend devs control where their code runs, frontend devs don't.
You can make more precise decisions when you have complete control over the environment. When you don't, you have to make trade-offs. In this case, universality (electron and javascript) for higher RAM usage. It doesn't seem to have slowed Discord's adoption rate.
Even if they built their desktops apps in native code and UI, they'd have to build a JS website in parallel.
It's a fair point. I think loss-aversion over React (Native) is to blame.
Their current client stack is:
Web: React
Desktop: React + Electron
Mobile: React Native + Native
Their commitment to React on so many platforms makes it easy to accumulate bloat. Their need to support lower-level features means they can't avoid native code altogether.
I wonder why they stick with it.
My guess is they don't want to add more hires just for this problem
Backend performance issues can grind your system to a halt. It’s basically a requirement for Discord to work reliably.
Front-end performance is not a hard requirement for most end users, unless the app is actually unusable. Discord isn’t that bad compared to some software I’ve used. You have to get beach balls on startup and complete UI freezes for people to really care. If it’s good enough for most people, shaving some MB off the memory usage or small number of ms off latency isn’t important to the business
Given how intelligent people are, I would not be surprised if this is by choice. They probably don't want poor pleba using their software anyway, just those with money to spare
You can't buy client performance, so it is just more visible. It's not like there are a lot of people with Rust/C++ back ends outside of some very critical pieces.
Honest question, does anyone appreciate these “case studies”? It seems like they’re always based on some random quote and they go way in detail on what the various technologies are and how they might possibly apply to the subject in question, but with almost no real insight besides “I think this is how it might work”. What kind of case study is that?! If you don’t have real examples how is this better than just presenting the original source for the quote and Wikipedia links to the various technical terms?
>Honest question, does anyone appreciate these “case studies”?
I, for one, do not.
But great that we get into some guy's ideation about how Discord is possibly cool, while it's undergoing a major scandal related to ties to Peter Thiel's surveillance company, Palantir, in the botched rollout of age verification[1].
My personal guess is that appearance of articles that paint Discord in a positive light on this forum (and lack substance otherwise) is simply PR.
>You think this post was written because of the Discord stuff in the news?
What a preposterously audacious proposition: to think that an article that describes Discord as a "a finely-tuned system that delivers speed, scale, and reliability" (that's a goddamn chat app, glorified IRC) and casts Discord in good light, written while Discord is experiencing a major scandal, might not be entirely unrelated to the scandal.
More so when the said article offers no concrete details about Discord, instead wildly extrapolating from a few quotes from executives, making assumptions, and talking about what could have been done, all in a way that might as well have been ChatGPT's output.
Yeah, we think that shifting the focus from "Discord stuff in the news" (which is: forcing ID verification and face scans while having connections to Peter Thiel's surveillance business), something that benefits both Discord and Thiel, is quite a likely reason for glowing technical articles about Discord taking off on HN all of a sudden.
I think it’s a low quality post but I’m not super convinced it really has anything to do with Discord’s ID verification thing, or even if it does, it seems really bad at doing this? Like I said before I think there is barely any content here and meanwhile everyone and their mother is discussing the policy they rolled out globally. At least on this site at least, it’s basically the most interesting news this week that isn’t AI.
I love the mental gymnastics it takes to say that an article titled "Discord: A case study in performance optimization", which describes what Discord is, talks about Discord's architecture, and lauds it as "a finely-tuned system that delivers speed, scale, and reliability" isn't aKsHuAlLy about Discord.
>Hacker News always devalues generic comments like those
First: you are not Hacker News, please don't speak for others. Some people did find my comment relevant. They are just as much Hacker News as you are.
Second: my comment wasn't generic. It pointed out that the timing of this article is conspicuous given the news that, at the moment of writing that comment, were not discussed widely on HN.
I understand your indignation but I assure you that this is an actual category of comment that is considered to be low quality on this site. It is so common and damaging that there are special tools to downweight them, because they stifle curious conversation by getting upvotes while providing little value. I didn’t design this policy, so I don’t really feel comfortable sharing the exact details of how it is applied, but if you are curious the moderators would probably be happy to do so. The very thing you think I am being absurd about is exactly the hallmark of these “generic” comments: they pattern match on some keyword or the title or the post and then pull the conversation away from the topic being discussed, which is specific, into an easier and more general discussion on something tangentially related but predictable. Here’s a lampoon of this which happens any time Apple appears in the headline for example: https://news.ycombinator.com/item?id=23003595
In what ways does it look that way, if you recall?
I hear this semi-often, but I don't really get it. The base UI of Discord is pretty normal / looks just like every other chat app out there. Is it the ads for nitro and stuff like that were the issue?
I think the base UI of Discord is fine, but having used it for almost a decade at this point, the UI has gotten worse. Besides the ads you've mentioned, they've added a lot more clutter (random icons, rarely used features, hidden menus, etc.). When I look at screenshots from 2019, I weep.
There's a bit of clutter for sure, but I don't find it too objectionable. As the sibling comment mentioned, the super reacts are really annoying, and so are the ads, but it's overall alright.
Most of the clutter I would complain about comes more down to Discord making it really easy to bloat a server (and a cultural expectation to do so).
I’m in more than one Discord that has more channels than routine users. Like there are 4 people that use it on at least a weekly basis but there’s a meme channel, a pet photos channel, a news channel, yada yada. Managing notifications is a lost cause because the server owner redecorates the server every other week into new channels and what not.
Profiles have gotten weirdly wild, to sell Nitro stuff. Statuses, emojis for the status, now flairs from a server, profile pictures, etc.
Constant notifications for junk. Nitro is on sale, some game I don’t play has a quest, etc.
It’s fine, but it feels like Discord wants to be more than a carrier for voice and chat and I really just want them to do that. I don’t need “Facebook with VoIP”
> I’m in more than one Discord that has more channels than routine users.
Likewise, and I find it quite annoying too, but I don't think it's really Discord's fault. They default to one text and one voice channel, after all. The ability to add new channels easily is a good thing, but people do go a bit crazy with it.
> Statuses, emojis for the status, now flairs from a server, profile pictures, etc.
The server flairs are kind of odd, but aren't the rest of those pretty bog- standard features for a messaging app?
I do agree the notifications are annoying, though. At the same time I get it, they do need to make money somehow.
Animated server logos, colorful /gradient and tonally-varied usernames & avatars, the super emoji or whatever they're called, etc all feel like they're pushing more towards Twitch chat than anything else. Which as another commenter remarked, is essentially aligned with their original and biggest target demographic.
> Animated server logos, colorful /gradient and tonally-varied usernames & avatars
Fair, but all of these things are user controlled. If you're using Discord for work or something, presumably you don't have a bright flashing animated server icon and avatar, your server doesn't have gradient roles, etc.
The super emoji are spot on though, those are fun but were really dumb from the get-go, and waste space in the reaction UI.
Discord is honestly not great for work, but there are lots of other tools. I think they should focus on what’s made them successful, which is gamers and communities.
They should realize charging people $100/year per person for Nitro and $500/year for server boosts means that they don’t want to be advertised to and have their data stolen.
Whenever I read about these web startup architectures I notice there is never a baseline comparison. They start with an insane architecture and then do heroics to transform it into something a little better.
If you have a fast cgi service inserting a text message into a Postgres database, how many messages do you need until that doesn’t work?
Discord, especially the mobile app, is some of the shittiest, broken software I have encountered. The core protection team is absolute trash at their job
reply