Live data from Hacker News

LinkedIn uses 2.4 GB RAM across two tabs

news.ycombinator.com

351–360 of 481 posts

Re: LinkedIn uses 2.4 GB RAM across two tabs

#351
post #221

Let's be real, LinkedIn is full of LinkedIn Lunatics but pretty much all mainstream social media is pretty shit. They're just different flavors of shit. LinkedIn: bad. Facebook: bad. Twitter: I literally think it contributed to the collapse of discourse and rise of shallow thought / rejection of expertise. I'm not going to list more because the theme is, you guessed it, they're bad. Google+ had promise in that the ma…

Sorry for my ignorance, but what exactly is the distinction between hn and social media? Is it the personalization that distinguishes the two? Does "social" mean "feed depends on graph neighborhood"? So collaborative filtering + ranking algorithms + moderation is not social media until you add graph neighborhoods?

There's a somewhat silly sense of superiority on this site over itself along with a deeply held belief that social media is bad, which makes commenters here try IMO in vain to distinguish HN from other forms of social media. After all, if you are the bad thing, how can you not fall prey to the same problems of the bad thing?

I think in reality "social media" is a set of properties all of which lead to different effects in the discourse on the site. This site may not have individualized ranking algorithms but it has open registration and crowdsourced ranking which gives it a lot of the same benefits and failure modes of Reddit. Unlike Reddit, HN has a professional (meaning: paid) mod staff, which leads to different behaviors than Reddit.

It's all just a spectrum and I think it's more rigorous to think of these things as a spectrum rather than trying to play this silly intellectual game of defitinioneering to make the social media you don't like sound bad and the ones you like sound good. Focusing on cause and effect can be a more effective way to craft intentional social spaces rather than finger pointing.

Re: LinkedIn uses 2.4 GB RAM across two tabs

#352

Earlier quoted context omitted.

As someone was pointing out in a thread the other day about memory usage, a lot is fonts and images. EDIT: Just mind boggling to get d/v'ed for pointing out voyager doesn't have to render fonts or images...

Aka poor resources management. If you have significantly more images loaded in RAM than what fits on your screen, something wrong is going on. (Not counting the filesystem cache here, because it works in a best effort way).

The alternative is that for every glyph you render the entire glyph to the screen using the Bezier curves from the font, and you end up with dogshit performance - like the new windows terminal (not sure if they've fixed it yet).

Caching glyphs is good resource management and with modern screen resolutions, color displays and subpixel-antialiasing you just simply need more than 70KB of RAM.

Re: LinkedIn uses 2.4 GB RAM across two tabs

#353
post #143

Earlier quoted context omitted.

it's unironically just react lmao, virtually every popular react app has an insane number of accidental rerenders triggered by virtually everything, causing it to lag a lot

well that's any framework with vdom, the GC of web frameworks, so I'd imagine it's also a problem with vue etc.. I don't understand though why performance (I.e. using it properly) is not a consideration with these companies that are valued above $100 billion like, do these poor pitiful big tech companies only have the resources to do so when they hit the 2 trillion mark or something?

They have no real competitors, so anything that makes the user even stickier and more likely to spend money (LinkedIn Premium or whatever LinkedIn sells to businesses) takes priority over any improvements.

Re: LinkedIn uses 2.4 GB RAM across two tabs

#355

Earlier quoted context omitted.

As someone was pointing out in a thread the other day about memory usage, a lot is fonts and images. EDIT: Just mind boggling to get d/v'ed for pointing out voyager doesn't have to render fonts or images...

How much? You typically don't want more than a few different fonts on a given document. And neither fonts nor web images should be bigger than hundreds of kilobytes. How do we get to gigs?

>How do we get to gigs?

Microsoft, who has owned LinkedIn since 2016, has recently been making headlines because recently they fired a lot of their engineers and QA staff and are now essentially vibecoding huge chunks of their enterprise.

What's more, Microsoft never paid the really big bucks like the FAANG companies, and so it's more or less an open secret that at the height of the tech hiring frenzy Microsoft had to fight for B-tier engineers that weren't good enough to work at e.g. Apple.

So, it's been 10 years, which is long enough for that trademark Microsoft mediocrity to seep into LinkedIn. And they're probably vibe coding everything. That's how you get to gigs.

Re: LinkedIn uses 2.4 GB RAM across two tabs

#357
post #143

Earlier quoted context omitted.

well that's any framework with vdom, the GC of web frameworks, so I'd imagine it's also a problem with vue etc.. I don't understand though why performance (I.e. using it properly) is not a consideration with these companies that are valued above $100 billion like, do these poor pitiful big tech companies only have the resources to do so when they hit the 2 trillion mark or something?

Nobody gets promoted for improving web app performance.

From: https://hpbn.co/primer-on-latency-and-bandwidth/#speed-is-a-...

> Faster sites lead to better user engagement.

> Faster sites lead to better user retention.

> Faster sites lead to higher conversions.

If it's true that nobody is getting promoted for improving web app performance, that seems like an opportunity. Build an org that rewards web app performance gains, and (in theory) enjoy more users and more money.

Re: LinkedIn uses 2.4 GB RAM across two tabs

#358

Earlier quoted context omitted.

Sounds quite overengineered. CEOs have basically no idea what they're doing these days. If this were my company, I'd start by cutting 80% of staff and 80% of the code bloat.

Don't know if this is satire, but I do wonder if Musk uses the Grok app himself.

As someone who knows xAI employees, he does use it a LOT and reports bugs very often afaik

Re: LinkedIn uses 2.4 GB RAM across two tabs

#359
That's peanuts. LI's third-party bot prevention service, "protechts.net", took 42 GB RAM on my laptop with 32 GB the other day. Obviously found out because it got suspiciously slow and wheezing, and Firefox swapping like crazy seemed to be the culprit. Looking at its performance, this scare jump happened: [1].

I have to say I haven't spotted anything at this brutality scale neither before, not after this incident. Also, I had no third-party adblocking software deployed, just Firefox's native defaults. (I use quite a few other extensions, userscripts and userstyles, though, so I cannot rule out some clash induced by them.)

I see LI is using protechts.net stuff in hidden iframes with charming id="humanThirdPartyIframe" and even nicer id="humanSecurityEnforcerIframe". Lovely!

[1] https://pasteboard.co/9eDQ84szy3d9.jpg

Re: LinkedIn uses 2.4 GB RAM across two tabs

#360

Earlier quoted context omitted.

How much? You typically don't want more than a few different fonts on a given document. And neither fonts nor web images should be bigger than hundreds of kilobytes. How do we get to gigs?

>How do we get to gigs? Microsoft, who has owned LinkedIn since 2016, has recently been making headlines because recently they fired a lot of their engineers and QA staff and are now essentially vibecoding huge chunks of their enterprise. What's more, Microsoft never paid the really big bucks like the FAANG companies, and so it's more or less an open secret that at the height of the tech hiring frenzy Microsoft had t…

"What's more, Microsoft never paid the really big bucks like the FAANG companies"

I never knew this open secret. In my day msft was very glamorous and I guess something like oracle played the role you're ascribing to msft now. I wonder what their strategy was? (I tend to doubt this was a careless/unexamined decision.) Maybe they figured that paying extra for individuals doesn't get you much if you have enough structure in place? A Bill Bellichik approach to hiring. Is the relationship you're making (FAANG salaries == better products) accepted as true?

Post reply on HN