Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3EB78200D20 for ; Tue, 17 Oct 2017 11:53:26 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3D3251609EB; Tue, 17 Oct 2017 09:53:26 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 83C2F1609DE for ; Tue, 17 Oct 2017 11:53:25 +0200 (CEST) Received: (qmail 32983 invoked by uid 500); 17 Oct 2017 09:53:24 -0000 Mailing-List: contact dev-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list dev@flink.apache.org Received: (qmail 32967 invoked by uid 99); 17 Oct 2017 09:53:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Oct 2017 09:53:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 6D4DB180781 for ; Tue, 17 Oct 2017 09:53:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.379 X-Spam-Level: *** X-Spam-Status: No, score=3.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_LIVE=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id sysOzVtPsQRx for ; Tue, 17 Oct 2017 09:53:22 +0000 (UTC) Received: from mail-lf0-f54.google.com (mail-lf0-f54.google.com [209.85.215.54]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id A82695FCC4 for ; Tue, 17 Oct 2017 09:53:21 +0000 (UTC) Received: by mail-lf0-f54.google.com with SMTP id l23so1281812lfk.10 for ; Tue, 17 Oct 2017 02:53:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=e6vDkjaCzi/7VxQwM/EXUt2OUIPPMFxACmzebfqgP9g=; b=QSHpsBth/e3my6Mh15B48lNTkBcU6GWw1d8Rf+sQyibkpdhGkgp65w/I64irDwBffP 62L0lBPk5qpn7JhJTW0Epimluy+bYhHzNoSeBDFN/LhsJRh/nbCNT5AUNk3fRGBqmQZv S9xT65thVpJtBtCa4aG9Asi4EzJU5RmHrN1hc429Pb3J13XT7XNTksL2ssXTZBB8yukW kUheqbZ+j+XA6HEVKUanHqWo+inWxu+fYJmPByCe1I88FKL7qsOenbtn71fc+4YyZ30h +tTS4/S6wRgFIGjqJSxawPRbm9JwlKDYKWxw2CAdNUXaGJdEksdtLzQr2M9uDRCaeZfh /OYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=e6vDkjaCzi/7VxQwM/EXUt2OUIPPMFxACmzebfqgP9g=; b=M7rhNPiP5vJNH4GJbR8dbMN2fvEb/q0pGwkk1ViYWXBcLqIHJa2MjtaaneXdPPkWfC f426X9y1XUI2i8eDCYUlFaqHsd8jVjROhQvs26/6Zh/9Qat8twtyWbfMEfNgvvVaAxTT yOIVLHI7kF705CsrgmMFPlW2Z7xssTmmyC5SHCi1o24Dyy3Ehl9XnXFId83j2Upc1NVH g8QGBakSS4gu8RWihdwTRwJDbjpaFkG0v0fzkGUyX1Ry8wi2WvRRGIkg07wUvUrWPNYI BtfMlDjpTSwvtmV90INUa8PDpCq7uF3Xc7ywwJCWmVBjmvExEhUd1oksk74KBBZathB9 /pBg== X-Gm-Message-State: AMCzsaV7rRcx8mJaZLteFsY+9BQPdkenwqMLuue3YgAaYh7tw7fC/BLR qcwBHueuwi9eggs4QcQENUL7vdsQHPsKSY5nTdva7w== X-Google-Smtp-Source: ABhQp+Tp5MomESdD5KH6DRLUZ3XkfpkrwyJxKQoYe/uJBdPIXlO9hsfXnUwXnIQxDFdZQRYfOOyP+huKpBiVyhKeDrU= X-Received: by 10.25.217.66 with SMTP id q63mr4197501lfg.176.1508234000830; Tue, 17 Oct 2017 02:53:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.217.24 with HTTP; Tue, 17 Oct 2017 02:53:20 -0700 (PDT) From: Srinath Perera Date: Tue, 17 Oct 2017 15:23:20 +0530 Message-ID: Subject: Minimal HA Setup for Apache Flink To: dev@flink.apache.org Content-Type: multipart/alternative; boundary="94eb2c184b14db95d8055bbb171c" archived-at: Tue, 17 Oct 2017 09:53:26 -0000 --94eb2c184b14db95d8055bbb171c Content-Type: text/plain; charset="UTF-8" Hi All, I am trying to write an article comparing minimal HA(Highly available) deployments of different streaming processing systems. Basically, the question is if an organization has a limited workload, such as 10k events per second, which might grow in the future, what is the minimal setup they can use to run a highly available Stream Processor? Could someone help answer following questions? 1. How many nodes minimal Apache Flink HA setup needs? As I understood from [2], it is zookeeper nodes + 2 job managers without YARN and 1 job manager with YARN + worker nodes? Is this correct? 2. As per [1], Zookeeper needs minimal 3 nodes to provide HA. Is there a way to run Apache Flink without HA? 3. If someone runs Apache Flink without HA, but use state snapshots, how fast it can recover after a failure? ( ballpark figure) Thanks Srinath 1. https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/HDFSHighAvailabilityWithNFS.html#Deploying_ZooKeeper 2. https://ci.apache.org/projects/flink/flink-docs-release-1.3/setup/jobmanager_high_availability.html#standalone-cluster-high-availability -- ============================ Srinath Perera, Ph.D. http://people.apache.org/~hemapani/ http://srinathsview.blogspot.com/ --94eb2c184b14db95d8055bbb171c--