From dev-return-48629-archive-asf-public=cust-asf.ponee.io@couchdb.apache.org Tue Jul 9 06:57:02 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 [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id B083E18062B for ; Tue, 9 Jul 2019 08:57:01 +0200 (CEST) Received: (qmail 50384 invoked by uid 500); 9 Jul 2019 06:57:00 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 50361 invoked by uid 99); 9 Jul 2019 06:57:00 -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; Tue, 09 Jul 2019 06:57:00 +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 9303FC0233 for ; Tue, 9 Jul 2019 06:56:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.09 X-Spam-Level: ** X-Spam-Status: No, score=2.09 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, KAM_INFOUSMEBIZ=0.75, KAM_SHORT=0.001, PDS_NO_HELO_DNS=1.327, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=b2w-com.20150623.gappssmtp.com Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 4fVvzKmL7HhR for ; Tue, 9 Jul 2019 06:56:56 +0000 (UTC) Received-SPF: Permerror (mailfrom) identity=mailfrom; client-ip=209.85.167.50; helo=mail-lf1-f50.google.com; envelope-from=johs@b2w.com; receiver= Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id E1673BC770 for ; Tue, 9 Jul 2019 06:56:55 +0000 (UTC) Received: by mail-lf1-f50.google.com with SMTP id v85so9678267lfa.6 for ; Mon, 08 Jul 2019 23:56:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=b2w-com.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=rwvNge7fpmtHABrZMe8v/SM3Qu/Z6tGLcL0TUZBSdzY=; b=hvT0MAmG3b5oYCzZ96Y/3XeSlduldoJw/AO7OtJ3Q1nm8/m0XR12igZWHzTNdtKrAQ rydhMT6JP5slQLwNQTdbcaaRetMgC42TsKaI86Yck5u4GhWzt4r22vdrIFnYxwZQrsCh 2FJPo9Rr8LF7Igz/lLSI0A9bBmvue/uxeqiOeV9sonZSBiBkB7dPuPZJEY4npEcu7DWX cbStZJS9tEa3GzZsKj9q856li/m0u/YfYSnf1RF8wmtW9mrFkdZI0APjo8QkqoNQpHJs LOiUR3wKeq1rdTYEI/vnQQTLST6NX0hj20Nq/zYPLUpaY+cl9pptvjv/SSOWmGujk9LJ e/4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=rwvNge7fpmtHABrZMe8v/SM3Qu/Z6tGLcL0TUZBSdzY=; b=GaUZqoNaRvRy0ZaVUfixwJdp/mM0DlfqcmlKIRnQwBl+iMrHWtK/88xjTSlfgd/mg7 j9aQwv1IXqgvW6AOnX/O8YLVGM+5TwE0I0gV+hVmt+3Ggthhsttk2JveecOqDk+b8syZ HB7zdri4NlHoBAghZXUiyr/Ky3/h5Fw7O3FhRwDJHz3psx5CRJctHy3xSmW7isGi/O7r /w+ubUVUWyhzFYypmrm7pOw9A64G2wPJ7UtrXaV0T51u6Fxss6wlcSWJYREEw2mc8fvb KOoxszLkhRNQa3xQidyl06TBcyu4yzRUUG/HPle8efVcR0X+krYWV3eshCqdA7xuqfgt MlwQ== X-Gm-Message-State: APjAAAXzZuzor01585d3TCcrAT+Kzq9iK84Jj3U+MmO6Tn7urXUWeJbZ mazQlVsH8yE3c+IBugV+/cJ5HuUHoB4= X-Google-Smtp-Source: APXvYqx3irFg+TwLYxEKLjCGYTFxeCVgrp1qJSRSDCtWQz0winogd5eif5mDNH9j7ZNnmC8x/ni63g== X-Received: by 2002:ac2:4243:: with SMTP id m3mr10794567lfl.9.1562655414151; Mon, 08 Jul 2019 23:56:54 -0700 (PDT) Received: from ?IPv6:2a02:a18:9141:1d01:c0c0:942e:7ac2:8326? ([2a02:a18:9141:1d01:c0c0:942e:7ac2:8326]) by smtp.gmail.com with ESMTPSA id e13sm4153167ljg.102.2019.07.08.23.56.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Jul 2019 23:56:53 -0700 (PDT) From: Johs Ensby Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: CouchDB and future Date: Tue, 9 Jul 2019 08:56:51 +0200 References: <23525b22-b5c4-61c4-5e0f-da628aa1d2c4@rebhu.com> <7867734d-0404-6bb9-829d-ccf0ecdf175c@rebhu.com> <75714e71-1daf-aed4-3e72-9c5b1461e08d@rebhu.com> <1f03ccd9-1e79-5594-352c-a698dc2bdb61@rebhu.com> <29bd5e87-ff8a-9aae-515b-8aa479ee778e@rebhu.com> <33085D81-CE2B-4C0E-A456-0DB77EF55FBA@apache.org> To: "dev@couchdb.apache.org Developers" In-Reply-To: Message-Id: <984D8D33-FE6B-4121-B7CF-F64360C8E8D1@b2w.com> X-Mailer: Apple Mail (2.3445.104.8) Chintan, > On 9 Jul 2019, at 05:50, Chintan Mishra wrote: >=20 >> CouchDB 1.x is no longer supported, even for security updates. > Johs had some interesting points regarding 1.x and their stability. = Would you mind sharing those? CouchDB 1.x can run uninterrupted for years. We used it to create quite = complex web sites like this https://www.goltens.com This particular site = has been managed (tech and content) by one guy spending a few hours = every second week or so. The client, being a multinational company with = most of its business coming through this site got nervous about their = site being hosted on an unknown platform and managed by one guy, and = commissioned a fullservice comms agency to move it to WordPress. They = have been trying for 6 months now, and are still not ready. I'm not into IoT (yet) but working with a project in developing = countries that could need a large number of local web servers with = replication over mobile and service small rural centers with content and = applications to smartphones/tablets over WiFi. CouchDB 1.x will do fine. = CouchDB/PouchDB is good for data collection in areas with poor = connectivity and there were some interesting early use cases, but = projects like https://www.kobotoolbox.org/ and = https://five.epicollect.net/ have filled this niche. My love for CouchDB 1.x is mainly related to feature stability as a = single-tier platform. - Build-in web server - Rewrite/vhost for easy configuration of several access points to the = same data (Rewrite as a JS function was a big step forward for creating = advanced routers/API servres, and is patched into 1.x here = https://github.com/b2w/couchdb/blob/Rewrite-function/README.rst) - Map/Reduce indexing - the data on disk as one single file, just copy it, move it, back-up, = drop it at another server - and single-node master-to-master replication is as simple as you can = get data sharing, backup, staging sites, etc. automated or by manual = one-click operations - direct-to-design-document deployment (robust IDE for this here: = http://ddoc.me/) Futon is very functional, but a bit primitive as admin panel. Photon is = available as a stronger tool (better than Fauxton) = https://github.com/ermouth/couch-photon Ddoc Lab and Photon (both by ermouth) are examples of apps that you can = drop into any CouchDB bucket as single design documents. As such these are excellent examples of how community-generated tools of = great value could evolve arount CouchDB and extend the core project.=20 Your input was a flash of light when it comes to market orientation. The big platforms (AWS/Google/Azure) offer more and more = developer-friendly solutions, but their lock-in disadvantage is a huge = risk, and IoT and distributed systems is what the world needs for = recillience. A leaner version of CouchDB would have a very large potential. Johs