7.HBase In Action 第一章-HBase简介(1.2.1 典型的网络搜索问题:Bigtable的起原)
Search is the act of locating information you care about: for example, searching for pages in a textbook that contain the topic you want to read about, or for web pages that have the information you’re looking for. Searching for documents containing particular terms requires looking up indexes that map terms to the documents that contain them. To enable search, you have to build these indexes. This is precisely what Google and other search engines do. Their document corpus is the entire internet; the search terms are whatever you type in the search box.
搜索是我们所关注的查找信息的行为:例如,在教科书中搜索包含您想阅读的主题的书页,或搜索含有你想寻找的信息的网页。搜索包含特定词的文件,是需要查询文档索引的,这些索引映射了词与文档的关系。要启用搜索,你必须先建立这些索引。谷歌和其他搜索引擎就正是这么做的。他们的文档语料库是整个互联网级的,搜索条件是你在搜索框中键入的任何内容。
Bigtable, and by extension HBase, provides storage for this corpus of documents. Bigtable supports row-level access so crawlers can insert and update documents individually. The search index can be generated efficiently via MapReduce directly against Bigtable. Individual document results can be retrieved directly. Support for all these access patterns was key in influencing the design of Bigtable. Figure 1.1 illustrates the critical role of Bigtable in the web-search application.
Bigtable和HBase为语料库中的文档提供了存储。 Bigtable支持行级的访问,以便抓取工具可以插入或更新单独的文档。搜索索引可以通过Bigtable提供的MapReduce而产生。特定的文档结果可以直接被检索出来。支持所有这些访问模式是决定Bigtable设计的关键。图1.1显示了Bigtable在网络搜索应用程序中的关键作用。
NOTE:In the interest of brevity, this look at Bigtable doesn’t do the original authors justice. We highly recommend the three papers on Google File System, MapReduce, and Bigtable as required reading for anyone curious about these technologies. You won’t be disappointed
注:为简便起见,这个看的Bigtable不做原作者正义。我们强烈建议任何好奇这些技术的人都阅读一下“谷歌文件系统”,“MapReduce”,和“Bigtable”这三篇论文。看过后,你一定不会感到失望的。
Figure 1.1 Providing web-search results using Bigtable, simplified. The crawlers—applications collecting web pages—store their data in Bigtable. A MapReduce process scans the table to produce the search index. Search results are queried from Bigtable to display to the user.
1.Crawlers constantly scour the internet for new pages. Those pages are stored as individual records in Bigtable.
2.A MapReduce job runs over the entire table, generating search indexes for the web search application
3.The user initiates a web search request.
4.The web search application queries the search indexes and retries matching documents directly from Bigtable.
5.Search results are presented to the user.
图1.1 简单地了介绍了下基于Bigtable的网页搜索处理流程。爬虫是收集的网页的应用程序,把数据存储在Bigtable中。MapReduce进程扫描表来建立搜索索引。搜寻结果是从Bigtable中查询出来的,并显示给用户。
1. 爬虫们不断抓取互联网新的页面。这些网页都存储在Bigtable的文档记录。
2. MapReduce的作业运行在整个表上,为页面搜索应用程序生成搜索索引。
3. 用户发起网络页面搜索请求。
4. 网络页面搜索应用程序查询搜索索引,然后直接从Bigtable中找出匹配的文档。
5. 查询的结果返回并呈现给用户。
With the canonical HBase example covered, let’s look at other places where HBase has found purchase. The adoption of HBase has grown rapidly over the last couple of years. This has been fueled by the system becoming more reliable and performant, due in large part to the engineering effort invested by the various companies backing and using it. As more commercial vendors provide support, users are increasingly confident in using the system for critical applications. A technology designed to store a continuously updated copy of the internet turns out to be pretty good at other things internet-related. HBase has found a home filling a variety of roles in and around social-networking companies. From storing communications between individuals to communication analytics, HBase has become a critical infrastructure at Facebook, Twitter, and StumbleUpon, to name a few.
了解了典型的HBase应用案例后,让我们来看看其他有HBase市场的地方。在过去几年里,基于HBase的应用发展迅速。这带动了HBase系统变得更可靠,更高性能,这一变化在很大程度上是由于一些公司支持并使用它,为它投入了工程设计与开发的精力。随着越来越多的商业供应商对HBase提供支持,用户越来越有信心在关键应用系统里使用HBase。这一原来设计用来存储互联网不断更新的数据的技术,变得也适用其他的东西还不错互联网相关。 HBase的已经找到了家和周围的社交网络公司灌装各种角色。从存储个人通讯分析之间的通信,HBase的已成为在Facebook,Twitter的,和StumbleUpon一个重要的基础设施,仅举几例。
HBase has been used in three major types of use cases but it’s not limited to those. In the interest of keeping this chapter short and sweet, we’ll cover the major use cases here.
HBase的已被用于在用例3主要类型,但它并不局限于这些。为了保持这一章简短而亲切的利益,我们将在这里涵盖了主要的用例。
7.HBase In Action 第一章-HBase简介(1.2.1 典型的网络搜索问题:Bigtable的起原)的更多相关文章
- 1.HBase In Action 第一章-HBase简介(后续翻译中)
This chapter covers ■ The origins of Hadoop, HBase, and NoSQL ■ Common use cases for HBase ■ A basic ...
- 8.HBase In Action 第一章-HBase简介(1.2.2 捕获增量数据)
Data often trickles in and is added to an existing data store for further usage, such as analytics, ...
- 6.HBase In Action 第一章-HBase简介(1.2 HBase的使用场景和成功案例)
Sometimes the best way to understand a software product is to look at how it's used. The kinds of pr ...
- 5.HBase In Action 第一章-HBase简介(1.1.3 HBase的兴起)
Pretend that you're working on an open source project for searching the web by crawling websites and ...
- 4.HBase In Action 第一章-HBase简介(1.1.2 数据创新)
As we now know, many prominent internet companies, most notably Google, Amazon, Yahoo!, and Facebook ...
- 3.HBase In Action 第一章-HBase简介(1.1.1 大数据你好呀)
Let's take a closer look at the term Big Data. To be honest, it's become something of a loaded term, ...
- 2.HBase In Action 第一章-HBase简介(1.1数据管理系统:快速学习)
Relational database systems have been around for a few decades and have been hugely successful in so ...
- 第一章 C++简介
第一章 C++简介 1.1 C++特点 C++融合了3种不同的编程方式:C语言代表的过程性语言,C++在C语言基础上添加的类代表的面向对象语言,C++模板支持的泛型编程. 1.2 C语言及其编程 ...
- python 教程 第一章、 简介
第一章. 简介 官方介绍: Python是一种简单易学,功能强大的编程语言,它有高效率的高层数据结构,简单而有效地实现面向对象编程.Python简洁的语法和对动态输入的支持,再加上解释性语言的本质,使 ...
随机推荐
- 2013MPD上海6.23 PM 光耀:读心术,用户心理的产品之道
创新的前提是:制度与组织的创新!!!!!!!!!!!!!! 光耀:腾讯互联网业务产品经理(腾讯公司互联网业务系统产品经理.在电子商务.社会化媒体等方面有深入研究.参与腾讯多个重要项目产品工作) 什么是 ...
- Java异常信息处理
import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Date; import org.jun ...
- 使用dbms_logmnr查看日志文件
大多为了寻找被意外修改的数据或者那条sql修改了哪些数据 如果是在线重做日志的话需要该日志是inactive模式下的 查询v$log和v$logfile获取相关信息 执行exec dbms_logmn ...
- cocos2d-x之使用plist文件初试
bool HelloWorld::init() { if ( !Layer::init() ) { return false; } FileUtils *fu=FileUtils::getInstan ...
- VirtualBox: Effective UID is not root (euid=1000 egid=100 uid=1000 gid=100)
桌面上运行virtualbox出错: The virtual machine 'xp' has terminated unexpectedly during startup with exit cod ...
- git 换行符LF与CRLF转换问题
git 换行符LF与CRLF转换问题 一.背景 在各操作系统下,文本文件所使用的换行符是不一样的.UNIX/Linux 使用的是 0x0A(LF),早期的 Mac OS 使用的是0x0D(CR),后来 ...
- USACO section1.2 Miking cows
/* ID: vincent63 LANG: C TASK: milk2 */ #include <stdio.h> #include<stdlib.h> #include&l ...
- java四舍五入的取舍
一.保留2位小数,且四舍五入 String re = new java.text.DecimalFormat("#.##").format(3.14555); 结果:3.15 二. ...
- 使用selenium实现右键另存为保存文件
1.需要借住autoit工具和Robot类,下载地址:https://www.autoitscript.com/site/autoit/downloads/ 2.autoit的使用不再详细讲解.如下图 ...
- 页面分享代码share
在开发一个页面的时候常常会有这么一个小功能,就是分享该页面中的信息. 常见的分享代码有百度分享,JiaThis分享插件,bshare分享插件等,我主要分享一下自定义分享代码,如下: function ...