日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Facebook's New Real-time Messaging System: HBase to Store 135+ Billion Messages a Month

發(fā)布時間:2024/9/20 编程问答 33 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Facebook's New Real-time Messaging System: HBase to Store 135+ Billion Messages a Month 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

2019獨角獸企業(yè)重金招聘Python工程師標(biāo)準>>>

You may have read somewhere that Facebook has introduced a new Social Inbox?integrating email, IM, SMS, ?text messages, on-site Facebook messages.?All-in-all they need to store over 135 billion messages a month. Where do they store all that stuff??Facebook's Kannan Muthukkaruppan gives the?surprise?answer in The Underlying Technology of Messages: HBase. HBase beat out MySQL, Cassandra, and a few others.

Why a surprise? Facebook created Cassandra and it was purpose built for an inbox type application, but they found Cassandra's eventual consistency model wasn't a good match for their new real-time Messages product. Facebook also has an extensive MySQL infrastructure, but they found performance suffered as data set and indexes grew larger. And they could have built their own, but they chose HBase.

HBase is a scaleout table store supporting very high rates of row-level updates over massive amounts of data.?Exactly what is needed for a Messaging system. HBase is also a column based key-value store built on the BigTable model. It's good at fetching rows by key or scanning ranges of rows and filtering. Also what is needed for a Messaging system. Complex queries are not supported however. Queries are generally given over to an analytics tool like Hive, which Facebook created to make sense of their multi-petabyte data warehouse, and Hive is based on Hadoop's file system, HDFS, which is also used by HBase.

Facebook chose HBase because they monitored their usage and figured out what the really needed. What they needed was a system that could handle two types of data patterns:

  • A short set of temporal data that tends to be volatile
  • An ever-growing set of data that rarely gets accessed
  • Makes sense. You read what's current in your inbox once and then rarely if ever take a look at it again. These are so different one might expect two different systems to be used, but apparently HBase works well enough for both. How they handle generic search functionality isn't clear as that's not a strength of HBase, though it does integrate with various search systems.

    Some key aspects of their system:

    • HBase:
      • Has a simpler consistency model than Cassandra.
      • Very good scalability and performance for their data patterns.
      • Most feature rich for their requirements: auto load balancing and failover, compression support, multiple shards per server, etc.
      • HDFS, the filesystem used by HBase, supports replication, end-to-end checksums, and automatic rebalancing.
      • Facebook's operational teams have a lot of experience using HDFS because Facebook is a big user of Hadoop and Hadoop uses HDFS as its distributed file system.
    • Haystack is used to store attachments.
    • A custom application server was written from scratch in order to service the massive inflows of messages from many different sources.
    • A user discovery service was written on top of?ZooKeeper.
    • Infrastructure services are accessed for: email account verification, friend relationships, privacy decisions, and delivery decisions (should a message be sent over chat or SMS?).?
    • Keeping with their small teams doing amazing things approach,?20 new infrastructures services are being released by 15 engineers in one year.?
    • Facebook is not going to standardize on a single database platform, they will use separate platforms for separate tasks.?

    I wouldn't sleep on the idea that Facebook already having a lot of experience with HDFS/Hadoop/Hive?as being a big adoption driver for HBase. ?It's the dream of any product to partner with another very popular product in the hope of being pulled in as part of the ecosystem. That's what HBase has?achieved. Given how HBase covers a nice spot in the persistence spectrum--real-time, distributed, linearly scalable, robust, BigData, open-source, key-value, column-oriented--we should see it become even more popular, especially with its?anointment?by Facebook.

    Related Articles

    • Integrating Hive and HBase?by Carl Steinbach
    • 1 Billion Reasons Why Adobe Chose HBase?
    • HBase Architecture 101 - Write-ahead-Log?by Lars George
    • HBase Architecture 101 - Storage?y Lars George
    • BigTable Model with Cassandra and HBase by Ricky Ho
    • New Facebook Chat Feature Scales To 70 Million Users Using Erlang

    轉(zhuǎn)載于:https://my.oschina.net/victorli/blog/10940

    總結(jié)

    以上是生活随笔為你收集整理的Facebook's New Real-time Messaging System: HBase to Store 135+ Billion Messages a Month的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。

    主站蜘蛛池模板: 日韩高清影视在线观看 | 人人妻人人澡人人爽久久av | 清纯唯美亚洲 | 欧美无专区 | 黄色午夜 | 国产手机精品视频 | 免费观看在线播放 | 国产图区| 日本福利网站 | 国产xxxxx | 91久久久久久久久久 | 精品久久999| 69激情网| 国产精品88av | 性色视频网站 | 国产精品久久国产愉拍 | 九一亚洲精品 | 国产做受麻豆动漫 | 欧美成人黑人猛交 | 国产麻豆精品一区 | 男人添女人荫蒂国产 | 最新av网址在线观看 | 18视频在线观看男男 | 成人欧美激情 | 久久国产资源 | 欧美精品免费一区二区三区 | 欧美大片在线观看 | 中文字幕人妻熟女在线 | √天堂资源地址在线官网 | 日韩高清国产一区在线 | 99国产精品久久 | 久久艳片www.17c.com | 国产精品视频一区二区三区 | 激情午夜av| 久久青草视频 | 欧美a在线播放 | 免费看又黄又无码的网站 | 黄色大片日本 | 影音先锋91 | 国产精品一区二区毛片 | 在线观看视频一区二区三区 | 国产第一页在线观看 | 精品人妻少妇一区二区三区 | 日本一区二区视频 | 91精品国产99久久久久久 | 澳门黄色录像 | 欧美乱大交xxxxx潮喷 | 香蕉av一区 | 日韩电影在线观看中文字幕 | 亚洲国产无码精品 | 国产理论av | 成人欧美一区二区三区黑人免费 | 柠檬av导航| 亚洲一区二区三区 | 成人免费毛片嘿嘿连载视频 | 日韩一级片免费观看 | 欧美一区二区三区视频 | 欧洲成人一区二区三区 | 久久亚洲精品无码va白人极品 | 黄a在线 | 狠狠爱婷婷 | 在线日韩视频 | 人妻在客厅被c的呻吟 | 国产免费又黄又爽又色毛 | 免费观看一区二区三区毛片 | 国内精品视频在线播放 | 免费看成年人视频 | 亚洲国产精一区二区三区性色 | 8x8x国产精品一区二区 | 激情婷婷六月天 | av夜夜操 | 欧美视频一区二区三区在线观看 | 日韩欧美一区二区三区四区五区 | 毛片内射 | av首页在线观看 | 天天人人综合 | 亚州av成人| 可以看的黄色网 | 99re在线观看 | 欧美资源在线观看 | 国产视频999 | 偷拍一区二区三区四区 | 777片理伦片在线观看 | 日韩成人欧美 | 禁断介护av一区二区 | 夜夜操操操 | 香蕉久久精品 | 国产亚洲精品久久久久四川人 | 国产xxxxxx| 人妻无码中文久久久久专区 | 色播在线观看 | 久久小视频 | 日韩在线观看一区 | 欧美精品动漫 | 久久精品无码人妻 | 日韩黄色大全 | 97福利网 | 少妇激情偷人爽爽91嫩草 | 香蕉久久久久久 |