From commits-return-25532-archive-asf-public=cust-asf.ponee.io@pulsar.apache.org Thu Mar 28 01:14:06 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id B29FD180782 for ; Thu, 28 Mar 2019 02:14:04 +0100 (CET) Received: (qmail 32517 invoked by uid 500); 28 Mar 2019 01:14:03 -0000 Mailing-List: contact commits-help@pulsar.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pulsar.apache.org Delivered-To: mailing list commits@pulsar.apache.org Received: (qmail 32389 invoked by uid 99); 28 Mar 2019 01:14:03 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Mar 2019 01:14:03 +0000 From: GitBox To: commits@pulsar.apache.org Subject: [GitHub] [pulsar] Jennifer88huang commented on a change in pull request #3844: [Doc]Fix typo and language issues in the faq.md file Message-ID: <155373564288.6664.13052005673622242623.gitbox@gitbox.apache.org> Date: Thu, 28 Mar 2019 01:14:02 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Jennifer88huang commented on a change in pull request #3844: [Doc]Fix typo and language issues in the faq.md file URL: https://github.com/apache/pulsar/pull/3844#discussion_r269826375 ########## File path: faq.md ########## @@ -2,108 +2,107 @@ - Getting Started - Concepts and Design - Usage and Configuration +- Advanced Questions --- ## Getting Started ### What is the minimum requirements for Apache Pulsar ? -You need 3 kind of clusters: bookie, broker, zookeeper. But if not have enough resource, it's ok to run them on same machine. - +You need three kinds of nodes: bookie, broker, and zookeeper. If you do not have enough resources, you can also run the three clusters on the same machine. --- - ## Concepts and Design ### Is ack tied to subscription? Yes, ack is tied to a particular subscription. -### Where should I look into to tweak load balancing ? -There are few parameters to look at : -1. The topic assignments to brokers are done in terms of “bundles”, that is in group of topic -2. Topics are matched to bundles by hashing on the name -3. Effectively, a bundle is a hash-range where topics falls into -4. Initially the default is to have 4 “bundles” for a namespace -5. When the traffic increases on a given bundle, it will be split in 2 and reassigned to a different broker -6. There are some adjustable thresholds that can be used to control when the split happens, based on number of topics/partitions, messages in/out, bytes in/out, etc.. -7. It’s also possible to specify a higher number of bundles when creating a namepsac -8. There are the load-manager threshold that control when a broker should offload some of the bundles to other brokers +### Where do I look into to tweak load balancing ? +There are a few parameters to look at : +1. The topic assignments to brokers are done in terms of “bundles”, that is in group of topic. +2. Topics are matched to bundles by hashing on the name. +3. A bundle is a hash-range where topics fall into. Review comment: ```suggestion 3. A bundle is a hash-range into which topics fall. ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services