Live data from Hacker News

Rebuilding our tech stack for the new facebook.com

engineering.fb.com

61–70 of 489 posts

Re: Rebuilding our tech stack for the new facebook.com

#62
> We knew we wanted Facebook.com to start up fast, respond fast, and provide a highly interactive experience.

And we forgot about it while developing it, this is just common mistake in product management, when projects are not iterative, things are so long, that you even forget why you are doing them

Re: Rebuilding our tech stack for the new facebook.com

#63
post #3

Great write up. Glad to see they're making some changes as the current interface still feels like 2005 with the main feed at 500px wide. And as always, dark mode is welcome. I really hope this helps performance on the site. In the past year or so I've been noticing that when the page sits in an unfocused tab for a while, clicking back usually takes 20+ seconds to actually load and I'm stuck at a white screen. It actu…

About every 3 minutes I went a little mad with the new interface. With the old one, photos open, and you can click almost anywhere to close them.

With the new (desktop) interface, you have to find the X to close the photo. No, no, not the X you find on the top right of every other interface ever. This time it's on the top left!

Re: Rebuilding our tech stack for the new facebook.com

#64
post #12

> as little as possible I just opened FB with the cache disabled and it downloaded 5.85MB (19.76MB uncompressed). Most of it happens after the page has rendered, which is great, but that's a lot of stuff. There are 13.74MB of uncompressed JavaScript.

That's pretty much size of a mobile app. But the thing with web apps is that they are downloaded every time and hence the outcry.

Re: Rebuilding our tech stack for the new facebook.com

#65
post #60
post #52

Earlier quoted context omitted.

With a standard 4G/FTTH connection that's less than one second of download time.

Everyone have 4G and Fiber, and a Core i7 and 16Gb of RAM :) Seriously…

That's not what I've said, and I somewhat agree with the original point, but this trend of wanting to cater to the lowest denominator rubs me the wrong way.

Some guys think the web should be usable with a 50€ smartphone on GPRS, and I say no, because there's a middle ground.

Re: Rebuilding our tech stack for the new facebook.com

#66
post #33
post #8

Everything is in the past tense without dates. When was this massive re-write? 2010? 2018?

Looking at the graphical design changes, they haven't rolled this out yet.

They did roll this new interface on some users (like me), and this new experience genuinely sucks.

It's easy to guess what happens under the hood:

"Legacy" programmers implemented working solution.

A newcomer comes into the company, doesn't really give a shit about the company because he is #XXXX, follows textbook processes, has a very nice pay-check so no pressure, and decides to rewrite because "code sucks".

A second newcomer joins, still no pressure, because he knows he will get his pay-check. Tells his manager that he cannot work without refactoring (it's not true).

10 programmers later, you refactor code instead of producing features. You can do that for all your lifetime.

To their defense, the FB initial codebase from the time of Mark Slee or Philip Fung was not a gift but because they had pressure to make revenues they were trying to do what was right.

When you have 10 years of positive iterations regarding product experience and user feedback, revamping everything in a big bang boom is a terrible idea from both engineering and product perspective.

Sometimes, full revamp are positive because the initial product sucked, but when you managed to onboard a billion user, it's dangerous to change their habits if you aren't 100% sure it's an improvement.

Here, we have PO/PM pushing for change, for whatever reason (engineering pressure, or they get a bonus if they deliver the product, etc). Same story with all the Google Messengers.

Re: Rebuilding our tech stack for the new facebook.com

#67
post #15
post #6

Earlier quoted context omitted.

> And as always, dark mode is welcome. I don't get this infatuation with dark mode, beyond it looking cool. People claim it helps with eye strain, but a brighter background constricts your pupils, improving focus.

Just wanted to point out you might’ve pasted the wrong snippet, which is about eBay’s policies.

Oops! Thanks for the catch.

Re: Rebuilding our tech stack for the new facebook.com

#68

Quite sincerely, it's a total failure. I got the chance to try the new interface, and it's so slow that it's barely usable. It's even slower than the old website, that was already painfully slow. Loading a random profile takes 8 seconds. Opening a messenger discussion takes 6 seconds. It reminds me of the new Reddit website. Facebook was more enjoyable to use 12 years ago. It's really sad that in 2020, 10k+ engineers…

The problem there is that '10k+' "engineers" are trying to make the same 'photo, video, post and message-sharing website'.

It's a structural problem and little more: the website (and app) is their main money-maker, so they're going to give it a disproportionate amount of resources.

Imagine you hire ten thousand people to lay one railroad track. [note; see end of post] If any single one of them doesn't contribute directly in some way, you'll fire them. This seems kind of strange, doesn't it? Sure, it probably requires more than a single person to lay a track. But ten thousand people to lay one? How is that supposed to work, mechanically? This would be enough to warrant shareholder revolt.

Now, the railroad track gets broken a few hundred times, maybe they hammer it enough to make it twice as long, whatever. It now no longer resembles a railroad track. Certainly no train could go across it. Send a few hundred people to go ask the managers of this project for a replacement track. Okay, we're now at...maybe a tenth of people having contributed? Repeat this process until everyone's contributed. Maybe the manager gives different groups different materials for the track to fuck with them, whatever. But somehow, every single person manages to not get fired.

What's the outcome look like? You have a single railroad track, probably not even well-fit for the job (sparks fly whenever trains run on it; maybe it causes them to tilt, so on), but it's laid! And ten thousand people are employed!

It's the same thing with a website. You can't put a terabyte onto a user's device every single time they load your website; you just can't. So you have a window of performance you have to hit. Between ten thousand people trying to have things thrown onto user devices? Good luck making anything resembling 'decent'.

It's the same problem that Dave Zarzycki noted in his talk about launchd[1], but worse. Instead of 512 megabytes shared between some random abstract parties you can basically ignore, it's [note]: This is the appropriate comparison here; at the scale of 'Over ten thousand people working on one program', it's grunt work, not art, science, or even programming. There's a word for implementation-grunts that's fallen out of favor in the past few decades: coders. This was seen as distinct until recently.

[1] https://youtu.be/SjrtySM9Dns?t=255

Re: Rebuilding our tech stack for the new facebook.com

#69
post #6

Earlier quoted context omitted.

> And as always, dark mode is welcome. I don't get this infatuation with dark mode, beyond it looking cool. People claim it helps with eye strain, but a brighter background constricts your pupils, improving focus.

It never occurred to me that this could be the reason for dark mode blurriness, but it makes sense intuitively. (Think you mean "constricts" rather than "dilates" though.)

Yup, you're right; they constrict. I found this Stackexchange post that goes into far better detail than I did: https://graphicdesign.stackexchange.com/a/15152

The only thing I have to add is you can think of constricted pupils like a pin-hole camera or a higher f-number on a camera aperture. You need brighter light, but the depth of field is wider.

Post reply on HN