zookeeperOver.html 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <head>
  4. <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <meta content="Apache Forrest" name="Generator">
  6. <meta name="Forrest-version" content="0.8">
  7. <meta name="Forrest-skin-name" content="pelt">
  8. <title>ZooKeeper</title>
  9. <link type="text/css" href="skin/basic.css" rel="stylesheet">
  10. <link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
  11. <link media="print" type="text/css" href="skin/print.css" rel="stylesheet">
  12. <link type="text/css" href="skin/profile.css" rel="stylesheet">
  13. <script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script>
  14. <link rel="shortcut icon" href="images/favicon.ico">
  15. </head>
  16. <body onload="init()">
  17. <script type="text/javascript">ndeSetTextSize();</script>
  18. <div id="top">
  19. <!--+
  20. |breadtrail
  21. +-->
  22. <div class="breadtrail">
  23. <a href="http://www.apache.org/">Apache</a> &gt; <a href="http://hadoop.apache.org/">Hadoop</a> &gt; <a href="http://hadoop.apache.org/zookeeper/">ZooKeeper</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
  24. </div>
  25. <!--+
  26. |header
  27. +-->
  28. <div class="header">
  29. <!--+
  30. |start group logo
  31. +-->
  32. <div class="grouplogo">
  33. <a href="http://hadoop.apache.org/"><img class="logoImage" alt="Hadoop" src="images/hadoop-logo.jpg" title="Apache Hadoop"></a>
  34. </div>
  35. <!--+
  36. |end group logo
  37. +-->
  38. <!--+
  39. |start Project Logo
  40. +-->
  41. <div class="projectlogo">
  42. <a href="http://hadoop.apache.org/zookeeper/"><img class="logoImage" alt="ZooKeeper" src="images/zookeeper_small.gif" title="ZooKeeper: distributed coordination"></a>
  43. </div>
  44. <!--+
  45. |end Project Logo
  46. +-->
  47. <!--+
  48. |start Search
  49. +-->
  50. <div class="searchbox">
  51. <form action="http://www.google.com/search" method="get" class="roundtopsmall">
  52. <input value="hadoop.apache.org" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google">&nbsp;
  53. <input name="Search" value="Search" type="submit">
  54. </form>
  55. </div>
  56. <!--+
  57. |end search
  58. +-->
  59. <!--+
  60. |start Tabs
  61. +-->
  62. <ul id="tabs">
  63. <li>
  64. <a class="unselected" href="http://hadoop.apache.org/zookeeper/">Project</a>
  65. </li>
  66. <li>
  67. <a class="unselected" href="http://wiki.apache.org/hadoop/ZooKeeper">Wiki</a>
  68. </li>
  69. <li class="current">
  70. <a class="selected" href="index.html">ZooKeeper 3.2 Documentation</a>
  71. </li>
  72. </ul>
  73. <!--+
  74. |end Tabs
  75. +-->
  76. </div>
  77. </div>
  78. <div id="main">
  79. <div id="publishedStrip">
  80. <!--+
  81. |start Subtabs
  82. +-->
  83. <div id="level2tabs"></div>
  84. <!--+
  85. |end Endtabs
  86. +-->
  87. <script type="text/javascript"><!--
  88. document.write("Last Published: " + document.lastModified);
  89. // --></script>
  90. </div>
  91. <!--+
  92. |breadtrail
  93. +-->
  94. <div class="breadtrail">
  95. &nbsp;
  96. </div>
  97. <!--+
  98. |start Menu, mainarea
  99. +-->
  100. <!--+
  101. |start Menu
  102. +-->
  103. <div id="menu">
  104. <div onclick="SwitchMenu('menu_selected_1.1', 'skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">Overview</div>
  105. <div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;">
  106. <div class="menuitem">
  107. <a href="index.html">Welcome</a>
  108. </div>
  109. <div class="menupage">
  110. <div class="menupagetitle">Overview</div>
  111. </div>
  112. <div class="menuitem">
  113. <a href="zookeeperStarted.html">Getting Started</a>
  114. </div>
  115. <div class="menuitem">
  116. <a href="releasenotes.html">Release Notes</a>
  117. </div>
  118. </div>
  119. <div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Developer</div>
  120. <div id="menu_1.2" class="menuitemgroup">
  121. <div class="menuitem">
  122. <a href="api/index.html">API Docs</a>
  123. </div>
  124. <div class="menuitem">
  125. <a href="zookeeperProgrammers.html">Programmer's Guide</a>
  126. </div>
  127. <div class="menuitem">
  128. <a href="javaExample.html">Java Example</a>
  129. </div>
  130. <div class="menuitem">
  131. <a href="zookeeperTutorial.html">Barrier and Queue Tutorial</a>
  132. </div>
  133. <div class="menuitem">
  134. <a href="recipes.html">Recipes</a>
  135. </div>
  136. </div>
  137. <div onclick="SwitchMenu('menu_1.3', 'skin/')" id="menu_1.3Title" class="menutitle">Admin &amp; Ops</div>
  138. <div id="menu_1.3" class="menuitemgroup">
  139. <div class="menuitem">
  140. <a href="zookeeperAdmin.html">Administrator's Guide</a>
  141. </div>
  142. <div class="menuitem">
  143. <a href="zookeeperQuotas.html">Quota Guide</a>
  144. </div>
  145. <div class="menuitem">
  146. <a href="zookeeperJMX.html">JMX</a>
  147. </div>
  148. </div>
  149. <div onclick="SwitchMenu('menu_1.4', 'skin/')" id="menu_1.4Title" class="menutitle">Contributor</div>
  150. <div id="menu_1.4" class="menuitemgroup">
  151. <div class="menuitem">
  152. <a href="zookeeperInternals.html">ZooKeeper Internals</a>
  153. </div>
  154. </div>
  155. <div onclick="SwitchMenu('menu_1.5', 'skin/')" id="menu_1.5Title" class="menutitle">Miscellaneous</div>
  156. <div id="menu_1.5" class="menuitemgroup">
  157. <div class="menuitem">
  158. <a href="http://wiki.apache.org/hadoop/ZooKeeper">Wiki</a>
  159. </div>
  160. <div class="menuitem">
  161. <a href="http://wiki.apache.org/hadoop/ZooKeeper/FAQ">FAQ</a>
  162. </div>
  163. <div class="menuitem">
  164. <a href="http://hadoop.apache.org/zookeeper/mailing_lists.html">Mailing Lists</a>
  165. </div>
  166. </div>
  167. <div id="credit"></div>
  168. <div id="roundbottom">
  169. <img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
  170. <!--+
  171. |alternative credits
  172. +-->
  173. <div id="credit2"></div>
  174. </div>
  175. <!--+
  176. |end Menu
  177. +-->
  178. <!--+
  179. |start content
  180. +-->
  181. <div id="content">
  182. <div title="Portable Document Format" class="pdflink">
  183. <a class="dida" href="zookeeperOver.pdf"><img alt="PDF -icon" src="skin/images/pdfdoc.gif" class="skin"><br>
  184. PDF</a>
  185. </div>
  186. <h1>ZooKeeper</h1>
  187. <div id="minitoc-area">
  188. <ul class="minitoc">
  189. <li>
  190. <a href="#ch_DesignOverview">ZooKeeper: A Distributed Coordination Service for Distributed
  191. Applications</a>
  192. <ul class="minitoc">
  193. <li>
  194. <a href="#sc_designGoals">Design Goals</a>
  195. </li>
  196. <li>
  197. <a href="#sc_dataModelNameSpace">Data model and the hierarchical namespace</a>
  198. </li>
  199. <li>
  200. <a href="#Nodes+and+ephemeral+nodes">Nodes and ephemeral nodes</a>
  201. </li>
  202. <li>
  203. <a href="#Conditional+updates+and+watches">Conditional updates and watches</a>
  204. </li>
  205. <li>
  206. <a href="#Guarantees">Guarantees</a>
  207. </li>
  208. <li>
  209. <a href="#Simple+API">Simple API</a>
  210. </li>
  211. <li>
  212. <a href="#Implementation">Implementation</a>
  213. </li>
  214. <li>
  215. <a href="#Uses">Uses</a>
  216. </li>
  217. <li>
  218. <a href="#Performance">Performance</a>
  219. </li>
  220. <li>
  221. <a href="#Reliability">Reliability</a>
  222. </li>
  223. <li>
  224. <a href="#The+ZooKeeper+Project">The ZooKeeper Project</a>
  225. </li>
  226. </ul>
  227. </li>
  228. </ul>
  229. </div>
  230. <a name="N10009"></a><a name="ch_DesignOverview"></a>
  231. <h2 class="h3">ZooKeeper: A Distributed Coordination Service for Distributed
  232. Applications</h2>
  233. <div class="section">
  234. <p>ZooKeeper is a distributed, open-source coordination service for
  235. distributed applications. It exposes a simple set of primitives that
  236. distributed applications can build upon to implement higher level services
  237. for synchronization, configuration maintenance, and groups and naming. It
  238. is designed to be easy to program to, and uses a data model styled after
  239. the familiar directory tree structure of file systems. It runs in Java and
  240. has bindings for both Java and C.</p>
  241. <p>Coordination services are notoriously hard to get right. They are
  242. especially prone to errors such as race conditions and deadlock. The
  243. motivation behind ZooKeeper is to relieve distributed applications the
  244. responsibility of implementing coordination services from scratch.</p>
  245. <a name="N10015"></a><a name="sc_designGoals"></a>
  246. <h3 class="h4">Design Goals</h3>
  247. <p>
  248. <strong>ZooKeeper is simple.</strong> ZooKeeper
  249. allows distributed processes to coordinate with each other through a
  250. shared hierarchal namespace which is organized similarly to a standard
  251. file system. The name space consists of data registers - called znodes,
  252. in ZooKeeper parlance - and these are similar to files and directories.
  253. Unlike a typical file system, which is designed for storage, ZooKeeper
  254. data is kept in-memory, which means ZooKeeper can acheive high
  255. throughput and low latency numbers.</p>
  256. <p>The ZooKeeper implementation puts a premium on high performance,
  257. highly available, strictly ordered access. The performance aspects of
  258. ZooKeeper means it can be used in large, distributed systems. The
  259. reliability aspects keep it from being a single point of failure. The
  260. strict ordering means that sophisticated synchronization primitives can
  261. be implemented at the client.</p>
  262. <p>
  263. <strong>ZooKeeper is replicated.</strong> Like the
  264. distributed processes it coordinates, ZooKeeper itself is intended to be
  265. replicated over a sets of hosts called an ensemble.</p>
  266. <table class="ForrestTable" cellspacing="1" cellpadding="4">
  267. <tr>
  268. <td>ZooKeeper Service</td>
  269. </tr>
  270. <tr>
  271. <td>
  272. <img alt="" src="images/zkservice.jpg">
  273. </td>
  274. </tr>
  275. </table>
  276. <p>The servers that make up the ZooKeeper service must all know about
  277. each other. They maintain an in-memory image of state, along with a
  278. transaction logs and snapshots in a persistent store. As long as a
  279. majority of the servers are available, the ZooKeeper service will be
  280. available.</p>
  281. <p>Clients connect to a single ZooKeeper server. The client maintains
  282. a TCP connection through which it sends requests, gets responses, gets
  283. watch events, and sends heart beats. If the TCP connection to the server
  284. breaks, the client will connect to a different server.</p>
  285. <p>
  286. <strong>ZooKeeper is ordered.</strong> ZooKeeper
  287. stamps each update with a number that reflects the order of all
  288. ZooKeeper transactions. Subsequent operations can use the order to
  289. implement higher-level abstractions, such as synchronization
  290. primitives.</p>
  291. <p>
  292. <strong>ZooKeeper is fast.</strong> It is
  293. especially fast in "read-dominant" workloads. ZooKeeper applications run
  294. on thousands of machines, and it performs best where reads are more
  295. common than writes, at ratios of around 10:1.</p>
  296. <a name="N10045"></a><a name="sc_dataModelNameSpace"></a>
  297. <h3 class="h4">Data model and the hierarchical namespace</h3>
  298. <p>The name space provided by ZooKeeper is much like that of a
  299. standard file system. A name is a sequence of path elements separated by
  300. a slash (/). Every node in ZooKeeper's name space is identified by a
  301. path.</p>
  302. <table class="ForrestTable" cellspacing="1" cellpadding="4">
  303. <tr>
  304. <td>ZooKeeper's Hierarchical Namespace</td>
  305. </tr>
  306. <tr>
  307. <td>
  308. <img alt="" src="images/zknamespace.jpg">
  309. </td>
  310. </tr>
  311. </table>
  312. <a name="N1005B"></a><a name="Nodes+and+ephemeral+nodes"></a>
  313. <h3 class="h4">Nodes and ephemeral nodes</h3>
  314. <p>Unlike is standard file systems, each node in a ZooKeeper
  315. namespace can have data associated with it as well as children. It is
  316. like having a file-system that allows a file to also be a directory.
  317. (ZooKeeper was designed to store coordination data: status information,
  318. configuration, location information, etc., so the data stored at each
  319. node is usually small, in the byte to kilobyte range.) We use the term
  320. <em>znode</em> to make it clear that we are talking about
  321. ZooKeeper data nodes.</p>
  322. <p>Znodes maintain a stat structure that includes version numbers for
  323. data changes, ACL changes, and timestamps, to allow cache validations
  324. and coordinated updates. Each time a znode's data changes, the version
  325. number increases. For instance, whenever a client retrieves data it also
  326. receives the version of the data.</p>
  327. <p>The data stored at each znode in a namespace is read and written
  328. atomically. Reads get all the data bytes associated with a znode and a
  329. write replaces all the data. Each node has an Access Control List (ACL)
  330. that restricts who can do what.</p>
  331. <p>ZooKeeper also has the notion of ephemeral nodes. These znodes
  332. exists as long as the session that created the znode is active. When the
  333. session ends the znode is deleted. Ephemeral nodes are useful when you
  334. want to implement <em>[tbd]</em>.</p>
  335. <a name="N10074"></a><a name="Conditional+updates+and+watches"></a>
  336. <h3 class="h4">Conditional updates and watches</h3>
  337. <p>ZooKeeper supports the concept of <em>watches</em>.
  338. Clients can set a watch on a znodes. A watch will be triggered and
  339. removed when the znode changes. When a watch is triggered the client
  340. receives a packet saying that the znode has changed. And if the
  341. connection between the client and one of the Zoo Keeper servers is
  342. broken, the client will receive a local notification. These can be used
  343. to <em>[tbd]</em>.</p>
  344. <a name="N10084"></a><a name="Guarantees"></a>
  345. <h3 class="h4">Guarantees</h3>
  346. <p>ZooKeeper is very fast and very simple. Since its goal, though, is
  347. to be a basis for the construction of more complicated services, such as
  348. synchronization, it provides a set of guarantees. These are:</p>
  349. <ul>
  350. <li>
  351. <p>Sequential Consistency - Updates from a client will be applied
  352. in the order that they were sent.</p>
  353. </li>
  354. <li>
  355. <p>Atomicity - Updates either succeed or fail. No partial
  356. results.</p>
  357. </li>
  358. <li>
  359. <p>Single System Image - A client will see the same view of the
  360. service regardless of the server that it connects to.</p>
  361. </li>
  362. </ul>
  363. <ul>
  364. <li>
  365. <p>Reliability - Once an update has been applied, it will persist
  366. from that time forward until a client overwrites the update.</p>
  367. </li>
  368. </ul>
  369. <ul>
  370. <li>
  371. <p>Timeliness - The clients view of the system is guaranteed to
  372. be up-to-date within a certain time bound.</p>
  373. </li>
  374. </ul>
  375. <p>For more information on these, and how they can be used, see
  376. <em>[tbd]</em>
  377. </p>
  378. <a name="N100BA"></a><a name="Simple+API"></a>
  379. <h3 class="h4">Simple API</h3>
  380. <p>One of the design goals of ZooKeeper is provide a very simple
  381. programming interface. As a result, it supports only these
  382. operations:</p>
  383. <dl>
  384. <dt>
  385. <term>create</term>
  386. </dt>
  387. <dd>
  388. <p>creates a node at a location in the tree</p>
  389. </dd>
  390. <dt>
  391. <term>delete</term>
  392. </dt>
  393. <dd>
  394. <p>deletes a node</p>
  395. </dd>
  396. <dt>
  397. <term>exists</term>
  398. </dt>
  399. <dd>
  400. <p>tests if a node exists at a location</p>
  401. </dd>
  402. <dt>
  403. <term>get data</term>
  404. </dt>
  405. <dd>
  406. <p>reads the data from a node</p>
  407. </dd>
  408. <dt>
  409. <term>set data</term>
  410. </dt>
  411. <dd>
  412. <p>writes data to a node</p>
  413. </dd>
  414. <dt>
  415. <term>get children</term>
  416. </dt>
  417. <dd>
  418. <p>retrieves a list of children of a node</p>
  419. </dd>
  420. <dt>
  421. <term>sync</term>
  422. </dt>
  423. <dd>
  424. <p>waits for data to be propagated</p>
  425. </dd>
  426. </dl>
  427. <p>For a more in-depth discussion on these, and how they can be used
  428. to implement higher level operations, please refer to
  429. <em>[tbd]</em>
  430. </p>
  431. <a name="N100FD"></a><a name="Implementation"></a>
  432. <h3 class="h4">Implementation</h3>
  433. <p>
  434. <a href="#fg_zkComponents">ZooKeeper Components</a> shows the high-level components
  435. of the ZooKeeper service. With the exception of the request processor,
  436. each of
  437. the servers that make up the ZooKeeper service replicates its own copy
  438. of each of components.</p>
  439. <table class="ForrestTable" cellspacing="1" cellpadding="4">
  440. <tr>
  441. <td>ZooKeeper Components</td>
  442. </tr>
  443. <tr>
  444. <td>
  445. <img alt="" src="images/zkcomponents.jpg">
  446. </td>
  447. </tr>
  448. </table>
  449. <p>The replicated database is an in-memory database containing the
  450. entire data tree. Updates are logged to disk for recoverability, and
  451. writes are serialized to disk before they are applied to the in-memory
  452. database.</p>
  453. <p>Every ZooKeeper server services clients. Clients connect to
  454. exactly one server to submit irequests. Read requests are serviced from
  455. the local replica of each server database. Requests that change the
  456. state of the service, write requests, are processed by an agreement
  457. protocol.</p>
  458. <p>As part of the agreement protocol all write requests from clients
  459. are forwarded to a single server, called the
  460. <em>leader</em>. The rest of the ZooKeeper servers, called
  461. <em>followers</em>, receive message proposals from the
  462. leader and agree upon message delivery. The messaging layer takes care
  463. of replacing leaders on failures and syncing followers with
  464. leaders.</p>
  465. <p>ZooKeeper uses a custom atomic messaging protocol. Since the
  466. messaging layer is atomic, ZooKeeper can guarantee that the local
  467. replicas never diverge. When the leader receives a write request, it
  468. calculates what the state of the system is when the write is to be
  469. applied and transforms this into a transaction that captures this new
  470. state.</p>
  471. <a name="N10128"></a><a name="Uses"></a>
  472. <h3 class="h4">Uses</h3>
  473. <p>The programming interface to ZooKeeper is deliberately simple.
  474. With it, however, you can implement higher order operations, such as
  475. synchronizations primitives, group membership, ownership, etc. Some
  476. distributed applications have used it to: <em>[tbd: add uses from
  477. white paper and video presentation.]</em> For more information, see
  478. <em>[tbd]</em>
  479. </p>
  480. <a name="N10137"></a><a name="Performance"></a>
  481. <h3 class="h4">Performance</h3>
  482. <p>ZooKeeper is designed to be highly performant. But is it? The
  483. results of the ZooKeeper's development team at Yahoo! Research indicate
  484. that it is. (See <a href="#fg_zkPerfRW">ZooKeeper Throughput as the Read-Write Ratio Varies</a>.) It is especially high
  485. performance in applications where reads outnumber writes, since writes
  486. involve synchronizing the state of all servers. (Reads outnumbering
  487. writes is typically the case for a coordination service.)</p>
  488. <table class="ForrestTable" cellspacing="1" cellpadding="4">
  489. <tr>
  490. <td>ZooKeeper Throughput as the Read-Write Ratio Varies</td>
  491. </tr>
  492. <tr>
  493. <td>
  494. <img alt="" src="images/zkperfRW.jpg">
  495. </td>
  496. </tr>
  497. </table>
  498. <p>Benchmarks also indicate that it is reliable, too. <a href="#fg_zkPerfReliability">Reliability in the Presence of Errors</a> shows how a deployment responds to
  499. various failures. The events marked in the figure are the
  500. following:</p>
  501. <ol>
  502. <li>
  503. <p>Failure and recovery of a follower</p>
  504. </li>
  505. <li>
  506. <p>Failure and recovery of a different follower</p>
  507. </li>
  508. <li>
  509. <p>Failure of the leader</p>
  510. </li>
  511. <li>
  512. <p>Failure and recovery of two followers</p>
  513. </li>
  514. <li>
  515. <p>Failure of another leader</p>
  516. </li>
  517. </ol>
  518. <a name="N10179"></a><a name="Reliability"></a>
  519. <h3 class="h4">Reliability</h3>
  520. <p>To show the behavior of the system over time as
  521. failures are injected we ran a ZooKeeper service made up of
  522. 7 machines. We ran the same saturation benchmark as before,
  523. but this time we kept the write percentage at a constant
  524. 30%, which is a conservative ratio of our expected
  525. workloads.
  526. </p>
  527. <table class="ForrestTable" cellspacing="1" cellpadding="4">
  528. <tr>
  529. <td>Reliability in the Presence of Errors</td>
  530. </tr>
  531. <tr>
  532. <td>
  533. <img alt="" src="images/zkperfreliability.jpg">
  534. </td>
  535. </tr>
  536. </table>
  537. <p>The are a few important observations from this graph. First, if
  538. followers fail and recover quickly, then ZooKeeper is able to sustain a
  539. high throughput despite the failure. But maybe more importantly, the
  540. leader election algorithm allows for the system to recover fast enough
  541. to prevent throughput from dropping substantially. In our observations,
  542. ZooKeeper takes less than 200ms to elect a new leader. Third, as
  543. followers recover, ZooKeeper is able to raise throughput again once they
  544. start processing requests.</p>
  545. <a name="N10192"></a><a name="The+ZooKeeper+Project"></a>
  546. <h3 class="h4">The ZooKeeper Project</h3>
  547. <p>ZooKeeper has been
  548. <a href="http://wiki.apache.org/hadoop/ZooKeeper/PoweredBy">
  549. successfully used
  550. </a>
  551. in many industrial applications. It is used at Yahoo! as the
  552. coordination and failure recovery service for Yahoo! Message
  553. Broker, which is a highly scalable publish-subscribe system
  554. managing thousands of topics for replication and data
  555. delivery. It is used by the Fetching Service for Yahoo!
  556. crawler, where it also manages failure recovery. A number of
  557. Yahoo! advertising systems also use ZooKeeper to implement
  558. reliable services.
  559. </p>
  560. <p>All users and developers are encouraged to join the
  561. community and contribute their expertise. See the
  562. <a href="http://hadoop.apache.org/zookeeper/">
  563. Zookeeper Project on Apache
  564. </a>
  565. for more information.
  566. </p>
  567. </div>
  568. <p align="right">
  569. <font size="-2"></font>
  570. </p>
  571. </div>
  572. <!--+
  573. |end content
  574. +-->
  575. <div class="clearboth">&nbsp;</div>
  576. </div>
  577. <div id="footer">
  578. <!--+
  579. |start bottomstrip
  580. +-->
  581. <div class="lastmodified">
  582. <script type="text/javascript"><!--
  583. document.write("Last Published: " + document.lastModified);
  584. // --></script>
  585. </div>
  586. <div class="copyright">
  587. Copyright &copy;
  588. 2008 <a href="http://www.apache.org/licenses/">The Apache Software Foundation.</a>
  589. </div>
  590. <!--+
  591. |end bottomstrip
  592. +-->
  593. </div>
  594. </body>
  595. </html>