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 563E3200D42 for ; Fri, 17 Nov 2017 14:49:54 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 54D9B160BFB; Fri, 17 Nov 2017 13:49:54 +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 9AB39160BF8 for ; Fri, 17 Nov 2017 14:49:53 +0100 (CET) Received: (qmail 79807 invoked by uid 500); 17 Nov 2017 13:49:52 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 79797 invoked by uid 99); 17 Nov 2017 13:49:52 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Nov 2017 13:49:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id DF840C6862 for ; Fri, 17 Nov 2017 13:49:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.172 X-Spam-Level: ** X-Spam-Status: No, score=2.172 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 8IRIZaFgDmU7 for ; Fri, 17 Nov 2017 13:49:49 +0000 (UTC) Received: from n6.nabble.com (n6.nabble.com [162.255.23.37]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 729DA5F2AD for ; Fri, 17 Nov 2017 13:49:49 +0000 (UTC) Received: from n6.nabble.com (localhost [127.0.0.1]) by n6.nabble.com (Postfix) with ESMTP id D9C422EB2A48 for ; Fri, 17 Nov 2017 06:49:43 -0700 (MST) Date: Fri, 17 Nov 2017 06:49:43 -0700 (MST) From: Mikhail To: user@ignite.apache.org Message-ID: <1510926583870-0.post@n6.nabble.com> In-Reply-To: <1510889277597-0.post@n6.nabble.com> References: <1510847242182-0.post@n6.nabble.com> <1510854019824-0.post@n6.nabble.com> <1510889277597-0.post@n6.nabble.com> Subject: Re: JDBC Client MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Fri, 17 Nov 2017 13:49:54 -0000 Hi again, >1. If use thick driver, can we use JDBC connection pooling? no, you should not use connection pools in this case. ignite client which is used by the thick driver is concurrent save and can be used by multiple threads and communicate with any server from the cluster. >2. How/What is the process to backup the data in Apache Ignite? what do you mean by backups? you can set backups number to cache configuration and cluster will store extra copies of you data, so you will be protected from node failure https://apacheignite.readme.io/docs/primary-and-backup-copies to protect your data from cluster failure you can use disk persistance: https://apacheignite.readme.io/docs/distributed-persistent-store there's 3rd party commercial solution for creating snapshots which can be saved on some ntf dir. Also, you propagate data from a cluster to other databases: https://apacheignite.readme.io/docs/3rd-party-store >3. Let's say initially I start Apache Ignite with only one node (cache mode >= replicated, native persistence is turned on). And start populate data into >the cache/table. Now my server node has few millions data. Then I started >another new node in another machine. The data will automatically replicated >to this new node. What will happen if I have a client that connect to this >new node and the replication of data is not yet finish? if you configure the only second server in client's discovery configuration, then the client will connect to the second server, but the client can communicate directly with all server in your cluster, so even if there's still no data on the second server, the client can read data from the first server. ignite is the strongly consistent system, your client will read data from the first server and only when all data are copied to the second server, the client will be able to read them from the second server. The real mechanism is more complicate because ignite will split data by partitions and move partitions to a new server and when a partition is migrated ignite will allow it to be read by client, but any way client always can read only consistent data, there's no way that client can read only the half of data and miss another. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/