TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How Facebook's Safety Check Works

104 pointsby xasosover 9 years ago

10 comments

xxbondsxxover 9 years ago
Hey everyone! FB engineer here who wrote the original code for this and gave the talk during @Scale 2015. There&#x27;s a recording of our talk here: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;ptsCWGZW_P8?t=333" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;ptsCWGZW_P8?t=333</a><p>That&#x27;s a bit more visual and easier to understand. At the end of the day its really just DFS with seen state and selective exploration :)
评论 #10583198 未加载
评论 #10584276 未加载
haraldurtover 9 years ago
&gt;The average distance between any two of Facebook’s 1.5 billion users is 4.74 edges. Sorry Kevin. With 1.5 billion users the whole graph can be explored within 5 hops.<p>Nitpicking here, but that does not follow. Starting from a random user and hopping 5 times in all directions you&#x27;d expect to explore about half of the graph.
评论 #10583576 未加载
评论 #10584136 未加载
Amorymeltzerover 9 years ago
A longer, more involved article from late September has a bit more information: <a href="http:&#x2F;&#x2F;highscalability.com&#x2F;blog&#x2F;2015&#x2F;9&#x2F;28&#x2F;how-facebook-tells-your-friends-youre-safe-in-a-disaster-in.html" rel="nofollow">http:&#x2F;&#x2F;highscalability.com&#x2F;blog&#x2F;2015&#x2F;9&#x2F;28&#x2F;how-facebook-tells...</a><p>&gt;If a friend is in the same area then a push notification is sent asking if they are OK.<p>One thing that I&#x27;d like to understand is how &quot;area&quot; is defined. The limiting factor is, of course, finding out something has happened, but someone at Facebook has to draw a border that encompasses everyone at risk but minimizes those out of harm&#x27;s way. An earthquake is almost easier - there&#x27;s (relatively) rapid data on the epicenter and size - but in an event and place like Paris, there have got to be some hard calls made in real time. Who are the people and teams involved there, and how do they make those decisions? I&#x27;d love to see that.
评论 #10582938 未加载
ceph_over 9 years ago
&gt; The average distance between any two of Facebook’s 1.5 billion users is 4.74 edges<p>Pretty crazy to think about.
konstruktorover 9 years ago
&gt; If you are in an area impacted by a disaster Facebook will send you a push notification asking if you are OK.<p>I guess that&#x27;s great during an earthquake but can be terrible when you&#x27;re hiding during a terrorist act.
评论 #10583068 未加载
评论 #10583394 未加载
vjeuxover 9 years ago
Here&#x27;s the video from @scale that explains it if you are interested: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=ptsCWGZW_P8" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=ptsCWGZW_P8</a>
flashmanover 9 years ago
I wonder what Facebook will say when the governments of the world realise they can use this capability to contact their own citizens - especially if Facebook&#x27;s continued operation in that country is contingent on its cooperation.<p>&#x27;Safety Check&#x27; is just the end user experience; the underlying mechanism is a way to propagate messages invasively across a geo-social network. Like any technology, &#x27;good&#x27; or &#x27;nasty&#x27; depends on how it&#x27;s used.
评论 #10584931 未加载
cftover 9 years ago
Incidentally that article implies that Facebook contstantly tracks your geo location even when you do not expressly check in.
评论 #10583055 未加载
评论 #10583053 未加载
ldesegurover 9 years ago
url seems to be down. Any url for the cached content?
bekimdishaover 9 years ago
WhatsApp now uses Facebook Messenger&#x27;s protocol ... FYI
评论 #10597478 未加载