Latest / Ship It Weekly - DevOps, SRE, Platform and Cloud Engineering News / Ship It Conversations: Meta’s Francois Richard on AI Incident Response, SLOs, and Reliability at Scale
Transcript
- 0:00AI is making it easier than ever to create more
- 0:03software, more code, more diffs, more experiments,
- 0:07more changes moving through systems that were
- 0:10already complicated before everybody got a robot
- 0:13assistant in the editor. And that sounds great
- 0:15until you are the team responsible for production
- 0:18because production does not really care that
- 0:21the code was generated faster. It still cares
- 0:24about latency. It still cares about overload.
- 0:27It still cares about dependencies, rollbacks,
- 0:30traffic routing, region failures, weird edge
- 0:34cases, and whether the people on call actually
- 0:37know what to do when the system starts acting
- 0:40strange. That is the part of the AI conversation
- 0:43that feels under-discussed to me. Not just can
- 0:46AI write code, it can. Not just can AI help debug,
- 0:50sometimes yes. The better question is what happens
- 0:54to reliability when the volume of change goes
- 0:57up, the amount of generated code goes up and the
- 1:00context behind that code gets thinner. Because
- 1:03incidents are not just caused by bad code. They
- 1:06are caused by systems behaving in ways people
- 1:09did not expect, under conditions they did not
- 1:13practice, with dependencies they forgot were
- 1:16part of the critical path. That is really what
- 1:18this conversation is about. Not just SLOs, not
- 1:22just incident reviews, not just AI agents. More
- 1:25like, what does reliability actually look like
- 1:28when change is accelerating? Systems are more
- 1:32connected, and recovery matters just as much
- 1:35as prevention. I'm Brian Teller from Teller's
- 1:38Tech, and this is Ship It Weekly.
- 1:58Welcome back to Ship It Weekly, where I filter the noise and
- 2:00focus on what actually matters when you are the
- 2:03one running infrastructure and owning reliability.
- 2:06Most weeks, it's a quick news recap. In between
- 2:09those, I do conversation episodes with people
- 2:12who are building platforms, running infrastructure,
- 2:15organizing events, and thinking through where
- 2:18this industry is actually headed. Today is one
- 2:21of those conversations. I'm joined by Francois
- 2:24Richard, an engineering director at Meta. We're
- 2:27talking about reliability at scale, how AI and
- 2:30automation are changing production risk, what
- 2:33teams actually learn from incidents, and why
- 2:36recovery practice matters just as much as prevention.
- 2:40And I like this conversation because it gets
- 2:43past the neat, clean version of reliability that
- 2:46fits nicely in a dashboard. Reliability is not
- 2:49just a number. SLOs matter, dashboards matter,
- 2:53alerts matter, guardrails matter. But none of
- 2:56that means much if the team cannot use it to
- 2:59make better decisions, recover from real failures,
- 3:02and improve the system after something breaks.
- 3:05You start with the obvious goal. Keep the system
- 3:08up. Keep the users happy. Avoid incidents. Do
- 3:12not page people for nonsense. Do not let every
- 3:15deployment feel like a coin flip. Then reality
- 3:18shows up. A region has problems. A dependency
- 3:22gets slow. A service gets overloaded and cannot
- 3:26restart because it is too overloaded to recover
- 3:29cleanly. Traffic spikes during a major event.
- 3:32A change rolls out faster than the team understands
- 3:35it. Or an AI-generated pile of code technically
- 3:38works until it fails in a way nobody has enough
- 3:41context to explain quickly. And somewhere in
- 3:45the middle of that, reliability stops being just
- 3:48prevention and starts becoming practice. In this
- 3:51conversation, Francois and I talk about how Meta
- 3:55thinks about reliability across both reactive
- 3:58and proactive sides. Incident response, incident
- 4:01reviews, SLOs, guardrails, validation, disaster
- 4:06recovery testing and what happens when you actually
- 4:09practice taking a region out instead of just
- 4:12assuming the failover plan works because the
- 4:15diagram looks good. We also get into what teams
- 4:18learn during incidentsss, not just from the post
- 4:20postmortem afterward but inside the pressure cooker
- 4:23itself where engineers have to make decisions
- 4:26quickly build consensus fast understand the system
- 4:30under stress and figure out what is actually
- 4:33happening while the clock is running there is
- 4:36also a good thread in here around AI agents in
- 4:39incident response not the fantasy version where
- 4:42you hand production to an agent and hope it saves
- 4:45the day more the practical version where AI helps
- 4:48with investigation telemetry metrics logs relationships
- 4:52across services and narrowing down what might
- 4:56be happening faster than a human clicking around
- 4:59dashboards alone and towards the end we talk
- 5:02about recovery practice known failures versus
- 5:05unknown failures why teams should test the failure
- 5:08modes they claim they can survive how smaller
- 5:11teams can learn from Meta-scale reliability patterns
- 5:14and why not every system needs six nines on day
- 5:19one so if you work around DevOps, SRE, platform
- 5:23engineering, infrastructure, engineering leadership,
- 5:26incident response, or you are just trying to
- 5:29figure out what reliability looks like when AI
- 5:31is increasing the volume of change, this one
- 5:34should be worth your time. All right, let's jump
- 5:37in.
- 5:45Today, I'm joined by Francois Richard. He is an engineering director at Meta, and we're
- 5:47talking about reliability at scale, how AI and
- 5:50automation are changing production risk, what
- 5:53teams learn from incidents, and why recovery
- 5:56practice matters just as much as prevention.
- 5:59Francois, thank you for joining me. Thank you,
- 6:02thank you. Happy to be here. Okay, so when you
- 6:04think about reliability at Meta scale, where does
- 6:08the work actually start? I think for me, reliability
- 6:13is actually two things. What people kind of like
- 6:16know usually it's the reactive side is how do
- 6:19we manage incidentss? How do we respond to problemss?
- 6:23And how do we handle things and recover and fall
- 6:27back when something goes bad? But at the same
- 6:31time, it's also everything that I call like,
- 6:33you know, the proactive side of the house. This
- 6:35is everything that has to do with, hey, how are
- 6:40we going to prevent reliability problems from
- 6:44happening? What sort of guardrails do we put
- 6:47in place? What sort of framework? What sort of
- 6:51tooling do we allow platform or do we give to
- 6:55platform services and application developers
- 6:58to use? And also, what is the real validation
- 7:02that we are doing? There's a lot of papers available
- 7:07in the public and so on around like, you know,
- 7:10there's something that we call like the storm
- 7:12program. And it's basically our way to test like,
- 7:15you know, disaster recovery, where once in a
- 7:18while we take an entire region out, out of the
- 7:23like, you know, like if there was an earthquake
- 7:25or there was like a giant electrical grid failure.
- 7:29And we test what happens with the system. How
- 7:32do they recover? How do they handle the spike
- 7:35in traffic and so on? So it's both like for me,
- 7:37reliability is both like, you know, the reactive
- 7:39side and also the proactive side. Is that kind
- 7:43of like chaos engineering, the concepts? Yes,
- 7:46yes, yes, exactly. And, you know, we go as far
- 7:49as, you know, disconnecting a complete region from
- 7:52the map. Interesting. Okay, so speaking about
- 7:55reliability, what makes an SLO useful instead
- 7:59of just another dashboard number? Like, how do
- 8:02you think about that? Yes, an engineer, like
- 8:03a senior engineer that I work with always says
- 8:06that the SLO of something, of a system, is actually
- 8:11the promise that you're making to your customer.
- 8:15That, you know, XYZ should work 99.99% of the
- 8:19time and you should expect that amount of latency
- 8:23on average at, you know, P90 or something like
- 8:27this. So we use this, like, you know, most of
- 8:31the platform we operate at Meta and also the
- 8:34product services and so on. They will all, the
- 8:39big ones, will all have some form of SLO for
- 8:43the top APIs or the top services that they are
- 8:46doing. We have some alerts that will trigger
- 8:49on SLO, but usually this is too late. Like, you
- 8:52know, we want to catch problemss. The SLO allows
- 8:55us in the long run to actually figure out like,
- 8:59hey, are we investing enough in reliability?
- 9:03Are we keeping the bar high enough? Or do we
- 9:07have wiggle room to take some risk, introduce
- 9:12new features? Because you all know that when
- 9:15you introduce or you do a giant migration, there's
- 9:18a period of time where it takes time to stabilize
- 9:21things. So the SLOs are helping us make these
- 9:25decisions in the long run. And you can clearly
- 9:28see when you've been tracking them for a while
- 9:30that some systems are trending up and some systems
- 9:34are trending down. And for the ones that are
- 9:37trending down, it allows you, it gives you the
- 9:39argument and the data to start investing more.
- 9:43So this is kind of like, you know, our way about
- 9:46deciding if we have enough investment in an area
- 9:50or if, you know, we are okay and we can take
- 9:53more, you know, progressive risk. So you had,
- 9:57we talked a little bit about incidents before
- 10:00the show, and then you had just mentioned incidents.
- 10:02Across the incident lifecycle, Where do teams
- 10:05actually learn the most? So in terms of learning
- 10:08during incidentss, I think it happens in two phases.
- 10:11First, it happens while handling the incident
- 10:14during what I call like the pressure cooker.
- 10:17When you actually need to handle the incident,
- 10:20you actually need to make decisions quickly,
- 10:24build consensus fast with a small group of people
- 10:28about what's the next action to take. And then
- 10:31what are the bypass, the restart process, which
- 10:35system is calling what. This is actually a time
- 10:40where a lot of people, like junior engineers
- 10:43and senior, they learn a lot. They learn a lot
- 10:45about the system, but they also learn a lot about
- 10:47team dynamics and themselves during that period.
- 10:52Then the next phase happens when kind of like
- 10:56you build the... incident review report or we
- 11:00call it the SEV report, where you basically,
- 11:03you know, once the incident is handled, mitigated,
- 11:07you know, a few days after, you basically sit
- 11:09down and then we have like a tool to do this.
- 11:12And then people sit down and they write a report
- 11:15around like, you know, hey, what exactly happened?
- 11:18What was the root cause of this? What was the
- 11:21exact timeline, which is kind of like forcing
- 11:24people to go back into logs and all of this?
- 11:26Could the alerts have fired earlier? Did we have
- 11:29the right instrumentation? Did we diagnostic,
- 11:32like diagnose this thing, like, you know, the
- 11:35proper way? And, you know, what are the follow
- 11:37-up tasks, like to make sure that this doesn't
- 11:40happen again? or that we have some level of automation
- 11:43to be able to remediate this type of problem
- 11:46automatically. So you build that report. But
- 11:49then from there, you go into a series of reviews.
- 11:54You review it with your team, with your organization.
- 11:57And if the incident was severe enough, we actually
- 12:01reviewed them at the company level. And during
- 12:04that time, it's a big opportunity to get feedback
- 12:06from other teams. from other senior engineers
- 12:10that, yeah, we see this pattern. Here's, you
- 12:12know, how we handle this type of thing. And you
- 12:14actually learn a lot during that process. So
- 12:17this is usually like, you know, the learnings
- 12:19happen in kind of like two phases. Yeah. And
- 12:23so given that learning, what should an incident
- 12:26review actually produce? Like once the incident's
- 12:28over? The incident review, like we have a report
- 12:30type of thing. It's a template. It has like,
- 12:34you know, walks you to, for you to get like two.
- 12:37the root cause of it. But I think the most important
- 12:41thing that it produces is also like, you know,
- 12:43what are the follow-up actions? The follow-up
- 12:45could be like, hey, we need to implement more
- 12:48redundancy. We need to implement better diagnostics.
- 12:50We need to implement better ways of handling
- 12:53these exceptions or problems. We need a different
- 12:56deployment process. This is usually like, you
- 12:59know, the best outcome we could get because,
- 13:01you know, the more you mature your system, the
- 13:03more you'll be able to cover a lot of these,
- 13:06like, kind of like unknown slash unexpected situationss.
- 13:10So this is usually like the good outcome of these.
- 13:12And what do you find is the difference between
- 13:14finding the cause versus improving the system?
- 13:17The difference between the cause and improving
- 13:21the system. Or is there a difference? There is
- 13:27a bit. Because for me, finding the cause overall
- 13:31is, do I have the right tools to pinpoint the
- 13:37problem very quickly. And then I'll be able to
- 13:39find the cause. And then the improvements are more
- 13:43are more about eliminating this exact problem
- 13:47or that class of problem. And the improvement
- 13:50can be that like you know, like from a code structure
- 13:53that this will always happen, but you can work
- 13:57around with either deployment strategy, automation
- 14:01of recovery and things like this so that it's...
- 14:05It's not visible to the end users with strategies
- 14:08of retries and things like that. So there's a
- 14:11big difference between finding the cause. Like
- 14:13if you work in mobile apps, you know that there's
- 14:16going to be a couple of cases where like the
- 14:18cause is going to be like, you know, the mobile
- 14:19networks just drop on you. And the app needs over
- 14:23time to come up with ways to mask it. You'll
- 14:26never eliminate the cause, but you'll have apps
- 14:30that are a lot better at masking this type of
- 14:33problem. So it's slightly different. Okay, so
- 14:34let's switch gears to AI agents. Are you using
- 14:37AI in incident response at all? Yes. In triaging?
- 14:42We use it for what I would call like investigation.
- 14:48So, you know, there's usually like two classeses
- 14:51of production incidentss. You have one class when
- 14:54it happens. You kind of know what this is. Like,
- 14:57you know, it's a pattern that you already recognize.
- 15:00The alarms or alerts are very clear about what's
- 15:03happening. So you kind of know and you can narrow
- 15:05down and then you can just go focus on, hey,
- 15:08you know, how do I remediate that? There are
- 15:10some of the cases like where you kind of see
- 15:12like, oh, I'm starting to see transient errors.
- 15:15I'm starting to see latency creeped up and where
- 15:19it's kind of like, I'm kind of not sure. And
- 15:23then usually like, you know, we launch what's
- 15:25called like investigations and things like that.
- 15:29Really, the AI agents are helping us in investigation
- 15:33because they can analyze and gather large swath
- 15:37of data very, very quickly and then pinpoint
- 15:41relationships between datasets. Like, you know,
- 15:46it's probably the same for everybody, but we
- 15:47have multiple layers of software on top of each
- 15:50other. They call each other and they call back.
- 15:54Sometimes finding complex situation requires
- 15:56us to analyze a lot of data at the same time.
- 16:00Even myself personally, like, you know, we have
- 16:02like centralized, like, you know, monitoring
- 16:05system. And then if you aggregate a lot of data
- 16:09with very small granularity, like, you know,
- 16:13at the 10 second or like at the minute level,
- 16:15and you have a lot of time series, not the data
- 16:17point, it gets a pain to actually like get the
- 16:21right query and the right graph for the problem
- 16:25that you're investigating at a point in time
- 16:27like so the AI agent has kind of like shifted
- 16:29this thing where they help us find these things
- 16:33and even like you know in some cases like what
- 16:35i do is like i will dump all the metrics locally
- 16:38in the SQLite database and then like do all sorts
- 16:41of things because it's local and my SSD can do
- 16:44it a lot faster And then you use also the AI
- 16:48agents to help you craft the queries. I don't
- 16:51remember on top of my head all the various flavors
- 16:54of joins and all of that. So it's helping a
- 16:57lot. So with investigation, it helps a lot. It's helping
- 17:02a lot. It's not perfect. You still need to guide
- 17:06it very well because the topology of the system,
- 17:11the request... The request flow between the system
- 17:16is still not something that I will call it like
- 17:20the various AI agents are actually mastering.
- 17:23They master code very well. But these flows are
- 17:28a little bit more difficult and understanding
- 17:29how they map into the application or the product
- 17:33flows is even more complicated. But it does help.
- 17:36That's the investigation side of it. We're doing
- 17:40a lot also into what I call like having a standard
- 17:45dataset across the company that kind of like
- 17:48represents the state of reliability. Like we
- 17:51drive a couple of initiatives globally, like
- 17:54we call it like change safety. Do you have SLOs
- 17:58for something? Do you have guardrails? And with
- 18:02these datasets being kind of official, then it's
- 18:06easy for each service team or product team to
- 18:10build their own customized kind of dashboard
- 18:12like right now the cost of making dashboards is
- 18:15almost free and really tailoreded to their use cases
- 18:19or to their product using the standard dataset
- 18:22and that's another place where it's been like
- 18:23oh, this has been great. And how are you, I'm assuming
- 18:28you're still validating that that root cause
- 18:30though right if it comes up with a you know it
- 18:32uses MCP servers it's reaching out to Argo Kubernetes
- 18:35whatever it's gathering all the telemetry from
- 18:38Grafana and then it's putting that together and
- 18:41it's saying, hey, this pod was crash loop back
- 18:44off. This caused this issue. Are you still validating
- 18:48that? And what is that process for validating
- 18:50that? Like, is there a standard SOP that you're
- 18:52following? No, I don't think we have like a standard
- 18:55evaluation. The evaluation, like most of the
- 18:59time, the tools that you have in the moment from
- 19:02an incident is either you move away from the
- 19:05problem or you roll back the problem so we will
- 19:08try like you know first you know move away let's
- 19:11call it like a problem is a backend problem
- 19:14it's isolated to a region we'll move away from
- 19:17that region to kind of like prove that theory
- 19:19and then we'll probably during that time roll
- 19:23back the system or the backend or whatever
- 19:26it was that introduced that problem and then
- 19:29you can imagine that we can then now that the
- 19:32hypothesis is live then we can shift a portion
- 19:35of traffic back to that problem and see like
- 19:38oh is it still happening or not this is all manual
- 19:41we have some of these process that are automated
- 19:45but they really boxed into very very well known
- 19:48like you know they had like very well established
- 19:51runbook that have been like you know in place
- 19:55for the longest time that we know that when this
- 19:57happened do this like it's almost like if then
- 20:00else But the most like the investigation result,
- 20:04the validation is more to roll out the fix, you
- 20:09know, driven by human with like, you know, slow
- 20:11roll type of techniques. Do you think that AI
- 20:14is increasing the speed of change, the volume
- 20:17of change or the type of failure that teams need
- 20:20to expect? But it's clear that it's increasing
- 20:23the volume of change. We have data internally
- 20:27that, you know, the number of diffss is through
- 20:30the roof. The number of lines of code changed is,
- 20:34again, through the roof. The type of failure
- 20:37is like one thing that, because there's more
- 20:41code and it's going faster, it's the type of
- 20:45failure becomes more into the, what I would call
- 20:48like pseudo-unexpected. When a product developer,
- 20:52application developer, when they... roll out
- 20:55a new feature, they do understand the business
- 20:58logic. They do understand how it should show
- 21:01to the user, what they expect the user to do,
- 21:04where's a corner where a user could get stuck.
- 21:07They understand that. That's not a problem. But
- 21:10if you have to build on modern apps on mobile
- 21:15phones or on backend, A lot of these things are
- 21:19built on top of frameworks. There's a lot of boilerplate
- 21:21stuff, especially to handle like, you know, async
- 21:24callbacks and things like this. And since a lot
- 21:27of that code gets auto-generated, people are
- 21:30losing context around these things. And when
- 21:33something doesn't work, we realize that it takes
- 21:37us more time to understand why it doesn't work.
- 21:41Because there was not that additional context
- 21:44that... the developer or that team developing
- 21:47that feature took a lot of time to craft it and
- 21:49a lot of like internal reviews and things like
- 21:51that so so it goes faster out but that context
- 21:55on how it's built is actually lost along the
- 21:57way and this is basically what we need to reconstruct
- 22:01live and again like i said earlier a lot of our
- 22:05tooling is like you know in this case we're just
- 22:07like we'll roll back and you figure it out like
- 22:09bring back the system to a stable state and then
- 22:12you can figure it out on your own time without
- 22:15being on the pressure cooker. Okay, so speaking
- 22:17along the same lines, you had mentioned too that
- 22:21recovery comes down to practice. So what does
- 22:23good recovery practice actually look like? You
- 22:26know, there's a set of standard failuress you expect
- 22:29your app to have. And it starts at, you know,
- 22:34if you're running, if you have data centers or
- 22:37region in the United States or in Europe or something
- 22:41like that, you get... Tons of things like fiber
- 22:44cut in hurricanes and, you know, power grid and
- 22:48things like that. You need to understand how
- 22:51your system will react. Like, you know, a simple
- 22:54thing, like if I'm a startup and I run into a
- 22:57AWS region, but I actually never test the fact
- 23:01that one of them will go down, I can guarantee
- 23:04you, like, as soon as you get a little bit of
- 23:06complexity in your system, something will not
- 23:09work as expected in there. for us is actually
- 23:13to do, to validate it, to not just test, like
- 23:16we run, I would call it like data simulation
- 23:19and analysis in advance to figure out like, okay,
- 23:23if we lose that data center, we'll be okay. But
- 23:26it is always interesting. And then after we've
- 23:29done the validation and vetted that it all worked.
- 23:33We actually do the test and we discover a suite
- 23:35of other problems that the analysis had never
- 23:38found. So exercising the failure for real at
- 23:42the lower scale allows you to find a lot of these
- 23:46problems. And it's the same thing like, you know,
- 23:49if you have very sensitive hotspot in your application
- 23:53and your product, injecting failure for real
- 23:56at a very low percentage of user will... allow
- 23:59you okay do i have the right detection like did
- 24:01that trigger properly did it get to the right
- 24:04person did this team know how to handle it like
- 24:08without this it's it all becomes like improv
- 24:11like you improv all the time versus when you
- 24:14have a portion of your infrastructure that's
- 24:16always tested in such a way first you keep on
- 24:18hardening and it gets better and it gets better
- 24:20and the muscle of handling it gets better also
- 24:23so i guess that I was going to ask about like
- 24:26how, how would teams practice known failures
- 24:28versus unknown failures? But it sounds like it
- 24:31comes down to just that practicing and pulling
- 24:33out the regions. Okay. And there's, there's a
- 24:36bunch of types of failure. Like, you know, I,
- 24:37I made an allusion about worst-case failures
- 24:40versus worst-case failure, which is, um, you
- 24:45know, you lose a complete region. And with the
- 24:48weather patterns in the U.S., you know, we have
- 24:50hurricane season, we have like fire season, tornado,
- 24:54like the cuts happen everywhere. So you got to
- 24:57be ready. But there's also other things like,
- 25:01you know, for meta, we are often, I would call
- 25:05it like we got, we get these traffic spikes.
- 25:09It could be because there's something in the
- 25:12news related. It could be a big event like the
- 25:14Super Bowl, New Year's Eve. The World Cup's coming.
- 25:17So we know that every time there's going to be
- 25:18a goal, it's going to spike. What we realize
- 25:21over time with practice is that some system will
- 25:25be overloaded. And in some cases, you'll have
- 25:28to restart them. And during overload, the damn
- 25:32thing cannot restart. You cannot kill it. Like
- 25:35it's all completely dead. Like it's completely
- 25:38blocked. So we practice a lot of these cases
- 25:40too. And it's something specific. To us, we get
- 25:45these spikes that are kind of unexpected. Most
- 25:47systems have some form of overload protection
- 25:50up to a point, but it's something we really had
- 25:54to invest in, into like, in the worst load scenario,
- 25:59can I restart? Do I have, like, is my process
- 26:03smart enough to just accept requests later down
- 26:06the road? Or do I have enough control in the
- 26:10traffic routing to, like, okay, choke the traffic,
- 26:12bring back up, warm up your memory, and then,
- 26:15like, gradually. Like, we had to practice that
- 26:18a lot. Yeah, so you're dealing with, like, thrashing
- 26:20and having, like, no... Yeah. Yes, yes. Resources
- 26:24being completely exhausted. Yeah, yeah. Completely
- 26:26gone. And is that typically at the control plane
- 26:29Completely gone. And is that typically at the control plane
- 26:32level? Or... Some of our control plane is pretty good
- 26:34you know, there's some backend. Like you can
- 26:36imagine like, you know, an Instagram feedback
- 26:39an Instagram feed backend or Facebook feed backend
- 26:43same type of things. And we have a couple of
- 26:47academic paper. People can look at it. It's called
- 26:50like Taiji, I believe. And then when we discuss
- 26:53these things on how we can reroute traffic and
- 26:57then control and then remove it from an area
- 27:00to allow the system to reload. Okay. So with
- 27:04that in mind. I would imagine most listeners
- 27:07are not operating at Meta scale, so they're not
- 27:10dealing with every time there's a goal at the
- 27:12World Cup, you know, their servers go down. What
- 27:14ideas can actually transfer for most like SRE
- 27:17DevOps that are listening? I think the example
- 27:20I gave earlier, like you often see like no blame
- 27:24on Amazon, but if US East go down, like, you know,
- 27:29we see the world of the internet like go like
- 27:31berserk. So I'm like, guys, like, you know, you
- 27:34got to start testing these cases. Like you've
- 27:36seen it happen, like, you know, at least like,
- 27:39you know, three or four times in the last two
- 27:40years. You got to start like, you know, having
- 27:44your dual regions and really validating it. And
- 27:47maybe it's a question about like, you know, every
- 27:50Tuesday, I do not run a single thing in US East,
- 27:56you know, whatever the name is these days
- 27:58to make sure that it's, you know, it's performing.
- 28:02And then it's kind of like tackling the problems
- 28:05in a way like, you know, when you look at your
- 28:08incident inside a small, a smaller company, medium
- 28:12sized startup or so on, like I get a list of
- 28:15incidents. There's a point where you start having
- 28:18enough data that you could say, okay, most of
- 28:22them are caused by, it's because we launched
- 28:25that feature or because we're doing configuration
- 28:28change or because we have a billing problem.
- 28:31It's starting to. trend your your SEV data and
- 28:36figure out hey what are the top two or three
- 28:38then we can start attacking and really focusing
- 28:41because like you can focus on everything but
- 28:44you'll get nowhere it's really start bucketizing
- 28:47like you know in having the discipline of writing
- 28:51it down like it's not that hard to write like
- 28:53a SEV report there's a lot of example in there
- 28:56and having the discipline of going back and Now
- 28:59with LLMs, do the analysis is kind of like trivial.
- 29:03You need to, we used to need to allow a lot of
- 29:05people to do this and now it's a lot easier.
- 29:07So I think that's a big opportunity to actually
- 29:10really focus on where reliability matters. Yeah,
- 29:13that's fair. You had mentioned too that reliability
- 29:15expectations should match the system and product
- 29:18life cycle. Yes. Can you talk about that? Like,
- 29:21because 100 % uptime is not always like the right
- 29:25goal. Yes, yes, yes, yes. There is. there's like
- 29:29you know when i say about the expectation versus
- 29:32life cycle we should always expect like if something
- 29:36is is has some level of complexity and some level
- 29:40of feature at the beginning when you roll it
- 29:42out like you know getting two nines or even three
- 29:46nines of reliability it's pretty good like like like
- 29:50not a simple system that's that that that's usually
- 29:52like you can get it easy but like if it's early
- 29:55in the life cycle of that product or that backend
- 29:58at the beginning, it's going to be rocky and
- 30:01it should be expected. Like I see a lot of people
- 30:04start with the assumption that, Hey, everything
- 30:07should be like six nines, six nines guys. Like
- 30:10this is like insane. Like, and you invest a lot
- 30:14and then you, you kind of like mix, uh, miss
- 30:17your product market fit while you're doing that.
- 30:20Like there are some like Facebook and Instagram,
- 30:24there's a gazillion experiments that runs at
- 30:26a given point in time. some of them are not fully
- 30:28reliable like and it's okay because we're trying
- 30:31to figure out if that feature will be something
- 30:36that users enjoy and use or not but they are
- 30:40other part of the app which like needs to be
- 30:42like rock solid and this is the place where we
- 30:45invest so depending on the life cycle if you
- 30:48are early or not because there's a cost at investing
- 30:51and then when especially like either your SRE
- 30:55or production engineering and you have to also
- 30:58convince your PM, your product managers that
- 31:01this is the case, having that conversation from
- 31:04that standpointpoint is a lot more easier than just like
- 31:08being the one that says, no, I need six nines
- 31:10of reliability for everything. That's not happening.
- 31:13Yeah. Well, six nines too, that's like what,
- 31:1631 seconds a year of downtime? I mean, the amount
- 31:20of infrastructure and cost complexity to just
- 31:23keep a system at scale. Depending on the system,
- 31:27I mean, I assume if it's like a very important
- 31:29financial system, maybe it matters. But for the
- 31:31majority of systems, like do the users really
- 31:34care about 31 seconds of outage per year? I mean,
- 31:38are they going to? They do care. You know, we
- 31:42can see from our own data that, you know, if
- 31:47we have too much problems in a row, we can
- 31:49see that, you know, engagement eroding. So they
- 31:51do care. They do show. But it tends to stabilize
- 31:54when we stabilize things. So there's a correlation
- 31:58there. But sometimes the investment to reach
- 32:01that extra nine is just so high. And while you're
- 32:06doing that extra nine, you're also sacrificing
- 32:09not just the speed and velocity, but also your
- 32:12mitigation time for future unknowns. Because
- 32:16when you have invested so much complexity and
- 32:19then you get into an unknown situation and then
- 32:22now you have to untangle all of this, your mitigation
- 32:24time will be higher. So it's kind of like it's
- 32:27a delicate trade-off. Like it's not a win-win
- 32:30all along. Yeah, for sure. It's a reality there.
- 32:34A real conversation that you have to have and
- 32:36a balance that you have to have there. Okay,
- 32:38so wrapping up, this conversation also connects
- 32:41to At Scale systems and reliability. Why does
- 32:44that program feel relevant right now? Yeah. So
- 32:48we have this suite of conferences, like it's called
- 32:51At Scale. And we have like four conferences a year.
- 32:54And the next one that's coming is basically systems
- 32:57and reliability together. And what we want to
- 33:00target for this specific conference is, hey,
- 33:04how are we injecting? What are the systems that
- 33:09are like, you know, building reliability for
- 33:12AI? And what are the systems that are under the
- 33:15hood for AI? Because people tend to talk about,
- 33:17hey, we talk about the models, okay? But we never
- 33:20talk about like the underlying plumbing that
- 33:23is required to train and serve the model and
- 33:26the insane amount of data that we need to move
- 33:29back and forth. And then on the other angle,
- 33:32we also, we will discuss like... All the other
- 33:35areas where we actually use AI to enhance reliability.
- 33:39So it's both like, you know, both cases that
- 33:42we want to do. This conference is going to happen
- 33:45in person. It's going to be in Bellevue. And
- 33:48you can find the detail. The website is at scale
- 33:51conference. And we could put that at the show
- 33:55notes. Yes. So if someone works in infra SRE
- 33:59platform or engineering leadership. Why should
- 34:03this be on their radar? And what are you watching
- 34:07specifically with the conference? I'm just curious.
- 34:09Personally, I'm a big fan of this conference.
- 34:13I've been part of it for a while. And one thing
- 34:18that I tell the speakers that are coming from
- 34:21Meta, and we have speakers from NVIDIA, from
- 34:23Microsoft, from Google, the goal here, I want
- 34:26to have the real technical discussion. With Meta,
- 34:31I'm not in the business of selling cloud services.
- 34:34Like I'm not the business of selling API or things
- 34:37like this. So what I want to talk is like, you
- 34:40know, Microsoft, you have a Kubernetes cluster with
- 34:43one million servers. How the
- 34:46hell did you do that? Like, this is like, you
- 34:48know, the goal is really like, I want to really
- 34:50understand the story behind the system. I want
- 34:54to have like the real technical conversation.
- 34:56And I want to avoid the sales pitch of like,
- 34:59oh. use that service, use that thing. So this
- 35:03is really the focus of the conference is to really
- 35:05have that technical discussion and also the story
- 35:09behind the system. Like, I'm always fascinated.
- 35:15I've always been fascinated by, like, okay, a
- 35:18team starts something. Like, I've been involved
- 35:20in ZooKeeper and all sorts of other things in
- 35:24my days at Yahoo back then. You start something,
- 35:27it was to solve a problem. Then you open source
- 35:29and you're like, oh, that became this? Oh my
- 35:31God. So I'm really interested in this and then
- 35:34like the ups and downs of the team because you
- 35:37always have like, you know, the hype at the beginning
- 35:39and then, oh, the reality hits and you're like,
- 35:41oh my God, like this will not work as expected.
- 35:44And how do you overcome that? Like that, for
- 35:47me, that's the most interesting part of all of
- 35:50these stories and all of these presentations.
- 35:52So, okay, wrapping up, what... kind of reliability
- 35:55conversations does the industry need more of
- 35:58i think right now the industry does understand
- 36:02the the use of AI for code generation like i
- 36:07think we get that i think we can get that we
- 36:10can go all out i think we understand that everybody
- 36:13can build a custom app like for themselves and
- 36:16they will only use it for for them it's gonna
- 36:20be perfect for them and then it's okay if it
- 36:23goes down but i think the rest of the industry
- 36:27has not kept up with that rate of change and
- 36:32there's not enough investment in kind of like
- 36:36defense like we're able to generate code are
- 36:39we able to debug it faster are we able to understand
- 36:41it faster are we able to troubleshoot it faster
- 36:45like like that has not kind of followed. And
- 36:49then I feel that we are catching up now. And
- 36:53then the hype seems to be like mostly on, on
- 36:57the model. And then there's amazing infrastructure
- 37:01that had to be built underneathneath. And I think
- 37:04you know, everybody needs to understand it a
- 37:06little bit more. Yeah, for sure. Awesome. So
- 37:09I will put links for At Scale Systems and Reliability
- 37:12reliability in the show notes. I can put your
- 37:15LinkedIn there as well. Is there any other links
- 37:17or comments that you'd like to give to the audience
- 37:19before we wrap up? No, I think that's it. Don't
- 37:22give up. Awesome. Thank you so much, Francois,
- 37:24for coming on. Really appreciate your time. Thank
- 37:26you so much. Thank you. Bye-bye. All right.
- 37:28That was my conversation with Francois Richard
- 37:31from Meta. My biggest takeaway from this one
- 37:34is that reliability is not just about preventing
- 37:37failure. The better question is, what happens
- 37:40when prevention fails? Because sometimes the
- 37:43answer is a rollback. Sometimes it is moving
- 37:45traffic. Sometimes it is draining a region. Sometimes
- 37:49it is restarting a service. Sometimes it is realizing
- 37:53that the service cannot restart cleanly because
- 37:56it is already overloaded, which is the kind of
- 37:59fun little production detail that does not usually
- 38:01show up in architecture diagrams. That is the
- 38:05part that I think is worth paying attention to.
- 38:07a lot of teams talk about reliability like it
- 38:10is mostly a tooling problem. Get the right dashboards.
- 38:13Get the right alerting. Define the SLOs. Add
- 38:16some runbooks. Maybe sprinkle in some AI and
- 38:19pretend the incident lifecycle is solved. But
- 38:22reliability is not just the tools. It is the
- 38:25practice around the tools. It is whether the
- 38:28SLO actually represents a promise to users. It
- 38:32is whether the alert fires early enough to matter.
- 38:35It is whether the incident review produces real
- 38:37follow-up work instead of just a nicer explanation
- 38:40of what broke. It is whether the team has practiced
- 38:44the failure mode before production forces them
- 38:47to learn it live. And honestly, that is the part
- 38:49of the conversation that translates really well.
- 38:52Even if you are nowhere near Meta scale. Most
- 38:55of us are not dealing with World Cup traffic
- 38:57spikes or massive global systems, but a lot of
- 39:01us are depending on a cloud region more than
- 39:04we want to admit. A lot of us say we are multi
- 39:06-region, but have not actually run without the
- 39:09primary region on a boring Tuesday. A lot of
- 39:13us have runbooks that look reasonable until someone
- 39:15has to follow them under pressure. A lot of us
- 39:18have services that should recover automatically,
- 39:21but only if the failure happens in the exact
- 39:23way we imagined. That is where the work is. Practice
- 39:27the recovery. Test the boring assumptions. Look
- 39:30at your incident data. Bucket the causes. Figure
- 39:33out what keeps showing up. Then go after the
- 39:36top patterns instead of trying to boil the ocean.
- 39:39I also liked Francois' point about AI changing
- 39:42the reliability equation. AI can absolutely help
- 39:46with investigation. It can look across a lot
- 39:49of data quickly. It can help build queries, connect
- 39:51patterns, and speed up the part where humans
- 39:54are trying to figure out what changed and what
- 39:57is related. But AI is also increasing the volume
- 40:00of change. More diffs, more generated code, more
- 40:03boilerplate, more systems moving faster, and
- 40:07sometimes less human context behind the code
- 40:10that just went out. That is a weird trade-off.
- 40:13Because if code moves faster than understanding,
- 40:16Reliability teams are going to feel that gap
- 40:19during incidentsss. The system breaks, and now
- 40:22someone has to reconstruct not just what changed,
- 40:26but why it changed, what the generated code is
- 40:28actually doing, what assumptions it made, and
- 40:32how to get back to a stable state. That does
- 40:34not mean AI is bad. It means the defensive side
- 40:37has to catch up. Debugging has to get better.
- 40:41Observability has to get better. Incident response
- 40:43has to get better. recovery practice has to get
- 40:47better. And humans still need to be in the loop
- 40:49for judgment, especially when the system is too
- 40:52important to let a guess turn into the next mitigation.
- 40:56I also think the lifecycle point matters. Not
- 40:59every system needs the same reliability target.
- 41:02A brand new experiment probably should not get
- 41:05the same investment as a core production path
- 41:08that millions or billions of people depend on.
- 41:12Six nines sounds impressive until you realize
- 41:15what it costs, what complexity it adds, and how
- 41:18much slower it can make future changes. But the
- 41:22reverse is true too. If a system becomes important
- 41:24and the reliability investment never catches
- 41:27up, you are just borrowing risk until production
- 41:31collects. So maybe the healthier conversation
- 41:33is not how do we make everything maximally reliable.
- 41:37It is more like what promise are we making? Who
- 41:40depends on this system? What happens when it
- 41:43fails? And have we practiced the recovery enough
- 41:46to believe our own answer? That is probably where
- 41:49a lot of reliability conversations are heading.
- 41:52Not AI will fix incidents. Not SLOs solve reliability.
- 41:57Not just make everything multi-region and call
- 42:00it done. More like, what failures should we expect?
- 42:04What failures have we practiced? And what are
- 42:07we learning every time production teaches us
- 42:09something? I'll have links to Francois, Meta's
- 42:12At Scale systems and reliability event, and
- 42:15anything else we mentioned in the show notes.
- 42:17If you enjoyed this conversation, follow or subscribe
- 42:20to Ship It Weekly wherever you listen to podcasts.
- 42:23It helps the show and it makes sure you get both
- 42:26these conversation episodes and the weekly DevOps,
- 42:29SRE, platform, cloud, and security news recaps.
- 42:33You can also find the show notes and links over
- 42:36at shipitweekly.fm. Thanks for listening, and
- 42:39I'll see you later this week.