News for hackers. Stuff that matters.
Re:Meta developer tools: Working at scale by zug_zug on Wednesday June 28, 2023 @09:43AM (#36506344)
I think Meta's tooling is inferior to industry standard. I actually took a survey while I was there, and that wasn't the majority opinion, but frankly I think most outsiders would absolutely agree.

Things like Eden were a great idea, but basically had all sorts of issues they gloss over (a virtual file system can be really slow if you have a ton of small files), dev environments would randomly fail a lot, really the only tool they had that nobody disliked was their log-searching thing (can't remember what it's called) but it was still lightyears behind something likes splunk.

It was my conclusion that "Wow you have 15 people working on a dev-tool compared to a public company with 100 building the industry-standard version over 10 years with actual product managers and UI experts, no wonder ours looks like crap... wouldn't it be cheaper just to take .01% of your salary and buy standard dev tools"

I guess "Clunky" is the word I'm looking for. "Blow it away and make a new one" was a phrase that happened with some regularity for dev-envs, repo-checkouts, etc. And iirc restarting your dev box took like >30min.

---

Side note - the other strangest thing was some of these tools people agreed were terrible (restart takes 30min). So you'd expect thousands of engineers to be swarming any system with any UI bug, edge-case, or whatever. But it just didn't work that way.

Re:Meta developer tools: Working at scale by taeric on Wednesday June 28, 2023 @09:55AM (#36506530)
I can't really compare to Meta, but I will confess that "industry standard" tooling has been very disappointing for me. Trying to get a build setup that automatically pulls in dependency changes once a week is something I'm still not entirely sure how to do in a way that everyone agrees with. Seems most tools bake that into a code commit with a lock file nowadays. But even that is amusingly recent. Years ago, you had to mirror any repository system locally and learn how to set that up. Probably getting it wrong in the process.

Mentioning splunk, I'm assuming you are using more paid industry tools. I suspect that opens things up a bit more, but realize that most of the industry doesn't use those due to prohibitive pricing. And I don't even know what the appropriate paid tool for building would be.

We seem remarkably primed to just hate whatever tooling we have at our disposal in ways that baffles me.

Re:Meta developer tools: Working at scale by p_l on Wednesday June 28, 2023 @09:58AM (#36506574)
I remember when Cisco mentioned potential acquisition of Splunk for $20B, the jokes about whether it was to buy the company or to pay the running Splunk bill wrote themselves.
Re:Meta developer tools: Working at scale by zug_zug on Wednesday June 28, 2023 @10:05AM (#36506670)
I know splunk is expensive, especially if you don't have somebody who is actively monitoring your spend, but sumo is a pretty good alternative. It's actually something I look for in the interview.

Regardless, many companies underspend by an order of magnitude on dev tools. If a tool makes you 1% more efficient, it's worth them putting 1% of your annual salary into it (multiply this by engineers at the company who need the tool). Soon you'll see that a tool costing hundreds of thousands to license a year is often a steal.

So you may say "oh splunk is overkill and unfair expectation" but in their CI/CD system, if your job failed (frequent occurrence) and you wanted to search for something in there you'd manually DOWNLOAD a 300 meg file to your machine and grep it for errors.

Basically a fang engineer's time costs $3 a minute minimum, so if a query could save 1 minute then the break-even cost is paying up to $3 to run that query.

Re:Meta developer tools: Working at scale by taeric on Wednesday June 28, 2023 @10:25AM (#36506971)
Even in a fang, most money spent on log storage is fully wasted. The article yesterday about monitoring being a pain was spot on.

More amusing is when you see someone build a giant Elastic Search pipeline to a Kibana dashboard so that they can get what would have been table stakes metrics if they had used the normal service templates. Without a ridiculously large bill.

Or folks that think they can warp around the high cardinality traps of making a metric out of everything. Assuming if you can make a system that works for the testing environment, of course it will work when you open the floodgates.

Seen people argue that sampling shouldn't be used, "because you could miss data?" Reservoir sampling is a thing, for very real reasons.

At any rate, I don't mean to just yell about splunk, from all I've heard it is nice. I am annoyed that folks seem to ignore the OLAP and OLTP divide, such that they think your metrics system should somehow be optimized for both. At the same time.

Pulling back to builds, though. What, exactly, is the gold standard in industry? I have yet to see it. Python builds, in particular, strike me as not good.

Re:Meta developer tools: Working at scale by Hermitian909 on Wednesday June 28, 2023 @02:24PM (#36510472)
> If a tool makes you 1% more efficient, it's worth them putting 1% of your annual salary into it

Hear me, nameless internet stranger, that you might learn from my mistakes: This is not true. Efficiency is only worth money if it increases profits - concretely this means your efficiency gain must result in the following:

1. Delivering features faster

2. Delivering features with meaningfully higher quality

3. Delivering the same features with lower headcount costs

(2) is hard to measure, so you can generally only sell on (1) and (3). During the 80s the business world learned the hard way you can throw away a lot of money on useless efficiency. If that interests you I recommend "The Goal" by Goldratt for a fictionalized account of those learnings.

* There's also a subtler point that corporate finances may mean that even if efficiency is perfectly captured, a 1% efficiency increase may only be worth 0.1% of your salary.

Re:Meta developer tools: Working at scale by rsdbdr203 on Wednesday June 28, 2023 @09:53PM (#36515379)
100% this... profit, or it's not worth it
Re:Meta developer tools: Working at scale by Spooky23 on Wednesday June 28, 2023 @02:24PM (#36510473)
Splunk can save money, as long as you’re intelligent about processing data. I can think of dozens of security and operational incidents where splunk saved the day.

I’ve been through a few savings exercises where everything is gonna go open source dashboards etc. Once the guy who understands how it all works disappears, it migrates back to splunk.

One security incident response will pay for the entire splunk infrastructure.

Re:Meta developer tools: Working at scale by rsdbdr203 on Wednesday June 28, 2023 @09:55PM (#36515387)
This isn't a great argument... sure, Splunk "saved the day" because it caught that really bad security thing... but what other tools, at half the cost, could have also "saved the day"? If most of them could have, then it's not really worth the price... right?
Re:Meta developer tools: Working at scale by Spooky23 on Thursday June 29, 2023 @08:17AM (#36519413)
Sure. I can save a ton of money by fixing my own car too - if I have the ability to execute.

If you can, that seriously awesome. The point is, many can’t.

Re:Meta developer tools: Working at scale by KaiserPro on Wednesday June 28, 2023 @12:02PM (#36508444)
FB's log shipping and parsing is much better than "industry" however we ship billions of logs to get a metric, because the internal graphite service isn't easy to use. and unidash really sucks compared to grafana for non-SQL based metric discovery and prototyping.
Re:Meta developer tools: Working at scale by quadrifoliate on Wednesday June 28, 2023 @10:21AM (#36506912)
I don't know anything about tooling at Meta, but I have appreciated custom-built tooling at all the jobs I have worked at so far -- much smaller companies ranging from about 100 to 5000 people.

Some of this is just having worked in the industry for a while. Guess what, 15 years ago "Put all your code in a web service running on AWS" was not nearly as slam-dunk a proposition as it is now; and tools optimized for on-prem were faster and more reliable.

The other thing is that you don't always have to reinvent things to the point that Meta does. You can just wrap around an Open Source project, or even contribute to it. This is what all of my previous jobs did -- make custom tooling from industry-standard OSS building blocks; and contribute back when it made sense for the larger community.

I actually think Meta was actually trying to do this with Mercurial a while ago [1], you probably have a much better idea than us as to why that didn't work out.

----------------------------------------

[1] https://engineering.fb.com/2014/01/07/core-data/scaling-merc...

Re:Meta developer tools: Working at scale by randall on Wednesday June 28, 2023 @12:30PM (#36508844)
https://sapling-scm.com/

It did work out.

Re:Meta developer tools: Working at scale by quadrifoliate on Wednesday June 28, 2023 @12:54PM (#36509171)
I know that, I meant the specific reasons why Sapling diverged from standard Mercurial. https://sapling-scm.com/docs/introduction/differences-hg/ lays out some of the differences; but not why they exist.

One guess that I can make from Sapling docs is that perhaps FB/Meta needed an ability to pull in Git repos where needed; and I can see Mercurial devs not being super enthusiastic about that being a first-class workflow in Mercurial itself.

Re:Meta developer tools: Working at scale by ak67 on Thursday June 29, 2023 @02:57AM (#36517271)
> I know that, I meant the specific reasons why Sapling diverged from standard Mercurial

The needs of a large internal code base are often quite different than what open source projects need.

Anther issue is that tools like Git and Mercurial need to be compatible with positively ancient repositories and can't really break backwards compatibility whereas within Meta, it is easier to move faster and deal with breaking format changes since developers's checked out repos on their laptops can be silently upgraded since the machines are well managed with Chef and can be upgraded behind the scenes. In the outside world, you can't assume people will be running the latest version and can't upgrade them.

Finally, Google is also moving away from Mercurial. Perhaps the JJ developers want to respond why (and check out Jujitsu -- it's a novel and very interesting system y'all should check out).

Re:Meta developer tools: Working at scale by martinvonz on Thursday June 29, 2023 @04:02AM (#36517684)
> Finally, Google is also moving away from Mercurial. Perhaps the JJ developers want to respond why (and check out Jujitsu -- it's a novel and very interesting system y'all should check out).

Sure. I presented about that at Git Merge 2022. https://github.com/martinvonz/jj#disclaimer has links to the slides and the recording from there. I'll summarize the problems we have with Mercurial here:

1. Performance/scalability. That's partly because Python is slow. Both the Mercurial project and Meta have rewritten many parts of it in C and Rust as a result. Maybe more importantly, there are many assumptions in Mercurial's design that don't scale well. We have extensions for downloading only a slice of the repo. We slice it in both file space and in version space. However, it can get very expensive to change afterwards. For example, checking out an old revision that they user hasn't previously downloaded is very slow (it requires rewriting all local revisions after that point).

2. Consistency. Mercurial was designed for local file systems, so when we store repos in our distributed file system, we run into write races that can corrupt repos.

3. Integrations. We integrate with Mercurial by running the `hg` binary and parsing the output. That's unnecessarily complicated and slow.

We also see several opportunities by switching to jj (in addition to hopefully fixing the problems above):

1. Simpler workflows. Things like: working-copy commit (no "dirty working copy" errors, for example), undo, first-class conflicts (no interrupted rebases, for example). See the GitHub project for details.

2. Cloud-based repos. The repos will be stored in a database instead of being stored in files on top of a distributed file system. That makes them much easier for our server to work with, and it opens up for many kinds of integrations that were not feasible before.

3. Simpler architecture. We designed jj from the beginning to be easy to integrate with our internal systems, so there should be much fewer workarounds.

4. Simpler code base. You can typically add a command without worrying about concurrent commands, a dirty working copy, or conflicts. An example I like to mention is how I spent about two weeks trying to implement a command for amending into an ancestor commit in Mercurial. Then I implemented a more powerful version of that (can move changes from any commit to any other commit) in an hour in jj.

Re:Meta developer tools: Working at scale by quadrifoliate on Thursday July 06, 2023 @12:06AM (#36611108)
(A bit late, but better than never) Hey thanks, this is exactly the sort of detail I was looking for -- appreciate the link and clear reply!
Re:Meta developer tools: Working at scale by idkyall on Wednesday June 28, 2023 @09:58AM (#36506576)
Yeah, that's fair. I think another thing is that a lot of these internal tooling projects date back 5-10 years when open source alternatives may not have been viable yet. For example, my company uses an in-house written time series database, which probably made sense at the time because when the project started, Prometheus wasn't 1.0 yet. Now it's reaching growing pains as we've scaled, and at this point it's a bit of a sunk cost fallacy to not migrate off of it.

Another thing is that sometimes it's truly impossible to use one-size fits all for some tools if your company scale is large enough. I've heard from friends at Amazon that the dev experience and tools are totally different in the hardware space than it is for those working in the retail or AWS orgs.

Re:Meta developer tools: Working at scale by tm-guimaraes on Wednesday June 28, 2023 @04:40PM (#36512281)
> For example, my company uses an in-house written time series database, which probably made sense at the time because when the project started, Prometheus wasn't 1.0 yet.

That's why big orgs are now opensourcing their tools. But it's not to clean up all "too internal" stuff from a tool.

Re:Meta developer tools: Working at scale by Macha on Wednesday June 28, 2023 @09:53AM (#36506496)
Yeah, I've worked at another large tech company who had accumulated a lot of in house tooling with a lot of invested SMEs who had been there a long time and missed that the state of the art out in the world had passed them by.
Re:Meta developer tools: Working at scale by ericbarrett on Wednesday June 28, 2023 @10:38AM (#36507114)
I left FB in the early-mid 2010s and can attest to this. It took a year or so to adjust to the "real world." Things like, no, you don't have a fancy scheduler; you get SSH, ansible, and systemd timers. Docker, Jenkins, and Kubernetes (RIP Mesos) were all new to me when other devs/devops folks had years of experience.
Re:Meta developer tools: Working at scale by typon on Wednesday June 28, 2023 @09:49AM (#36506454)
It's interesting to hear the contrast between Meta and my experience talking with ex-Googlers who complain that open-source or industry standard infrastructure is far inferior to what they were used to at Google. Why such a big chasm between the internal tool quality at Meta and Google?
Re:Meta developer tools: Working at scale by kevinventullo on Wednesday June 28, 2023 @10:01AM (#36506614)
FWIW I am a Meta-to-Google transplant and I feel the opposite way. There’s a lot of internal tooling and functionality I miss dearly. Most of all, Workplace.
Re:Meta developer tools: Working at scale by mattnewton on Wednesday June 28, 2023 @11:40AM (#36508086)
FWIW I did the opposite leap and felt the opposite way- I really disliked workplace’s stream of seemingly randomly sorted information compared to e-mail lists I could filter, control, and search better. I really dislike workplace as a store of institutional knowledge. The chat was definitely way better than hangouts chat though.

I also felt like a lot of the developer tools looked nicer than their google counterparts at the surface but had major reliability problems under the hood where you would need to do a lot of turn it off and on again style operations.

Re:Meta developer tools: Working at scale by theptip on Wednesday June 28, 2023 @12:37PM (#36508941)
I do really like Workplace, I think it provides a much better information architecture than docs/slack alone.

It’s possible to run a really disciplined Slack where updates go in a ready-only channel, and people broadcast their work appropriately - but it’s really hard. Most people default to non-discoverable DMs and then stream-of-thought in public channels, which are both bad for discovery in their own way.

Posts end up being a bit more considered than a slack message, but still lightweight, and more discoverable than docs.

Shame Google nixed their “Google plus for workplace”, I would love to see this workflow used more widely.

Re:Meta developer tools: Working at scale by loeg on Wednesday June 28, 2023 @11:16AM (#36507706)
I think GP's opinion is fairly contrarian. I would say the in-house tools at Meta are substantially better than typical open source or commercial tools used at smaller companies.
Re:Meta developer tools: Working at scale by bertil on Wednesday June 28, 2023 @10:49AM (#36507271)
I would say it’s quite uneven: most tools were better than the state of the art when they were introduced.

For many, the world has moved on a lot since, and those tools feel obsolete but so embedded in practices that it’s unthinkable to apply better approaches. One example of that is tracking data sources: legacy is slow, dysfunctional, and even fairly straightforward questions time out because you have to load so much meta-data. That’s because no one really uses it: most of that information is carried by the Data engineers who have built the system, and they are over-whelmed with questions that could be answer with a good system, but derive power over analysts. They benefit from it through comments they copy in their review, so fixing it isn’t anyone’s priority.

Others have evolved because the internal demand pushed things forward. PMs want Deltoid to work, so that system has moved to be state-of-the-art or interestingly unique in many ways: scaling, not implementing MCC, integration with the metric definitions.

Re:Meta developer tools: Working at scale by barbazoo on Wednesday June 28, 2023 @10:54AM (#36507355)
My current role for the first time exposed me to amounts of data and variety of data (in type and how/where it's stored) that's difficult to learn organically. I wonder how a FAANG does that at "scale".

> most of that information is carried by the Data engineers who have built the system, and they are over-whelmed with questions that could be answer with a good system, but derive power over analysts.

Is that the kind of question you're talking about here?

Re:Meta developer tools: Working at scale by rangledangle on Wednesday June 28, 2023 @10:54AM (#36507350)
No company I've worked at after FB/Meta ships or works even at a non-eng level with the same velocity. I always attributed that to their internal tools, since most of the other companies seem to be using the same crap. Slack is straight up painful compared to their chat system. And don't get me started on the how good the task tool is compared to literally any other ticketing system out there. Everything is behind their intern tool, and usually built to all just work together without friction.
Re:Meta developer tools: Working at scale by castlecrasher2 on Wednesday June 28, 2023 @11:13AM (#36507674)
>Slack is straight up painful compared to their chat system.

As someone who vastly prefers Slack over all its competitors, I'm very interested in hearing how Meta's compares. What makes it better than Slack for you?

Re:Meta developer tools: Working at scale by anonymoushn on Wednesday June 28, 2023 @11:47AM (#36508206)
slack is incredibly, unbearably slow
Re:Meta developer tools: Working at scale by KaiserPro on Wednesday June 28, 2023 @12:00PM (#36508408)
As a chat system workplace is inferior to slack. Discovery and organisation of chats are hard, especially group chats that would normally be a channel.

However the combination of the "newsgroup" and chat makes it kinda better than slack on it's own.

Would I use workplace at a new startup? probably not. I would use slack though.

Re:Meta developer tools: Working at scale by rangledangle on Wednesday June 28, 2023 @04:05PM (#36511838)
Yea, it could be that FBs internal tooling connected to workchat is what made it so great. I think channels are a nasty way to handle topics of conversation compared to posts on a forum type place. Leaning into searchability and all that was great.

I’ve seen sub 500 employee companies and Slack kicks ass, but it seems once it goes over 1k it’s like glhf managing channels and bots.

Butterfly bot integration to workplace was really something.

Workplace def overkill sub ~ 600 users though.

Re:Meta developer tools: Working at scale by changoplatanero on Wednesday June 28, 2023 @12:47PM (#36509073)
I also think meta's workchat was better than slack. Maybe its because at my new company slack has to play the role of both workplace and workchat whereas at meta they have two separate things for that.
Re:Meta developer tools: Working at scale by rangledangle on Wednesday June 28, 2023 @04:11PM (#36511913)
Moving to a company using a hodgepodge of constantly rotating SaaS tools has been hell. I’m always thinking to myself “why can’t they just do this?”. I think I’ve been both spoiled and broken permanently.

On the other hand, building all these connections between the disparate apps is basically my job, so it’s got its positives.

Re:Meta developer tools: Working at scale by dnissley on Wednesday June 28, 2023 @02:48PM (#36510774)
Don't believe the hype -- I think workchat probably beats slack for speed in the web client, but the desktop/android clients which I use regularly are truly sluggish and constantly refusing to load new messages if I'm not constantly using them, forcing me to restart them in order to do so.
Re:Meta developer tools: Working at scale by rangledangle on Wednesday June 28, 2023 @04:08PM (#36511877)
Oh yea, web comparison for sure, but I also don’t see a difference between slack desktop and web. They’re both electron clients though iirc, the desktop client just wasn’t given much attention because web worked great.
Re:Meta developer tools: Working at scale by umanwizard on Wednesday June 28, 2023 @06:11PM (#36513348)
Meta uses workchat which is just a reskinned Facebook Messenger. It’s been a while since I’ve used it but I remember it being a lot less glitchy than slack on iOS (desktop is another story).
Re:Meta developer tools: Working at scale by crakhamster01 on Thursday June 29, 2023 @02:02AM (#36516905)
Slack tries to satisfy a number of requirements, all through a chat interface. 1:1 chatting, group chatting, team/project discussions, company updates, etc. I think Slack is as good or superior to Workplace just considering chat functionality, but as a tool for inter-company collaboration Workplace is much better.

Once your company reaches a sufficient size (maybe 300+ employees?), Slack channels just become so clunky and tedious for trying to keep up with projects and discussions. Using Slack keyword notifications helps cut through the noise, but I really think applying Facebook's ranking/Groups expertise to work-related content has been the best solution I've seen so far. You're no longer inundated with unread channels that may or may not have messages relevant to you, Workplace just surfaces the relevant content (and obviously there's chat/mentions for more pressing issues).

Re:Meta developer tools: Working at scale by pavlov on Wednesday June 28, 2023 @11:01AM (#36507461)
Code review on stacked diffs was awesome for bigger features.
Re:Meta developer tools: Working at scale by rangledangle on Wednesday June 28, 2023 @11:06AM (#36507526)
The open-ness of code, visibility, diffs. It was perfection. Something broke in my env suddenly? OH, I just checked recently pushed diffs that affect my realm. Hey there it is, security pushed something weird. I'll just revert the part that affects me and tag them. No meeting, maybe a SEV for visibility and review, maybe not. Easy peasy.
Re:Meta developer tools: Working at scale by innagadadavida on Wednesday June 28, 2023 @11:54AM (#36508313)
Shipping faster should not be the only metric, the amount of SEVs should be given much higher weight. The attitude of most engineers is to show impact and if there is a SEV, it is better as it will show even more impact. This slows other people down and causes a gradual decline is actually shipping things that matter - quality over quantity.
Re:Meta developer tools: Working at scale by rangledangle on Wednesday June 28, 2023 @04:31PM (#36512177)
Oh yea, I elaborated more in another comment. But the ease of finding documentation related to code, SEVs, anything wrong. Someone pushing something and breaking something else in my env, then me using the amazing tools like diff to see what was pushed recently that affects my realm, I can quickly track down, find, and often times alter to fix my problem with no more than a message to the original author in a comment on the new diff.

Early career this is pretty huge for growth. I was there until 2019 though, so not sure how it is now.

My point was that the cohesion of all these internal tools makes information discovery frictionless. cross-pollination of functional space in a business is like butter because everything is built by Meta and behind their intern tool. The other companies I've worked at just don't have this. They lack the Eng capacity to build it, unfortunately.

Re:Meta developer tools: Working at scale by steve1977 on Wednesday June 28, 2023 @01:00PM (#36509273)
For me as a customer/user, Facebook seems to be the same since 5 or more years. So that velocity doesn’t translate to user experience unfortunately.
Re:Meta developer tools: Working at scale by rangledangle on Wednesday June 28, 2023 @04:19PM (#36512005)
Yea I was on the internal side, not outward facing production apps. They have and are building their own versions of ENTIRE companies for internal use. It’s a marvel to see. But the blue app? I can’t speak to that one on the internal side, but I’d agree with you there as a customer.
Re:Meta developer tools: Working at scale by throwaways885 on Wednesday June 28, 2023 @02:55PM (#36510876)
Anyone who's used both, how does it compare to Google's internal tooling?
Re:Meta developer tools: Working at scale by rangledangle on Wednesday June 28, 2023 @04:24PM (#36512063)
I’ve got coworkers who went back and forth. Their thoughts were (in 2019) that Facebook had cooler things going on, but less mature. Nicer to use, but less stable in some cases.

I personally loved things breaking at times. The monorepo and all the tools were so open that enabled me to follow along and try my own fixes in some cases (sometimes being the one to fix it!).

At that point in my career, that kind of exposure was like a rocket ship for personal growth. Others shared similar sentiments.

Re:Meta developer tools: Working at scale by ben_w on Wednesday June 28, 2023 @03:11PM (#36511127)
> No company I've worked at after FB/Meta ships or works even at a non-eng level with the same velocity.

This is a curious thing to see.

As a mere user, and speaking purely about FB not any other Meta IP…

Other than unbreaking things that break when the OS and browsers change under you, has Facebook shipped even one thing in the last five years?

Don't get me wrong, I know it takes a lot of effort to stand still — forgetting the Red Queen effect was Musk's obvious mistake with Twitter even before stuff broke — but Facebook seems completely unchanged.

Re:Meta developer tools: Working at scale by nudgeee on Wednesday June 28, 2023 @03:47PM (#36511639)
I don’t work for Meta, but you can see their product announcements here: https://about.fb.com/news/category/product-news/
Re:Meta developer tools: Working at scale by rangledangle on Wednesday June 28, 2023 @03:58PM (#36511768)
Most of the open source Ai things are Meta. React, GraphQL, pytorch, rocksdb, docusaurus, prophet, a whole ton of internal tools that aren’t public knowledge. Full disclosure I haven’t worked there since 2019 though, so not sure since then.
Re:Meta developer tools: Working at scale by ben_w on Thursday June 29, 2023 @06:48AM (#36518757)
None of that looks like it's about the Facebook website itself?

But I guess that implies you didn't mean the website itself when you wrote "FB" in the comment I replied to? :)

(One of the most well known consumer brands shipping tooling rather than stuff the consumers use directly is, ah, apt for a company called "meta").

Re:Meta developer tools: Working at scale by rangledangle on Thursday June 29, 2023 @12:56PM (#36523211)
When I worked there it was still called Facebook. I’m still not used to calling it Meta haha. My bad.
Re:Meta developer tools: Working at scale by no_wizard on Wednesday June 28, 2023 @06:13PM (#36513373)
Its not the tools, its the culture. Meta cut red tape in its early years especially. I know there is more "process" now, but they empowered teams and individuals to just make decisions and move on and the ecosystem around everything supports this.

They'd be just as fast with Slack or whatever, for the most part.

EDIT: as someone posted below:

> The open-ness of code, visibility, diffs. It was perfection. Something broke in my env suddenly? OH, I just checked recently pushed diffs that affect my realm. Hey there it is, security pushed something weird. I'll just revert the part that affects me and tag them. No meeting, maybe a SEV for visibility and review, maybe not. Easy peasy.

This is the kind of empowerment developers are given and expected to handle (both the explicitly ability to revert previously committed code and the implicit responsibility that the teams code that was overridden must deal with it once they're notified rather than push back)

Re:Meta developer tools: Working at scale by rangledangle on Wednesday June 28, 2023 @06:57PM (#36513832)
100% agree. The culture is a huge factor as well, but in some of the environments that I encountered before and after, that culture was there, but the tools didn’t allow the same cohesion.

To your point, other experiences have shown me the ego that rears it’s ugly head when trying to move that way in an env that didn’t have that culture. At FB there was a lot of candor, but in other environments I feel like I’m going to hurt someone’s feelings in code review, or even just watching what I say in slack messages. People take work too seriously in some companies. It’s so rewarding to have fun with it.

They used to say “Nothing at FB is someone else’s problem”

I hope they still do.

Re:Meta developer tools: Working at scale by no_wizard on Thursday June 29, 2023 @01:22PM (#36523551)
In part this is only possible at Meta because it incremental measured improvements would raise all boats. You didn't have someone being evaulated how well a project was planned (Product Managers), how well it was executed (Engineering Managers) and how well it was built (Engineers / IC). All 3 of these things can be extremely orthogonal to each other and human nature makes it so more often than good intentions of a person to even realizes.

Meta cut through that by focusing on measurable improvements.

The downside is it can create silos, a negatively competitive environment. IE, teams not sharing resources or credit etc because they are only looking out for themselves at the end of the day, because any measurement you don't capture is one you can't claim as yours.

I also argue it can breed short therm thinking. Meta even had special teams from what I understand that were "exempt" from the typical metrics driven review cycles because they'd create the wrong incentives.

I think the general ethos can be really powerful though, but I'd peg it to collaboration and value driven measurements (and value is loose here, I'm not strictly thinking monetary) rather than strict "user based metrics".

Re:Meta developer tools: Working at scale by rangledangle on Wednesday June 28, 2023 @07:13PM (#36513991)
And just to add that last part. Moving fast was so damn cool. That shared understanding of responsibilities and freedom of making changes. In most cases of course they were added as reviewers to the revert diff review, and in some cases they knew it could adversely affect us and they’d tag us for our perspective before pushing, but the open-ness of it all. The freedom to bring me in at a later stage or for me to do the same to them.

These days at different companies it’s all planning and hashing out all those details before implementing, and then guess what? Surprises happen anyway. And in the end we become master planners and never actually build anything. Those blueprints sure do look great though.

Re:Meta developer tools: Working at scale by fzeindl on Wednesday June 28, 2023 @10:57AM (#36507404)
The problem with metas approach to tooling from a very high level viewpoint is that they virtualize everything. They abstract all common tasks like building, testing or running by building an entirely new system that builds an abstraction layer.

Abstraction layers tend to be slow.

What they should focus on is plumbing. Take what exists and connect it in a smart way.

Take React: the idea of applying functional programming and spitting out HTML was a great idea. HTML existed before react. Then they also implemented a virtual-DOM, which was the unnecessary part.

Or react-native: rendering UIs in a functional way is great, but stuffing JavaScript into everything is not necessary.

Re:Meta developer tools: Working at scale by RandallBrown on Wednesday June 28, 2023 @11:05AM (#36507523)
Maybe it's not necessary anymore, but wasn't the virtual DOM made for performance reasons since updating the DOM used to be really really slow?
Re:Meta developer tools: Working at scale by Jcampuzano2 on Wednesday June 28, 2023 @11:43AM (#36508149)
Virtual DOM in any scenario will always be slower than updating the DOM directly. The virtual DOM will always be overhead. The issue is if you are manually updating the DOM yourself you can easily shoot yourself in the foot by doing so in a way that is less performant, or breaks things like scroll position, focus management etc. Its also normally more tedious to do manually. This is where the virtual DOM came in. You just declaratively update the JSX and it handles the updating itself.

But nowadays there are plenty of solutions that do not use virtual DOM (or even use a virtual DOM solution that is just plain faster) but still allow you to use declarative rendering, basically the best of both worlds. They are just not as popular or for some people not as interesting to them as React is. Or they are content with Reacts performance already.

Re:Meta developer tools: Working at scale by findjashua on Wednesday June 28, 2023 @11:23AM (#36507839)
phabricator & scuba are far better than anything i've used anywhere else.
Re:Meta developer tools: Working at scale by thiagocmoraes on Wednesday June 28, 2023 @01:20PM (#36509563)
I REALLY miss Phabricator, Scuba and (gasp) Tasks. Would love to have those back in industry. Far better than Github, Superset (?) and of course the dreadful Jira I have to use these days.
Re:Meta developer tools: Working at scale by rsdbdr203 on Wednesday June 28, 2023 @09:58PM (#36515414)
I was very impressed by Scuba's ability to ingest and search data... and very unimpressed by the interface. I found it terribly unintuitive, and often didn't get you what you wanted without having to run multiple queries.

Phabricator was pretty sweet... and the internal version of mercurial was a dream!

Re:Meta developer tools: Working at scale by optymizer on Wednesday June 28, 2023 @11:36AM (#36508019)
For what it's worth, as a Meta employee, I generally disagree with this comment. I mean, calling it 'inferior' is just laughable. It's way better than what open source projects have access to and it's way better than Amazon internal tooling (is that 'industry standard' enough?).

The sapling workflow is better than git. I was skeptical when I joined, but between no branches and excellent stack and merge support, it's just a better, more intuitive workflow.

Eden is fast. Crazy fast, in fact, if you look at the size of the monorepo. The comment about small files is odd to me. Source code are small files. The entire monorepo is just small files.

Now if we are going to complain about something, it would be the custom Android environment we've got. Android Studio integration is actually clunky, bordering on non-existent. Compared to writing vanilla Android code, which I have done for years before joining Meta, Meta folks wrapped almost every API, so all your pre-existing Android knowledge is useless. I've never been so unproductive when writing Android code.

Re:Meta developer tools: Working at scale by PreachSoup on Wednesday June 28, 2023 @11:50AM (#36508254)
I agree. The tooling is not as good as Google's(expected, Google's internal ides are incredible). But it's definitely better than the rest
Re:Meta developer tools: Working at scale by MikeTheRocker on Wednesday June 28, 2023 @11:57AM (#36508349)
Having also written Android code at Meta, I 100% agree.
Re:Meta developer tools: Working at scale by Solvency on Wednesday June 28, 2023 @02:42PM (#36510696)
What's the short version of why Meta did this, wrapping so much up in this internal nonstandard format?
Re:Meta developer tools: Working at scale by nsonha on Wednesday June 28, 2023 @03:25PM (#36511345)
I'm guessing same to why everyone else does that: they want to abstract away the platform. To some people platform intricacies are uninteresting comparing to the problem they are solving, so their abstractions aim to express their problem domain, and hide everything else.

For example for apps you may like to deal with abstractions that can express navigation and pages. They are the same across web, iOS, Android. Unlike Activity, Fragment, View (is that still a thing, I stopped doing android 10 years ago lol) and some slightly different set of abstrations over iOS.

Re:Meta developer tools: Working at scale by billjings on Wednesday June 28, 2023 @06:03PM (#36513266)
Often, performance.

When I was at Meta, if you could measure it, you could ship it and mark that as a win in your performance review. So a lot of projects got shipped off of A/B tested metric wins.

Re:Meta developer tools: Working at scale by calvinmorrison on Wednesday June 28, 2023 @01:00PM (#36509268)
Fastmail had great developer tooling. Give yourself about two minutes from a issued command via slack or CLI and you'd have a brand new tagged developer box the live system that was a self contained infrastructure in a box of everything from the imap server to the user interface. Another command you could get as many copies for whatever development branch, etc.

The entire system replicated the real system (not user data but the software) and you could spin up test addresses and accounts and all sorts trivially. Beautiful!

Re:Meta developer tools: Working at scale by mandeepj on Wednesday June 28, 2023 @03:06PM (#36511050)
> get as many copies for whatever development branch

Why would someone need a more than one copy of a dev/feature branch?

Re:Meta developer tools: Working at scale by calvinmorrison on Wednesday June 28, 2023 @03:39PM (#36511536)
Because its free? You could have a beta server spun up on the fly to do some QA while your dev server is still kicking. It's just spinning servers off of git tags
Re:Meta developer tools: Working at scale by kevan on Wednesday June 28, 2023 @01:56PM (#36510109)
>and it's way better than Amazon internal tooling (is that 'industry standard' enough?).

It's slowly changing but I wouldn't consider Amazon's tooling to be industry standard by any definition.

Re:Meta developer tools: Working at scale by zug_zug on Wednesday June 28, 2023 @04:58PM (#36512489)
>> Amazon internal tooling (is that 'industry standard' enough?).

I'm not sure, maybe?

When I say industry-standard tools I mean "Best you can purchase." So I mean a UI as good as github, a platform as good as AWS (meta's doesn't hold a candle to AWS), full-text log searching as good as splunk, chat as fast/searchable as slack (workplace doesn't hold a candle), video chat as fast/clear/clean as Zoom (workplace doesn't hold a candle)

Some problems are harder at scale (feature toggles interactions just get harder with size), but some of them are just a mess of their own making (restarting taking 30m, butterfly rules having >20m+ delays, eden not being optimized to work with buck, which needs to read tons of files out of tons of directories)

Re:Meta developer tools: Working at scale by vlovich123 on Wednesday June 28, 2023 @05:05PM (#36512595)
GitHub's developer workflow is a joke compared with the ticketing, CI, and code review tooling at Meta. I found the tools at Meta made it a lot smoother and faster to write and review code. Also, their automated flaky test detection, suppression, & ticket issuance/resolution is no joke. One of my favorite features. Their feature flagging system was also on point. Also, Workplace is a fantastic replacement of Wiki that surfaces relevant & interesting content to you. Their chat tools are way better than Google Chat / Microsoft Teams (not sure how it stacks up against Slack since I'm not a huge user of them).

I agree the observability tools I interfaced within Meta was subpar a few years ago, but I think you're being ungenerous to take that and extend it to the coding tooling specifically.

Re:Meta developer tools: Working at scale by erik_seaberg on Wednesday June 28, 2023 @05:44PM (#36513060)
Suppressing flaky tests is a little terrifying. Google would just retry them a few times, which is slow but only delays requesting a code review.
Re:Meta developer tools: Working at scale by vlovich123 on Wednesday June 28, 2023 @08:23PM (#36514695)
It determines flakiness in aggregate across all builds. It also does automatic retries but it does so for the purposes of marking a run as flaky which it then remembers. And it's your team's responsibility for making your tests stable. If they're not stable, they're not going to fail builds which is the correct response (a ticket is filed & it's your team's job to keep those tickets under control). The neat thing is also that if you fix the test and it's no longer flaky, it gets automatically added back in & the ticket is closed (in case you forgot).

https://engineering.fb.com/2020/12/10/developer-tools/probab...

Re:Meta developer tools: Working at scale by erik_seaberg on Wednesday June 28, 2023 @10:17PM (#36515551)
If a test goes from “flaky” to “never succeeds,” I absolutely want to fail builds. To me it seems pretty common for large integration tests to be flaky, and I don’t know that it’s always feasible to avoid without mocking so much that the test becomes meaningless.
Re:Meta developer tools: Working at scale by vlovich123 on Thursday June 29, 2023 @12:37AM (#36516335)
What makes you think that’s not the case?
Re:Meta developer tools: Working at scale by erik_seaberg on Thursday June 29, 2023 @01:02AM (#36516504)
Maybe I misinterpreted “flaky test detection, suppression” and “not going to fail builds.” You retry until a confirmed success before merging?
Re:Meta developer tools: Working at scale by vlovich123 on Thursday June 29, 2023 @02:18AM (#36517006)
I think flaky tests would be always retried and if they start failing 100% then it’s marked as a pure regression. But they don’t block merges if they fail (ie it might be done only after the merge). Not 100%. But generally yes - the culture is to incentivize people to fix their flaky tests and it’s one of the things EMs are judged on.

> Ultimately, our goal with PFS is not to assert that any test is 100 percent reliable, because that’s not realistic. Our goal is to simply assert that a test is sufficiently reliable and provide a scale to illustrate which tests are less reliable than they should be.

Re:Meta developer tools: Working at scale by jarjoura on Wednesday June 28, 2023 @05:49PM (#36513111)
Phabricator w/ "arc & jf" were my bae. Wish they would fully open source all of it or expose a public version of it to compete against GitHub.
Re:Meta developer tools: Working at scale by zug_zug on Wednesday June 28, 2023 @09:19PM (#36515124)
>> GitHub's developer workflow is a joke compared with the ticketing, CI, and code review tooling at Meta.

??

Re:Meta developer tools: Working at scale by vlovich123 on Wednesday June 28, 2023 @11:11PM (#36515887)
Completely consistent and unified UX and text editing (GitHub has this, atlassian doesn't). All text editing is rich multi-modal that is basically what you see in Facebook posts (i.e. you can add a bunch of images easily, it all previews immediately) w/ programmer-friendly extensions (e.g. code formatting, markdown w/ live preview etc).

The ticketing system had a rich tagging system (which GitHub has). The notifications system was completely unified and extremely useful - Workplace activity, relevant ticket updates, PRs to review, reviews, etc - all relevant and timely. From what I've seen, GitHub tends towards just being a useless uncoordinated firehose.

Finally code reviews. Having a code review for every commit is a bit to get used to but their tooling makes it super easy to post a stack (i.e. PR). Each commit in the PR can be independently reviewed & merged. This means you can land improvements progressively as code reviews complete (i.e. short cleanup commits go in faster while larger commits are reviewed longer) This also encourages people to size the commits appropriately & to be standalone.

Re:Meta developer tools: Working at scale by rsdbdr203 on Wednesday June 28, 2023 @09:49PM (#36515346)
>Their feature flagging system was also on point.

Which one... there are like 3 (or more)? The ones I worked with were the single biggest cause of SEVs. I wrote some tooling around trying to make it better, but it honestly needed to be completely replaced.

>Workplace is a fantastic replacement of Wiki that surfaces relevant & interesting content to you.

Yea? I found it horrible to have to read through post-after-post-after-post to try and keep up-to-date with what's going on. Not my way of ingesting information.

>Their chat tools are way better than Google Chat / Microsoft Teams (not sure how it stacks up against Slack since I'm not a huge user of them).

100% disagree... telling my dog to bark at the neighbor because I want something from them is better than Workplace chat. Constantly switching between internal beta and production to try and get the features I wanted, with something stable. Go ahead and send me a link to that message in a chat... oh yea, you can't :-|

Re:Meta developer tools: Working at scale by wilde on Wednesday June 28, 2023 @05:11PM (#36512672)
> Eden is fast. Crazy fast, in fact, if you look at the size of the monorepo.

You’re measuring the wrong thing. The user actions are slow and take several seconds to complete usually. No one gives a shit how big the repo is. They care how long their operation takes.

Re:Meta developer tools: Working at scale by lanza on Wednesday June 28, 2023 @09:40PM (#36515276)
There isn't a tool that can do this job faster. git takes a few seconds once you're at half a million commits. Facebook has many repos checked in in their entirety that are bigger than that.
Re:Meta developer tools: Working at scale by wilde on Thursday June 29, 2023 @07:28AM (#36519010)
That’s like saying cargo ships are fast because they carry lots of stuff. It’s still slow in absolute terms to get my stuff from China.
Re:Meta developer tools: Working at scale by optymizer on Thursday June 29, 2023 @12:51AM (#36516422)
Compared to what? Not having a monorepo? Sure, but you run into different issues with that approach. Eden is the best solution there is for a monorepo of this size.
Re:Meta developer tools: Working at scale by wilde on Thursday June 29, 2023 @07:31AM (#36519031)
Yeah compared to not having a monorepo and buying more SSDs. The separate repos are much nicer to work in, but harder for the infra folks to manage. I miss having dataswarm as a separate repo. I will miss IG’s.

I understand the tradeoff. That doesn’t mean it’s “fast”. It’s slow but the other alternatives are slower.

Re:Meta developer tools: Working at scale by nappy-doo on Wednesday June 28, 2023 @06:01PM (#36513230)
I've worked at Google and Meta (née FB). They are inferior.
Re:Meta developer tools: Working at scale by jacksnipe on Wednesday June 28, 2023 @01:35PM (#36509789)
Strongly not my experience. The tooling at meta was so good compared to my previous 5 jobs that I left with changed opinions about the tradeoffs of investing in tooling.
Re:Meta developer tools: Working at scale by LoulouMonkey on Wednesday June 28, 2023 @01:42PM (#36509903)
As a Meta employee as well, and working in the data analytics / engineering space, I'm finding tooling to be pretty high standards actually.

Though we arguably rely on a lot of Apache products, whatever we use that's internal only is great to work with. Daiq** recently started supporting notebooks, which has been a game changer for us as well as for the teams we work with. Phabricator is great as well, and makes shipping stuff super easy. Only Ben**, the internal notebook solution, I find meh. Especially compared to Google Colab. But the rest has simply been a joy to work with.

For those interested, a former DE made this nice repo that maps internal tools against "real world" products: https://github.com/thijsessens/xmeta2external

Re:Meta developer tools: Working at scale by shostack on Wednesday June 28, 2023 @10:48PM (#36515740)
Is there a reason you censored parts of tool names? Your link lists the uncensored version.
Re:Meta developer tools: Working at scale by hyuuu on Wednesday June 28, 2023 @04:34PM (#36512213)
as a former employee who has worked both in many other companies over a decade + starting a few startups, Meta tooling is one of the best if not the best, it's so good to a point where Saas companies came out of facebook simply by replicating their internal tooling, like Asana, Scuba, etc
Re:Meta developer tools: Working at scale by shostack on Wednesday June 28, 2023 @10:49PM (#36515743)
I thought Asana were Xooglers?
Re:Meta developer tools: Working at scale by roland35 on Thursday June 29, 2023 @12:40AM (#36516354)
Nope started by Dustin Moskovitz who was even in the "social network" movie
Re:Meta developer tools: Working at scale by jarjoura on Wednesday June 28, 2023 @05:27PM (#36512842)
As an ex-meta mobile engineer, I 100% agree that I found Eden to be impossible to use productively. I always had to pre-warm the cache, pretty much defeating its stated goals. Maybe it has gotten better since I left a year ago, but I had 2 TB of local storage, and mercurial's sparse checkouts were more than enough for me and far more reliable.

However, all the other tooling around code were just superior in every way. I miss Phabricator, and mercurial and the way it seamlessly integrates into a team. I also miss all of the command line helpers that let me manage all of it.

It used to be the case that legitimate teams could form around and focus just on building internal tools for other teams if it improved engineering velocity. Not sure if that's still the case in this new era of layoff-happy Meta, but it was definitely true when I was there.

Re:Meta developer tools: Working at scale by roland35 on Thursday June 29, 2023 @12:39AM (#36516345)
Eden definitely works better on a dev server and sucks on a laptop, especially arm based mac's (it's slowly getting better but still requires occasional reboots). +1 on the coding tools being great
Re:Meta developer tools: Working at scale by ak67 on Thursday June 29, 2023 @02:59AM (#36517285)
Please reach out to the Eden team about your M1 issues; they'd love to hear from you - from what I've heard, it works better on M1s.
Re:Meta developer tools: Working at scale by fuzztester on Wednesday June 28, 2023 @05:28PM (#36512850)
>I think Meta's tooling is inferior to industry standard.

s/Meta's tooling/Meta/g

s/inferior/very inferior/g

Re:Meta developer tools: Working at scale by radicality on Wednesday June 28, 2023 @05:40PM (#36513001)
Like a few others already commented, I also disagree. Was at FB for 7 years, and now almost 2 years at a place with the “industry standard” things like slack / datadog / github / sourcegraph / (20+ other tools all disconnected from the rest and all behind SSO).

As a backend engineer, the dev experience was just incomparably better at FB. Some things I most most are probably phabricator / stacked diffs workflows, buck dep management with everything in a monorepo, deep integration across all the the tooling etc.

Re:Meta developer tools: Working at scale by ketchupdebugger on Wednesday June 28, 2023 @09:07PM (#36515047)
Every tool Meta has, Google also has. Google open source theirs so the industry gravitates towards that, but Meta keeps theirs internal. So is Meta's tooling better than Industry/Google open source tools? probably not. The only tool I was impressed by was scuba. But Meta basically build it out of gold (thousands of machines with TB's of ram)